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.002298/0.002298, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002757/0.002757, allocations: 170.9 kB / 25.03 MB, free: 8.414 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 1.547/1.547, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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 2.084e-06/2.084e-06, allocations: 3.938 kB / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.99e-05/4.198e-05, allocations: 2.312 kB / 250.4 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005534/0.005576, allocations: 2.965 MB / 253.3 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.008273, allocations: 1.17 MB / 254.5 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.008457, allocations: 7.938 kB / 254.5 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.009061, allocations: 163 kB / 254.7 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.009602, allocations: 190.8 kB / 254.8 MB, free: 3.332 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.01005, allocations: 159.5 kB / 255 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.01064, allocations: 453.8 kB / 255.4 MB, free: 2.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.01083, allocations: 64.02 kB / 255.5 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.01119, allocations: 259.3 kB / 255.8 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.01148, allocations: 155.6 kB / 255.9 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.01154, allocations: 28 kB / 255.9 MB, free: 2.23 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.01172, allocations: 63.94 kB / 256 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.01185, allocations: 91.66 kB / 256.1 MB, free: 2.078 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.01229, allocations: 127.6 kB / 256.2 MB, free: 1.953 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.01298, allocations: 470.4 kB / 256.7 MB, free: 1.488 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01299, allocations: 0 / 256.7 MB, free: 1.488 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01299, allocations: 0 / 256.7 MB, free: 1.488 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.013, allocations: 0 / 256.7 MB, free: 1.488 MB / 234.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.001384/0.01438, allocations: 0.7417 MB / 257.4 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.01442, allocations: 15.98 kB / 257.4 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.01457, allocations: 68.66 kB / 257.5 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.01506, allocations: 268.4 kB / 257.8 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.0151, allocations: 12.88 kB / 257.8 MB, free: 332 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.01517, allocations: 36.33 kB / 257.8 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/0.01596, allocations: 0.5342 MB / 258.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.01599, allocations: 7.875 kB / 258.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.01602, allocations: 12 kB / 258.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01603, allocations: 4 kB / 258.4 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.01641, allocations: 173.9 kB / 258.5 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.01807, allocations: 0.8358 MB / 259.4 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.0187, allocations: 256.4 kB / 259.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.0189, allocations: 88.22 kB / 259.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.01893, allocations: 8.281 kB / 259.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004321/0.01936, allocations: 277.3 kB / 260 MB, free: 13.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 6.753e-06/0.01937, allocations: 4 kB / 260 MB, free: 13.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002709/0.02208, allocations: 1.138 MB / 261.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.02224, allocations: 183.9 kB / 261.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.02277, allocations: 422.2 kB / 261.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.02282, allocations: 37.7 kB / 261.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.02306, allocations: 251.5 kB / 262 MB, free: 11.77 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.02321, allocations: 146.8 kB / 262.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.02336, allocations: 91.86 kB / 262.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003826/0.02374, allocations: 0.5391 MB / 262.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.02395, allocations: 88.95 kB / 262.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.0247, allocations: 346.6 kB / 263.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.02518, allocations: 268.3 kB / 263.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.02519, allocations: 4 kB / 263.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007327/0.02592, allocations: 377.5 kB / 263.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.02594, allocations: 4 kB / 263.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.02595, allocations: 7.938 kB / 263.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.02607, allocations: 19.69 kB / 263.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.02644, allocations: 91.89 kB / 264 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.02817, allocations: 1.783 MB / 265.7 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.02839, allocations: 12 kB / 265.7 MB, free: 7.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.02842, allocations: 16 kB / 265.8 MB, free: 7.758 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.0002741/0.0287, allocations: 216.3 kB / 266 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.02879, allocations: 55.75 kB / 266 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007193/0.02951, allocations: 340.6 kB / 266.4 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.02952, allocations: 11.94 kB / 266.4 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.02952, allocations: 3.984 kB / 266.4 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008258/0.03035, allocations: 0.6529 MB / 267 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.03194, allocations: 0.8595 MB / 267.9 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.03194, allocations: 4 kB / 267.9 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.0323, allocations: 75.89 kB / 268 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.03231, allocations: 4 kB / 268 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.03234, allocations: 12 kB / 268 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.03235, allocations: 3.938 kB / 268 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.03235, allocations: 7.938 kB / 268 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.03338, allocations: 0.6327 MB / 268.6 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.03355, allocations: 59.72 kB / 268.7 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.03361, allocations: 8 kB / 268.7 MB, free: 4.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.03384, allocations: 23.92 kB / 268.7 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.03394, allocations: 27.89 kB / 268.7 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.03398, allocations: 12 kB / 268.8 MB, free: 4.535 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003369/0.03431, allocations: 279 kB / 269 MB, free: 4.266 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03431, allocations: 0 / 269 MB, free: 4.266 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004879/0.0348, allocations: 95.94 kB / 269.1 MB, free: 4.172 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.003106/0.03791, allocations: 461.2 kB / 269.6 MB, free: 3.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009594/0.03887, allocations: 441.8 kB / 270 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.03887, allocations: 0 / 270 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.03916, allocations: 143.5 kB / 270.1 MB, free: 3.172 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009845/0.04014, allocations: 105.5 kB / 270.2 MB, free: 3.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.04197, allocations: 0.9065 MB / 271.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.04222, allocations: 207.6 kB / 271.4 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.04243, allocations: 43.28 kB / 271.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.04253, allocations: 32.5 kB / 271.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of SimCode: time 1.383e-06/0.04253, allocations: 7.938 kB / 271.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of Templates: time 0.01346/0.05599, allocations: 5.522 MB / 277 MB, free: 12.28 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.077000853954814]