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.001018/0.001018, 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.001611/0.001611, allocations: 141.9 kB / 24.89 MB, free: 9.219 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.9734/0.9734, allocations: 173.3 MB / 201.5 MB, free: 9.184 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.283e-06/1.283e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.288e-06/1.057e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002946/0.002957, allocations: 3.029 MB / 271.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.004459, allocations: 1.277 MB / 272.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.004587, allocations: 7.938 kB / 272.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.004975, allocations: 135.1 kB / 272.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.005274, allocations: 190.7 kB / 273.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.005583, allocations: 171.5 kB / 273.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.005915, allocations: 453.6 kB / 273.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.006068, allocations: 78.58 kB / 273.8 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.006344, allocations: 239.5 kB / 274 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.006519, allocations: 147.5 kB / 274.2 MB, free: 440 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.006554, allocations: 39.94 kB / 274.2 MB, free: 400 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.201e-05/0.006636, allocations: 59.92 kB / 274.3 MB, free: 340 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.006697, allocations: 79.69 kB / 274.4 MB, free: 260 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.006779, allocations: 123.7 kB / 274.5 MB, free: 136 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.007065, allocations: 310.8 kB / 274.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.007066, allocations: 4 kB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.007067, allocations: 0 / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.007071, allocations: 0 / 274.8 MB, free: 15.82 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.0005201/0.007591, allocations: 0.5862 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.007618, allocations: 8.922 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.007676, allocations: 52.89 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.007874, allocations: 221.7 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.007897, allocations: 20.88 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.00793, allocations: 28.38 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.008201, allocations: 485.5 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.008214, allocations: 7.891 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.008229, allocations: 16 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.008234, allocations: 4 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.008331, allocations: 78.27 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.008928, allocations: 0.5334 MB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.009139, allocations: 210.5 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.009191, allocations: 57.33 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.009208, allocations: 4.281 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.009357, allocations: 231.4 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.352e-06/0.009358, allocations: 0 / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001009/0.01037, allocations: 0.8176 MB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.01042, allocations: 187.9 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01058, allocations: 288.6 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.0106, allocations: 33.7 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.01066, allocations: 149.4 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.01073, allocations: 154.7 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.01079, allocations: 78.16 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.01087, allocations: 346.7 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.01092, allocations: 39.8 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.01103, allocations: 254.3 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.01116, allocations: 164.9 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01116, allocations: 0 / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0001938/0.01136, allocations: 216.8 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.01137, allocations: 4 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01137, allocations: 0 / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.76e-05/0.01142, allocations: 16.84 kB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.01171, allocations: 111.8 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005217/0.01223, allocations: 1.154 MB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.01231, allocations: 15.98 kB / 281.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.01233, allocations: 8 kB / 281.3 MB, free: 8.773 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 8.887e-05/0.01241, allocations: 140.5 kB / 281.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.01245, allocations: 40.09 kB / 281.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.01263, allocations: 205.9 kB / 281.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01264, allocations: 4 kB / 281.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01264, allocations: 0 / 281.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002297/0.01287, allocations: 0.5433 MB / 282.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.01332, allocations: 0.537 MB / 282.8 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01332, allocations: 0 / 282.8 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.01353, allocations: 102.9 kB / 282.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.01353, allocations: 4 kB / 282.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01355, allocations: 12 kB / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01355, allocations: 7.938 kB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01356, allocations: 3.938 kB / 282.9 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.01383, allocations: 415.7 kB / 283.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.01389, allocations: 31.81 kB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.01392, allocations: 19.98 kB / 283.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.01402, allocations: 19.89 kB / 283.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.01405, allocations: 31.89 kB / 283.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.01407, allocations: 15.98 kB / 283.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.861e-05/0.01415, allocations: 111.5 kB / 283.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01415, allocations: 0 / 283.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.01437, allocations: 91.98 kB / 283.6 MB, free: 6.27 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.0009955/0.01536, allocations: 0.5256 MB / 284.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.01565, allocations: 279.8 kB / 284.4 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.01566, allocations: 4 kB / 284.4 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.01575, allocations: 96.61 kB / 284.5 MB, free: 5.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01603, allocations: 101.5 kB / 284.6 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.01705, allocations: 0.7939 MB / 285.4 MB, free: 4.641 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.879e-05/0.01711, allocations: 105.8 kB / 285.5 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.01722, allocations: 47.25 kB / 285.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.01742, allocations: 165.3 kB / 285.7 MB, free: 4.309 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01742, allocations: 0 / 285.7 MB, free: 4.309 MB / 266.7 MB Notification: Performance of Templates: time 0.09652/0.1139, allocations: 6.238 MB / 291.9 MB, free: 28.46 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 -s gbode -gbm=radauIIA3 -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.8435579207725823]