Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001504/0.001504, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.002039/0.002039, allocations: 167.9 kB / 25.33 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.976/0.976, allocations: 158.6 MB / 187.2 MB, free: 2.496 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.386e-05/4.555e-05, allocations: 6.25 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005299/0.005344, allocations: 3.007 MB / 254 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.007967, allocations: 1.173 MB / 255.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.00826, allocations: 11.94 kB / 255.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.008905, allocations: 167 kB / 255.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006719/0.009577, allocations: 190.8 kB / 255.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.01008, allocations: 151.5 kB / 255.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.01078, allocations: 453.9 kB / 256.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.01102, allocations: 67.95 kB / 256.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004589/0.01148, allocations: 259.3 kB / 256.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.01181, allocations: 151.6 kB / 256.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.01188, allocations: 36 kB / 256.7 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.01207, allocations: 67.97 kB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.0122, allocations: 87.67 kB / 256.8 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.01237, allocations: 127.6 kB / 256.9 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.01296, allocations: 322.8 kB / 257.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01297, allocations: 0 / 257.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01297, allocations: 0 / 257.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.01298, allocations: 4 kB / 257.3 MB, free: 13.32 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.001217/0.0142, allocations: 0.7303 MB / 258 MB, free: 12.56 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.01425, allocations: 15.98 kB / 258 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004201/0.01467, allocations: 60.66 kB / 258.1 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.01515, allocations: 260.4 kB / 258.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.01518, allocations: 20.88 kB / 258.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.01525, allocations: 32.33 kB / 258.4 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005981/0.01585, allocations: 0.4919 MB / 258.9 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.01588, allocations: 11.88 kB / 258.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.01591, allocations: 12 kB / 258.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.01592, allocations: 8 kB / 258.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.0162, allocations: 110.9 kB / 259 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.01763, allocations: 0.7383 MB / 259.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.01824, allocations: 196.3 kB / 259.9 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.0184, allocations: 68.22 kB / 260 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.01844, allocations: 4.281 kB / 260 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.01886, allocations: 257.3 kB / 260.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 4.499e-06/0.01887, allocations: 0 / 260.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001718/0.02059, allocations: 0.9619 MB / 261.2 MB, free: 9.051 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.02068, allocations: 187.9 kB / 261.4 MB, free: 8.824 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.02096, allocations: 366.3 kB / 261.8 MB, free: 8.449 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.02099, allocations: 33.7 kB / 261.8 MB, free: 8.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.02111, allocations: 239.5 kB / 262 MB, free: 8.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.02119, allocations: 146.7 kB / 262.2 MB, free: 8.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.02128, allocations: 75.86 kB / 262.2 MB, free: 7.941 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.02142, allocations: 0.5235 MB / 262.8 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.02151, allocations: 56.95 kB / 262.8 MB, free: 7.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.0217, allocations: 294.6 kB / 263.1 MB, free: 6.988 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.02191, allocations: 196.3 kB / 263.3 MB, free: 6.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02191, allocations: 0 / 263.3 MB, free: 6.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003424/0.02226, allocations: 305.5 kB / 263.6 MB, free: 6.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.02227, allocations: 4 kB / 263.6 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.02228, allocations: 3.938 kB / 263.6 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.354e-05/0.02237, allocations: 19.69 kB / 263.6 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.02259, allocations: 92.02 kB / 263.7 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008667/0.02346, allocations: 1.724 MB / 265.4 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.873e-05/0.02356, allocations: 8 kB / 265.4 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.02357, allocations: 16 kB / 265.5 MB, free: 4.48 MB / 250.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.0001242/0.0237, allocations: 192.5 kB / 265.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.02374, allocations: 55.77 kB / 265.7 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.02407, allocations: 284.6 kB / 266 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.02408, allocations: 4 kB / 266 MB, free: 3.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.02408, allocations: 7.922 kB / 266 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000334/0.02441, allocations: 0.606 MB / 266.6 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.02511, allocations: 0.7423 MB / 267.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.02511, allocations: 4.031 kB / 267.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.02529, allocations: 75.91 kB / 267.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.0253, allocations: 0 / 267.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.02531, allocations: 16.05 kB / 267.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.02532, allocations: 11.94 kB / 267.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.02532, allocations: 3.938 kB / 267.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.02575, allocations: 0.5232 MB / 268 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.02583, allocations: 55.73 kB / 268 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.02586, allocations: 16 kB / 268 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.02597, allocations: 19.92 kB / 268.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.02602, allocations: 31.89 kB / 268.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.02604, allocations: 12 kB / 268.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.02618, allocations: 247 kB / 268.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02618, allocations: 0 / 268.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.02645, allocations: 95.98 kB / 268.4 MB, free: 1.273 MB / 250.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.000794/0.02724, allocations: 403.8 kB / 268.8 MB, free: 0.918 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.02766, allocations: 365.9 kB / 269.2 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.02766, allocations: 0 / 269.2 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.02778, allocations: 123.8 kB / 269.3 MB, free: 424 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.02814, allocations: 97 kB / 269.4 MB, free: 328 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.02946, allocations: 0.9024 MB / 270.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.02952, allocations: 109.7 kB / 270.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.02966, allocations: 47.25 kB / 270.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.02972, allocations: 36.5 kB / 270.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of SimCode: time 1.233e-06/0.02972, allocations: 0 / 270.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of Templates: time 0.007529/0.03725, allocations: 5.538 MB / 276 MB, free: 9.605 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.018617735709995]