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.000788/0.000788, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002188, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009172/0.0009172, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002247, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.843/0.843, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1669/1.01, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.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.913e-06/1.913e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.433e-05, allocations: 2.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004426/0.00445, allocations: 3.034 MB / 242.8 MB, free: 3.336 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.006441, allocations: 1.276 MB / 244 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.006565, allocations: 4 kB / 244 MB, free: 2.051 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.006895, allocations: 148 kB / 244.2 MB, free: 1.906 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.007178, allocations: 190 kB / 244.4 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.007463, allocations: 175.4 kB / 244.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.007838, allocations: 442 kB / 245 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.007967, allocations: 86.94 kB / 245.1 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.008216, allocations: 295.2 kB / 245.4 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.008384, allocations: 144.3 kB / 245.5 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.00842, allocations: 28 kB / 245.5 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.008512, allocations: 69.77 kB / 245.6 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.008573, allocations: 59.81 kB / 245.6 MB, free: 464 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.008659, allocations: 103.8 kB / 245.7 MB, free: 360 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.008937, allocations: 294.8 kB / 246 MB, free: 64 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.008946, allocations: 0 / 246 MB, free: 64 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.008947, allocations: 0 / 246 MB, free: 64 kB / 234.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.008956, allocations: 1.469 kB / 246 MB, free: 64 kB / 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.0006729/0.009629, allocations: 0.6537 MB / 246.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.009656, allocations: 12.03 kB / 246.7 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.009717, allocations: 45.42 kB / 246.7 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.009938, allocations: 235.3 kB / 247 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.009957, allocations: 16.88 kB / 247 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.009996, allocations: 28.38 kB / 247 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.01029, allocations: 482.6 kB / 247.5 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.0103, allocations: 3.938 kB / 247.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.01032, allocations: 12 kB / 247.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01032, allocations: 9 kB / 247.5 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.01042, allocations: 74.27 kB / 247.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.01102, allocations: 0.5429 MB / 248.1 MB, free: 13.81 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.01124, allocations: 206.1 kB / 248.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.01129, allocations: 42.12 kB / 248.4 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.01131, allocations: 8.938 kB / 248.4 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.01147, allocations: 239.4 kB / 248.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.283e-06/0.01147, allocations: 2.531 kB / 248.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.00107/0.01254, allocations: 0.8306 MB / 249.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.01256, allocations: 59.34 kB / 249.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.01273, allocations: 296.5 kB / 249.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.01275, allocations: 33.7 kB / 249.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.01281, allocations: 153.4 kB / 250 MB, free: 11.83 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.01288, allocations: 154.7 kB / 250.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.01297, allocations: 74.16 kB / 250.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.01305, allocations: 350.7 kB / 250.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.01309, allocations: 39.75 kB / 250.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.01321, allocations: 250.4 kB / 250.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.01333, allocations: 160.9 kB / 251 MB, free: 10.72 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01334, allocations: 4 kB / 251 MB, free: 10.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0001992/0.01353, allocations: 209.8 kB / 251.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.01355, allocations: 8 kB / 251.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01355, allocations: 0 / 251.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.657e-05/0.0136, allocations: 12.86 kB / 251.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.01383, allocations: 119.9 kB / 251.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000535/0.01436, allocations: 1.162 MB / 252.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.523e-05/0.01446, allocations: 16 kB / 252.5 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01447, allocations: 4 kB / 252.5 MB, free: 9.098 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 9.226e-05/0.01456, allocations: 148.6 kB / 252.7 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.0146, allocations: 39.95 kB / 252.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.01479, allocations: 198.1 kB / 252.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01479, allocations: 4 kB / 252.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01479, allocations: 4.062 kB / 252.9 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002251/0.01502, allocations: 0.5396 MB / 253.4 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.01548, allocations: 0.5416 MB / 254 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01548, allocations: 0 / 254 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.01569, allocations: 100 kB / 254.1 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.01575, allocations: 43.75 kB / 254.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.01575, allocations: 4 kB / 254.1 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.01577, allocations: 15.92 kB / 254.1 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01577, allocations: 3.938 kB / 254.1 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01577, allocations: 4 kB / 254.2 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.01604, allocations: 411 kB / 254.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.01606, allocations: 12 kB / 254.6 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01617, allocations: 23.92 kB / 254.6 MB, free: 6.832 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.0162, allocations: 23.89 kB / 254.6 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01621, allocations: 15.94 kB / 254.6 MB, free: 6.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.99e-05/0.01629, allocations: 115.4 kB / 254.7 MB, free: 6.676 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01629, allocations: 0 / 254.7 MB, free: 6.676 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.01651, allocations: 95.94 kB / 254.8 MB, free: 6.582 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.001118/0.01763, allocations: 0.5721 MB / 255.4 MB, free: 6.277 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.01791, allocations: 292.4 kB / 255.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.01792, allocations: 8 kB / 255.7 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.01803, allocations: 112.5 kB / 255.8 MB, free: 5.855 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.01855, allocations: 0.8332 MB / 256.6 MB, free: 4.871 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.02153, allocations: 0.7697 MB / 257.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.02159, allocations: 109.7 kB / 257.5 MB, free: 3.93 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.0217, allocations: 43.27 kB / 257.6 MB, free: 3.887 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.02191, allocations: 169.3 kB / 257.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02191, allocations: 0 / 257.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of Templates: time 0.009187/0.03109, allocations: 6.79 MB / 264.5 MB, free: 13.11 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8738115513697267]