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.001285/0.001285, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.00139/0.00139, allocations: 138.5 kB / 24.97 MB, free: 8.367 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.9334/0.9334, allocations: 173.4 MB / 201.5 MB, free: 9.305 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.763e-06/1.763e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.879e-05, allocations: 2.312 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004411/0.00443, allocations: 3.007 MB / 271.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.006816, allocations: 1.25 MB / 272.3 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.007066, allocations: 7.938 kB / 272.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.007616, allocations: 135.1 kB / 272.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006889/0.008305, allocations: 182.8 kB / 272.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.008795, allocations: 175.4 kB / 272.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.009285, allocations: 453.7 kB / 273.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.009436, allocations: 67.95 kB / 273.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.009687, allocations: 259.3 kB / 273.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.009895, allocations: 147.6 kB / 273.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.009934, allocations: 28 kB / 273.7 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.01004, allocations: 55.92 kB / 273.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.01012, allocations: 83.67 kB / 273.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.01023, allocations: 127.7 kB / 274 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.01063, allocations: 318.8 kB / 274.3 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01064, allocations: 0 / 274.3 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01064, allocations: 0 / 274.3 MB, free: 448 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.01064, allocations: 0 / 274.3 MB, free: 448 kB / 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.0007416/0.01138, allocations: 0.7071 MB / 275 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.01142, allocations: 8.922 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.01151, allocations: 72.64 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.01179, allocations: 256.5 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.01181, allocations: 20.88 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.01186, allocations: 28.38 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.01227, allocations: 0.4919 MB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.01229, allocations: 3.938 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.01232, allocations: 12 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01233, allocations: 8 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.01251, allocations: 110.9 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008861/0.0134, allocations: 0.7382 MB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.01373, allocations: 192.4 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.01383, allocations: 72.14 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.01385, allocations: 8.281 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.01411, allocations: 238.3 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.01411, allocations: 4 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001453/0.01556, allocations: 0.9656 MB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.01564, allocations: 187.9 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.01593, allocations: 346.3 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.01596, allocations: 37.7 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.01607, allocations: 235.5 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.01616, allocations: 150.7 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.01624, allocations: 75.86 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.01639, allocations: 0.5196 MB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01649, allocations: 56.95 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.01669, allocations: 298.6 kB / 280.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.01692, allocations: 188.3 kB / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01692, allocations: 4 kB / 280.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003537/0.01728, allocations: 301.3 kB / 280.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01729, allocations: 4 kB / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01729, allocations: 8 kB / 280.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.439e-05/0.01738, allocations: 19.69 kB / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.01769, allocations: 91.89 kB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.0187, allocations: 1.724 MB / 282.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.01882, allocations: 23.94 kB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.01883, allocations: 8 kB / 282.5 MB, free: 7.637 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.0001231/0.01895, allocations: 184.5 kB / 282.6 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.019, allocations: 51.77 kB / 282.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.01934, allocations: 280.5 kB / 283 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01934, allocations: 8 kB / 283 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01935, allocations: 4 kB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003572/0.0197, allocations: 0.6059 MB / 283.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.0204, allocations: 0.7341 MB / 284.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.0204, allocations: 4 kB / 284.3 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.0206, allocations: 75.91 kB / 284.4 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.0206, allocations: 4.125 kB / 284.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.02062, allocations: 12 kB / 284.4 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.02062, allocations: 7.922 kB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02063, allocations: 4 kB / 284.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.02107, allocations: 0.5191 MB / 284.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.02115, allocations: 63.72 kB / 285 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.02119, allocations: 8 kB / 285 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.0213, allocations: 27.86 kB / 285 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.02135, allocations: 20.02 kB / 285.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.02137, allocations: 24 kB / 285.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.02152, allocations: 239 kB / 285.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02152, allocations: 0 / 285.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.02179, allocations: 92 kB / 285.4 MB, free: 4.469 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.0008598/0.02265, allocations: 399.6 kB / 285.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005914/0.02324, allocations: 362.9 kB / 286.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.02325, allocations: 4 kB / 286.2 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.02345, allocations: 122.9 kB / 286.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.02402, allocations: 101.5 kB / 286.4 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.02553, allocations: 0.8908 MB / 287.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.676e-05/0.0256, allocations: 105.8 kB / 287.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.02571, allocations: 47.25 kB / 287.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.02577, allocations: 36.5 kB / 287.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02578, allocations: 0 / 287.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of Templates: time 0.1004/0.1261, allocations: 5.532 MB / 293 MB, free: 29.2 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.8894936970900744]