Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008334, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006019/0.006019, allocations: 143.4 kB / 24.68 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8456/0.8456, allocations: 173.4 MB / 201.2 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.503e-05, allocations: 2.281 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002191/0.002216, allocations: 1.756 MB / 321.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.005695, allocations: 3.288 MB / 324.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.005814, allocations: 11.81 kB / 324.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.006175, allocations: 139.3 kB / 324.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.006246, allocations: 39.59 kB / 324.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.008939, allocations: 1.858 MB / 326.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.009227, allocations: 323 kB / 327.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.009339, allocations: 24.91 kB / 327.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.009477, allocations: 151.7 kB / 327.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.00957, allocations: 79.72 kB / 327.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.009592, allocations: 12 kB / 327.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.009945, allocations: 175.6 kB / 327.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.01003, allocations: 71.69 kB / 327.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.01009, allocations: 63.77 kB / 327.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.0104, allocations: 354.9 kB / 328 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01041, allocations: 0 / 328 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01041, allocations: 0 / 328 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.01041, allocations: 0 / 328 MB, free: 13.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005943/0.01101, allocations: 0.5162 MB / 328.5 MB, free: 13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.01104, allocations: 12.92 kB / 328.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.0111, allocations: 32.73 kB / 328.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.01139, allocations: 221.8 kB / 328.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.01141, allocations: 12.31 kB / 328.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.01144, allocations: 19.98 kB / 328.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.01172, allocations: 433.5 kB / 329.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.01173, allocations: 0 / 329.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.01174, allocations: 7.938 kB / 329.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.01175, allocations: 0 / 329.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.01188, allocations: 95.81 kB / 329.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.01237, allocations: 412.3 kB / 329.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.01256, allocations: 162.4 kB / 329.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.01263, allocations: 56.83 kB / 329.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.01264, allocations: 4 kB / 329.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.01267, allocations: 34.56 kB / 330 MB, free: 11.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.01267, allocations: 0 / 330 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003141/0.01298, allocations: 225.4 kB / 330.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.01307, allocations: 290.7 kB / 330.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.01325, allocations: 284.5 kB / 330.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01326, allocations: 29.7 kB / 330.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.01334, allocations: 156.5 kB / 330.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.01337, allocations: 51.55 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.01343, allocations: 61.8 kB / 331 MB, free: 10.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.01352, allocations: 346.7 kB / 331.4 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.01363, allocations: 99.94 kB / 331.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.01383, allocations: 403.8 kB / 331.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.01403, allocations: 213.5 kB / 332.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01404, allocations: 8 kB / 332.1 MB, free: 9.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002783/0.01431, allocations: 305.4 kB / 332.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01433, allocations: 4 kB / 332.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.01435, allocations: 4 kB / 332.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01436, allocations: 0 / 332.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.01451, allocations: 51.91 kB / 332.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01451, allocations: 3.984 kB / 332.5 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.01457, allocations: 31.72 kB / 332.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01459, allocations: 8 kB / 332.5 MB, free: 8.633 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.943e-05/0.01468, allocations: 146.5 kB / 332.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.01471, allocations: 27.84 kB / 332.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.01474, allocations: 25.92 kB / 332.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01475, allocations: 0 / 332.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01475, allocations: 3.938 kB / 332.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01475, allocations: 3.984 kB / 332.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.01491, allocations: 205.1 kB / 332.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01492, allocations: 4 kB / 332.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.01502, allocations: 19.98 kB / 332.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01503, allocations: 8 kB / 332.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01504, allocations: 4.094 kB / 332.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01504, allocations: 7.938 kB / 332.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01504, allocations: 0 / 332.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.01534, allocations: 338.6 kB / 333.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.01537, allocations: 31.75 kB / 333.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.01539, allocations: 4 kB / 333.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.01545, allocations: 12.05 kB / 333.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.01548, allocations: 7.984 kB / 333.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.01549, allocations: 4 kB / 333.3 MB, free: 7.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.0156, allocations: 203.1 kB / 333.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0156, allocations: 0 / 333.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.01584, allocations: 71.88 kB / 333.6 MB, free: 7.477 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/0.01604, allocations: 155 kB / 333.8 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.01633, allocations: 261.4 kB / 334 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01633, allocations: 4 kB / 334 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.01639, allocations: 59.91 kB / 334.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.01668, allocations: 82.77 kB / 334.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.0175, allocations: 0.5437 MB / 334.7 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.01761, allocations: 161.8 kB / 334.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.01765, allocations: 28.5 kB / 334.9 MB, free: 6.121 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01765, allocations: 0 / 334.9 MB, free: 6.121 MB / 298.7 MB Notification: Performance of Templates: time 0.003939/0.02159, allocations: 4.062 MB / 338.9 MB, free: 2.066 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.652363857254386]