Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001613/0.001613, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001073/0.001073, allocations: 146.4 kB / 24.89 MB, free: 8.742 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.9476/0.9476, allocations: 173.4 MB / 201.5 MB, free: 8.281 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.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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 268.4 MB, free: 9.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.275e-05, allocations: 2.312 kB / 268.5 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003185/0.003208, allocations: 2.984 MB / 271.4 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.004837, allocations: 1.265 MB / 272.7 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.004965, allocations: 11.88 kB / 272.7 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.00538, allocations: 136.6 kB / 272.8 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.005738, allocations: 188.5 kB / 273 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.00606, allocations: 171.9 kB / 273.2 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.006442, allocations: 453.3 kB / 273.6 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.006573, allocations: 74.58 kB / 273.7 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.006816, allocations: 252.1 kB / 274 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.007001, allocations: 145.2 kB / 274.1 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.007036, allocations: 28 kB / 274.1 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.91e-05/0.007125, allocations: 59.98 kB / 274.2 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.007199, allocations: 83.67 kB / 274.3 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.007291, allocations: 115.7 kB / 274.4 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.007603, allocations: 327.2 kB / 274.7 MB, free: 3.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007607, allocations: 4 kB / 274.7 MB, free: 3.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007608, allocations: 0 / 274.7 MB, free: 3.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.007613, allocations: 0 / 274.7 MB, free: 3.578 MB / 250.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.0006007/0.008213, allocations: 0.5823 MB / 275.3 MB, free: 2.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.008244, allocations: 8.031 kB / 275.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.008307, allocations: 48.89 kB / 275.3 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.008547, allocations: 229.7 kB / 275.6 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.00857, allocations: 20.81 kB / 275.6 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.00861, allocations: 36.38 kB / 275.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.008903, allocations: 477.5 kB / 276.1 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.008918, allocations: 3.938 kB / 276.1 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.008934, allocations: 12 kB / 276.1 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.008941, allocations: 8 kB / 276.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.009053, allocations: 78.2 kB / 276.2 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.009714, allocations: 0.5451 MB / 276.7 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.009946, allocations: 202.5 kB / 276.9 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.01, allocations: 49.39 kB / 277 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.01002, allocations: 4.281 kB / 277 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.01018, allocations: 231.4 kB / 277.2 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.01018, allocations: 0 / 277.2 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.00115/0.01133, allocations: 0.8258 MB / 278 MB, free: 15.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.01139, allocations: 187.9 kB / 278.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.01156, allocations: 288.6 kB / 278.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.01158, allocations: 29.7 kB / 278.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.01165, allocations: 153.4 kB / 278.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.01172, allocations: 154.7 kB / 278.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.0118, allocations: 74.16 kB / 278.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.01188, allocations: 346.7 kB / 279.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.01194, allocations: 39.8 kB / 279.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01206, allocations: 258.3 kB / 279.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.0122, allocations: 156.9 kB / 279.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.0122, allocations: 0 / 279.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002075/0.0124, allocations: 209.8 kB / 279.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01242, allocations: 8 kB / 279.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01242, allocations: 128 / 279.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.348e-05/0.01248, allocations: 20.84 kB / 279.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.01266, allocations: 91.84 kB / 280 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005838/0.01324, allocations: 1.158 MB / 281.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.665e-05/0.01334, allocations: 11.98 kB / 281.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01335, allocations: 16.12 kB / 281.2 MB, free: 12.55 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 9.939e-05/0.01345, allocations: 143.8 kB / 281.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.01349, allocations: 43.89 kB / 281.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.0137, allocations: 205.6 kB / 281.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0137, allocations: 4 kB / 281.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.0137, allocations: 0 / 281.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002301/0.01393, allocations: 0.5319 MB / 282.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.01443, allocations: 0.5454 MB / 282.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01443, allocations: 0 / 282.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.0146, allocations: 75.91 kB / 282.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.0146, allocations: 4 kB / 282.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.01462, allocations: 11.98 kB / 282.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.01462, allocations: 4 kB / 282.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01462, allocations: 3.938 kB / 282.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.01491, allocations: 427.4 kB / 283.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.01497, allocations: 39.8 kB / 283.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.015, allocations: 12 kB / 283.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.0151, allocations: 15.98 kB / 283.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.01514, allocations: 31.89 kB / 283.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01516, allocations: 8 kB / 283.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.424e-05/0.01524, allocations: 115.4 kB / 283.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01524, allocations: 0 / 283.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.01547, allocations: 95.95 kB / 283.5 MB, free: 10.07 MB / 266.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.001045/0.01651, allocations: 0.5266 MB / 284 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.01681, allocations: 287.5 kB / 284.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.01682, allocations: 4 kB / 284.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.01691, allocations: 96.62 kB / 284.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01719, allocations: 89.59 kB / 284.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.01829, allocations: 0.7938 MB / 285.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.259e-05/0.01836, allocations: 105.8 kB / 285.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.01847, allocations: 51.23 kB / 285.4 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.01866, allocations: 161.2 kB / 285.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01866, allocations: 0 / 285.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of Templates: time 0.007924/0.02659, allocations: 6.01 MB / 291.6 MB, free: 2.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.859243330080062]