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.001673/0.001673, allocations: 84.53 kB / 21.44 MB, free: 296 kB / 14.72 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.001742/0.001742, allocations: 161.5 kB / 24.7 MB, free: 3.551 MB / 14.72 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.445/1.445, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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.345e-06/2.345e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.677e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00577/0.005807, allocations: 2.785 MB / 301.7 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.009034, allocations: 1.138 MB / 302.9 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.009412, allocations: 7.938 kB / 302.9 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.01012, allocations: 167 kB / 303 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008088/0.01092, allocations: 186.8 kB / 303.2 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.01153, allocations: 155.5 kB / 303.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009614/0.01249, allocations: 457.8 kB / 303.8 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.01273, allocations: 68.02 kB / 303.9 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000617/0.01335, allocations: 255.4 kB / 304.1 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.01374, allocations: 155.6 kB / 304.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/0.01383, allocations: 31.94 kB / 304.3 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.01408, allocations: 71.92 kB / 304.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01424, allocations: 83.67 kB / 304.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.01446, allocations: 123.6 kB / 304.6 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007683/0.01523, allocations: 470.4 kB / 305.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01524, allocations: 0 / 305.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01524, allocations: 0 / 305.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.01525, allocations: 0 / 305.1 MB, free: 2.586 MB / 286.1 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.001399/0.01665, allocations: 0.6265 MB / 305.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.0167, allocations: 15.98 kB / 305.7 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.01688, allocations: 44.66 kB / 305.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.0175, allocations: 265.6 kB / 306 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.01753, allocations: 20.88 kB / 306 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.0176, allocations: 24.38 kB / 306 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.01834, allocations: 0.5137 MB / 306.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.01837, allocations: 7.938 kB / 306.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.01841, allocations: 8 kB / 306.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.01842, allocations: 8 kB / 306.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.01881, allocations: 177.8 kB / 306.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.02035, allocations: 0.7117 MB / 307.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006772/0.02103, allocations: 239.9 kB / 307.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.02123, allocations: 93.39 kB / 307.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.02127, allocations: 8.266 kB / 307.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/0.0217, allocations: 271.6 kB / 308.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.0217, allocations: 0 / 308.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002681/0.02438, allocations: 1.11 MB / 309.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.02453, allocations: 187.9 kB / 309.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.02502, allocations: 356.4 kB / 309.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.02508, allocations: 37.7 kB / 309.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.02526, allocations: 180.8 kB / 309.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.02541, allocations: 150.8 kB / 310.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.02554, allocations: 70.2 kB / 310.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.02576, allocations: 346.8 kB / 310.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.02597, allocations: 96.95 kB / 310.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.0264, allocations: 306.4 kB / 310.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.02689, allocations: 254.2 kB / 311.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02689, allocations: 0 / 311.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007454/0.02764, allocations: 354.8 kB / 311.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.02766, allocations: 4 kB / 311.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.02768, allocations: 7.938 kB / 311.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.0278, allocations: 20.84 kB / 311.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.02817, allocations: 95.83 kB / 311.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.02965, allocations: 1.252 MB / 312.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.02991, allocations: 28.14 kB / 312.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.02994, allocations: 12 kB / 312.9 MB, free: 10.2 MB / 302.1 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.0002794/0.03022, allocations: 173.6 kB / 313 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.03031, allocations: 39.77 kB / 313.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/0.03102, allocations: 349.7 kB / 313.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.03103, allocations: 4 kB / 313.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.03103, allocations: 0 / 313.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007603/0.03179, allocations: 0.6572 MB / 314.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.03334, allocations: 0.7395 MB / 314.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.03334, allocations: 7.875 kB / 314.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.03371, allocations: 75.91 kB / 314.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.03371, allocations: 4 kB / 314.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.03375, allocations: 16.05 kB / 314.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.03376, allocations: 7.922 kB / 314.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03376, allocations: 4 kB / 314.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.03471, allocations: 0.5632 MB / 315.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.0349, allocations: 67.73 kB / 315.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.03497, allocations: 8 kB / 315.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.03523, allocations: 23.92 kB / 315.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.03531, allocations: 19.95 kB / 315.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.03536, allocations: 16 kB / 315.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003315/0.03569, allocations: 255 kB / 315.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03569, allocations: 0 / 315.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005177/0.03621, allocations: 95.94 kB / 316 MB, free: 6.898 MB / 302.1 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.001814/0.03802, allocations: 452.8 kB / 316.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000849/0.03887, allocations: 374.3 kB / 316.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.03888, allocations: 7.938 kB / 316.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.03915, allocations: 127.6 kB / 316.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.03981, allocations: 85.55 kB / 317 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.04185, allocations: 0.9044 MB / 317.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.04211, allocations: 203.7 kB / 318.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.04233, allocations: 51.23 kB / 318.2 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.04244, allocations: 32.5 kB / 318.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of SimCode: time 1.914e-06/0.04244, allocations: 0 / 318.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of Templates: time 0.1681/0.2106, allocations: 5.482 MB / 323.7 MB, free: 34.04 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] 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: 4.7749510779976845]