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.001069/0.001069, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002657, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001067/0.001067, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002547, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.038/1.038, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08178/1.12, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.272e-06/1.272e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.436e-06/9.708e-06, allocations: 5.828 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003447/0.003456, allocations: 3.064 MB / 247.8 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.00538, allocations: 1.421 MB / 249.2 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.005504, allocations: 7.938 kB / 249.2 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.005814, allocations: 143 kB / 249.3 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.006189, allocations: 226.5 kB / 249.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.00642, allocations: 139.5 kB / 249.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.006843, allocations: 461.8 kB / 250.1 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.00698, allocations: 70.89 kB / 250.2 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.007294, allocations: 310.4 kB / 250.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.007494, allocations: 139.6 kB / 250.6 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.007535, allocations: 28 kB / 250.7 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.007648, allocations: 63.92 kB / 250.7 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.007722, allocations: 67.73 kB / 250.8 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.007828, allocations: 103.8 kB / 250.9 MB, free: 8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.008167, allocations: 298.8 kB / 251.2 MB, free: 7.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.008178, allocations: 0 / 251.2 MB, free: 7.707 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.008178, allocations: 4 kB / 251.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.008188, allocations: 0 / 251.2 MB, free: 7.703 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.0007906/0.008979, allocations: 0.6678 MB / 251.9 MB, free: 7.004 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.009008, allocations: 12.03 kB / 251.9 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.009084, allocations: 48.89 kB / 251.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.009354, allocations: 225.6 kB / 252.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.009379, allocations: 20.88 kB / 252.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.009432, allocations: 36.34 kB / 252.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.01002, allocations: 473.5 kB / 252.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.01004, allocations: 11.89 kB / 252.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.01006, allocations: 12 kB / 252.7 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.01007, allocations: 4 kB / 252.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.0102, allocations: 86.25 kB / 252.8 MB, free: 5.984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007613/0.01096, allocations: 0.5334 MB / 253.3 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.01123, allocations: 212.5 kB / 253.5 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.0113, allocations: 45.41 kB / 253.6 MB, free: 5.156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.01132, allocations: 8.281 kB / 253.6 MB, free: 5.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.01152, allocations: 243.9 kB / 253.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.01152, allocations: 3.938 kB / 253.8 MB, free: 4.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001339/0.01286, allocations: 0.8344 MB / 254.6 MB, free: 3.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.01289, allocations: 63.28 kB / 254.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.0131, allocations: 296.6 kB / 255 MB, free: 3.605 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.01312, allocations: 29.7 kB / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.01319, allocations: 157.4 kB / 255.2 MB, free: 3.414 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.01328, allocations: 146.7 kB / 255.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.01337, allocations: 74.16 kB / 255.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.01347, allocations: 358.7 kB / 255.7 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.01352, allocations: 35.81 kB / 255.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.01367, allocations: 250.4 kB / 256 MB, free: 2.488 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.01384, allocations: 164.9 kB / 256.2 MB, free: 2.312 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01384, allocations: 0 / 256.2 MB, free: 2.312 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002507/0.01409, allocations: 213.8 kB / 256.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.0141, allocations: 8 kB / 256.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01411, allocations: 0 / 256.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.985e-05/0.01416, allocations: 12.86 kB / 256.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.01447, allocations: 126.5 kB / 256.5 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006501/0.01512, allocations: 1.162 MB / 257.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.01524, allocations: 16 kB / 257.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.01526, allocations: 4 kB / 257.7 MB, free: 0.6758 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.0001147/0.01537, allocations: 144.5 kB / 257.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.01541, allocations: 35.97 kB / 257.9 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.01567, allocations: 206.1 kB / 258.1 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01568, allocations: 8.062 kB / 258.1 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.01568, allocations: 4.062 kB / 258.1 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003002/0.01598, allocations: 0.5359 MB / 258.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.01657, allocations: 0.5488 MB / 259.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01657, allocations: 0 / 259.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.01685, allocations: 95.88 kB / 259.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.01693, allocations: 51.88 kB / 259.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01693, allocations: 0 / 259.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.01695, allocations: 11.94 kB / 259.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.01695, allocations: 4 kB / 259.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01696, allocations: 3.938 kB / 259.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.01753, allocations: 422.2 kB / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.01757, allocations: 8 kB / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.01771, allocations: 19.94 kB / 259.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.01775, allocations: 35.92 kB / 259.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.01778, allocations: 12 kB / 259.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.01789, allocations: 119.4 kB / 260 MB, free: 14.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01789, allocations: 0 / 260 MB, free: 14.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.01819, allocations: 92 kB / 260.1 MB, free: 14.15 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.001341/0.01953, allocations: 0.5554 MB / 260.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.01985, allocations: 300 kB / 260.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.01986, allocations: 4 kB / 260.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.02, allocations: 117.3 kB / 261 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.02062, allocations: 0.8243 MB / 261.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.02464, allocations: 0.7644 MB / 262.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.264e-05/0.02471, allocations: 109.8 kB / 262.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.02484, allocations: 47.25 kB / 262.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.0251, allocations: 169.3 kB / 262.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0251, allocations: 4 kB / 262.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Templates: time 0.01023/0.03534, allocations: 6.823 MB / 269.8 MB, free: 4.633 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6888595689088106]