Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004877/0.004877, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8614/0.8614, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.083e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002861/0.002881, allocations: 2.846 MB / 328.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.004365, allocations: 1.34 MB / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.004491, allocations: 11.94 kB / 330 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.004926, allocations: 139.1 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.005292, allocations: 222.6 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.005494, allocations: 147.4 kB / 330.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.005859, allocations: 458.4 kB / 331 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.006009, allocations: 80.11 kB / 331 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.006198, allocations: 247.4 kB / 331.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.006358, allocations: 143.6 kB / 331.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.006391, allocations: 32 kB / 331.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.006481, allocations: 59.92 kB / 331.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.006557, allocations: 87.66 kB / 331.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.006649, allocations: 123.6 kB / 331.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.007006, allocations: 454.5 kB / 332.2 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.007008, allocations: 4 kB / 332.2 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007009, allocations: 4 kB / 332.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.007014, allocations: 0 / 332.2 MB, free: 9.051 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006668/0.007681, allocations: 0.6071 MB / 332.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.007711, allocations: 15.97 kB / 332.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.007771, allocations: 44.66 kB / 332.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.008046, allocations: 261.6 kB / 333.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.008066, allocations: 16.88 kB / 333.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.0081, allocations: 24.38 kB / 333.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.008487, allocations: 0.5214 MB / 333.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.008502, allocations: 7.938 kB / 333.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.008521, allocations: 8 kB / 333.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008527, allocations: 8 kB / 333.7 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.008737, allocations: 177.8 kB / 333.8 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007829/0.00952, allocations: 0.7116 MB / 334.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.009883, allocations: 244.9 kB / 334.8 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.009985, allocations: 89.39 kB / 334.9 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.01001, allocations: 4.281 kB / 334.9 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.01023, allocations: 273.1 kB / 335.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.01024, allocations: 0 / 335.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001363/0.0116, allocations: 1.107 MB / 336.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.01166, allocations: 187.9 kB / 336.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.01189, allocations: 332.5 kB / 336.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.01191, allocations: 33.7 kB / 336.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.01201, allocations: 192.7 kB / 337 MB, free: 3.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/0.01208, allocations: 146.7 kB / 337.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.01215, allocations: 78.19 kB / 337.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.01224, allocations: 346.8 kB / 337.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.01234, allocations: 84.97 kB / 337.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.01253, allocations: 310.4 kB / 337.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.01277, allocations: 250.2 kB / 338.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01277, allocations: 0 / 338.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003396/0.01311, allocations: 362.5 kB / 338.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.01312, allocations: 8 kB / 338.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01313, allocations: 3.938 kB / 338.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-05/0.0132, allocations: 20.84 kB / 338.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.01338, allocations: 91.83 kB / 338.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006478/0.01402, allocations: 1.272 MB / 339.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.01412, allocations: 8 kB / 339.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.01413, allocations: 16 kB / 339.9 MB, free: 0.707 MB / 298.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.0001196/0.01425, allocations: 169.7 kB / 340.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.01428, allocations: 39.77 kB / 340.2 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.01464, allocations: 338.6 kB / 340.5 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01464, allocations: 7.938 kB / 340.5 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.01464, allocations: 0 / 340.5 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003846/0.01503, allocations: 0.6684 MB / 341.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.01569, allocations: 0.7395 MB / 341.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01569, allocations: 0 / 341.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.01586, allocations: 83.83 kB / 342 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01586, allocations: 0 / 342 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.01588, allocations: 12 kB / 342 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01588, allocations: 7.938 kB / 342 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01588, allocations: 4.125 kB / 342 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.01635, allocations: 0.5516 MB / 342.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.01642, allocations: 67.67 kB / 342.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.01645, allocations: 8 kB / 342.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01656, allocations: 27.88 kB / 342.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.0166, allocations: 23.95 kB / 342.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.01662, allocations: 12 kB / 342.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.01676, allocations: 243 kB / 342.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01676, allocations: 0 / 342.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000245/0.01701, allocations: 96 kB / 343 MB, free: 13.43 MB / 314.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.0006667/0.01768, allocations: 461.7 kB / 343.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.01807, allocations: 362.1 kB / 343.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01808, allocations: 0 / 343.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.01821, allocations: 132.3 kB / 344 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01853, allocations: 93.08 kB / 344 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.01947, allocations: 0.9179 MB / 345 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.01959, allocations: 203.5 kB / 345.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.01966, allocations: 36.5 kB / 345.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of SimCode: time 3.41e-07/0.01966, allocations: 0 / 345.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Templates: time 0.005268/0.02493, allocations: 5.957 MB / 351.2 MB, free: 5.422 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.860726819373667]