Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001853, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002259/0.002259, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.93e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005628/0.005668, allocations: 2.825 MB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.009688, allocations: 1.343 MB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.01, allocations: 4 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.01064, allocations: 147.1 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007671/0.01141, allocations: 218.6 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.01185, allocations: 143.4 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008154/0.01267, allocations: 473.6 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.01288, allocations: 76.31 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.01338, allocations: 251.3 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.01373, allocations: 147.6 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.571e-05/0.01381, allocations: 28 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.01401, allocations: 63.92 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.01415, allocations: 79.69 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.01439, allocations: 131.6 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007246/0.01512, allocations: 450.4 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01512, allocations: 0 / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01512, allocations: 0 / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.01514, allocations: 0 / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001382/0.01652, allocations: 0.615 MB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.01656, allocations: 11.98 kB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.01672, allocations: 68.66 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.01725, allocations: 261.6 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.01729, allocations: 28.81 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/0.01737, allocations: 28.38 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/0.01812, allocations: 0.5215 MB / 280 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.01814, allocations: 192 / 280 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.01818, allocations: 12.38 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.01819, allocations: 11.94 kB / 280.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.01856, allocations: 173.9 kB / 280.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.01999, allocations: 0.7077 MB / 280.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.02062, allocations: 248.5 kB / 281.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.02083, allocations: 93.94 kB / 281.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.02086, allocations: 4.281 kB / 281.3 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004241/0.02129, allocations: 272.6 kB / 281.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.684e-06/0.02129, allocations: 0 / 281.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002605/0.02389, allocations: 1.121 MB / 282.7 MB, free: 7.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.02403, allocations: 187.9 kB / 282.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000667/0.0247, allocations: 340.5 kB / 283.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.02474, allocations: 33.7 kB / 283.2 MB, free: 6.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.02492, allocations: 188.7 kB / 283.4 MB, free: 6.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.02506, allocations: 142.8 kB / 283.5 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.0252, allocations: 74.19 kB / 283.6 MB, free: 6.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.02541, allocations: 350.8 kB / 284 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.02561, allocations: 92.95 kB / 284 MB, free: 5.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.02599, allocations: 310.4 kB / 284.3 MB, free: 5.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.02646, allocations: 250.1 kB / 284.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02646, allocations: 0 / 284.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006947/0.02716, allocations: 370.6 kB / 285 MB, free: 4.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.02717, allocations: 12 kB / 285 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.02718, allocations: 0 / 285 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.02728, allocations: 20.8 kB / 285 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.02766, allocations: 95.83 kB / 285.1 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.02904, allocations: 1.256 MB / 286.3 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.02927, allocations: 20.14 kB / 286.4 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.0293, allocations: 16 kB / 286.4 MB, free: 3.055 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.02953, allocations: 161.8 kB / 286.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.02963, allocations: 63.62 kB / 286.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/0.03035, allocations: 334.1 kB / 286.9 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.03036, allocations: 4 kB / 286.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.03036, allocations: 0 / 286.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008188/0.03118, allocations: 0.6646 MB / 287.6 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.03255, allocations: 0.7435 MB / 288.3 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.03256, allocations: 4 kB / 288.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.03292, allocations: 71.91 kB / 288.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.03293, allocations: 4 kB / 288.4 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.03296, allocations: 16.06 kB / 288.4 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.03296, allocations: 3.984 kB / 288.4 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.03297, allocations: 7.938 kB / 288.4 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000975/0.03395, allocations: 0.5658 MB / 289 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.0341, allocations: 59.78 kB / 289.1 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.03416, allocations: 12 kB / 289.1 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.0344, allocations: 15.95 kB / 289.1 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.03448, allocations: 35.88 kB / 289.1 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.03451, allocations: 12 kB / 289.1 MB, free: 88 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003137/0.03483, allocations: 239.1 kB / 289.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03483, allocations: 0 / 289.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004559/0.03528, allocations: 95.98 kB / 289.5 MB, free: 15.76 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002018/0.0373, allocations: 452.6 kB / 289.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.03832, allocations: 355.5 kB / 290.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.03832, allocations: 0 / 290.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.03861, allocations: 131.6 kB / 290.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.03926, allocations: 103.1 kB / 290.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.04117, allocations: 0.9242 MB / 291.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.04149, allocations: 195.7 kB / 291.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.0418, allocations: 51.23 kB / 291.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.04194, allocations: 36.5 kB / 291.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.04194, allocations: 0 / 291.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of Templates: time 0.01792/0.05987, allocations: 5.537 MB / 297.2 MB, free: 8.184 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.644941576989368]