Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009455/0.0009455, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 158.9 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8808/0.8808, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.487e-06/1.073e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002705/0.002715, allocations: 2.999 MB / 277.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.004462, allocations: 1.38 MB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.004578, allocations: 7.938 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.00489, allocations: 140.3 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.005244, allocations: 224.4 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.005471, allocations: 151.4 kB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.005802, allocations: 457.9 kB / 279.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.00591, allocations: 68.27 kB / 279.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.006099, allocations: 255.3 kB / 279.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.006258, allocations: 151.6 kB / 279.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.006289, allocations: 28 kB / 279.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.3e-05/0.006372, allocations: 55.98 kB / 280 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.006435, allocations: 87.61 kB / 280.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.006525, allocations: 127.7 kB / 280.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.006789, allocations: 322.8 kB / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.00679, allocations: 0 / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.006791, allocations: 0 / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.006795, allocations: 0 / 280.5 MB, free: 13.86 MB / 266.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.0005617/0.007356, allocations: 0.7225 MB / 281.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.408e-05/0.00738, allocations: 12.03 kB / 281.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.007445, allocations: 60.66 kB / 281.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.00765, allocations: 264.5 kB / 281.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.007669, allocations: 20.88 kB / 281.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.007701, allocations: 28.38 kB / 281.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.007973, allocations: 487.6 kB / 282.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.007985, allocations: 192 / 282.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.008002, allocations: 12.38 kB / 282.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.008008, allocations: 7.938 kB / 282.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.008111, allocations: 91.39 kB / 282.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.008755, allocations: 0.6958 MB / 282.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.008966, allocations: 172.9 kB / 283.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.009024, allocations: 60.2 kB / 283.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.009039, allocations: 4.281 kB / 283.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.009185, allocations: 230.2 kB / 283.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.162e-06/0.009186, allocations: 4 kB / 283.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009692/0.01016, allocations: 0.8505 MB / 284.2 MB, free: 9.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.0102, allocations: 187.9 kB / 284.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.01039, allocations: 350.1 kB / 284.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.01041, allocations: 37.7 kB / 284.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.01051, allocations: 243.4 kB / 285 MB, free: 8.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.01081, allocations: 146.8 kB / 285.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.01089, allocations: 83.78 kB / 285.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.011, allocations: 0.5234 MB / 285.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.01105, allocations: 44.95 kB / 285.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.01118, allocations: 290.5 kB / 286.1 MB, free: 7.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.01132, allocations: 168.4 kB / 286.2 MB, free: 7.637 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01133, allocations: 4 kB / 286.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002346/0.01156, allocations: 281.3 kB / 286.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.01157, allocations: 8 kB / 286.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01158, allocations: 0 / 286.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/0.01162, allocations: 15.69 kB / 286.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.01179, allocations: 91.89 kB / 286.6 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006576/0.01245, allocations: 1.709 MB / 288.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.01255, allocations: 8 kB / 288.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.01256, allocations: 12 kB / 288.4 MB, free: 5.383 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 9.915e-05/0.01266, allocations: 184.4 kB / 288.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.01271, allocations: 59.66 kB / 288.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.01296, allocations: 252.8 kB / 288.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01296, allocations: 4 kB / 288.8 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01296, allocations: 8.062 kB / 288.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002815/0.01325, allocations: 0.5863 MB / 289.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.01379, allocations: 0.6692 MB / 290.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01379, allocations: 4 kB / 290.1 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.01396, allocations: 71.91 kB / 290.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01396, allocations: 7.984 kB / 290.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.01397, allocations: 12 kB / 290.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01398, allocations: 4.125 kB / 290.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01398, allocations: 4 kB / 290.2 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.01431, allocations: 495.8 kB / 290.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.01438, allocations: 63.72 kB / 290.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.01441, allocations: 12.06 kB / 290.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.01452, allocations: 15.98 kB / 290.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.01456, allocations: 27.7 kB / 290.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.01458, allocations: 19.88 kB / 290.8 MB, free: 2.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.01469, allocations: 234.9 kB / 291.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01469, allocations: 0 / 291.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.01494, allocations: 99.92 kB / 291.2 MB, free: 2.367 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.0007544/0.0157, allocations: 396 kB / 291.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.01599, allocations: 354.1 kB / 291.9 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01599, allocations: 4 kB / 291.9 MB, free: 1.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.01608, allocations: 103.4 kB / 292 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.0164, allocations: 99.41 kB / 292.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.01774, allocations: 0.8861 MB / 293 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.01781, allocations: 109.8 kB / 293.1 MB, free: 484 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.01792, allocations: 47.23 kB / 293.1 MB, free: 436 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.01813, allocations: 198.1 kB / 293.3 MB, free: 236 kB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01813, allocations: 0 / 293.3 MB, free: 236 kB / 266.7 MB Notification: Performance of Templates: time 0.007284/0.02542, allocations: 6.154 MB / 299.5 MB, free: 10.21 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7984090270474553]