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.001795/0.001795, allocations: 92.64 kB / 20.95 MB, free: 3.586 MB / 18.57 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.002167/0.002167, allocations: 149.1 kB / 24.26 MB, free: 292 kB / 18.57 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 1.453/1.453, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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 2.304e-06/2.304e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.678e-05, allocations: 2.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00545/0.005486, allocations: 2.814 MB / 270.1 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.008292, allocations: 1.207 MB / 271.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.008492, allocations: 12 kB / 271.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.009072, allocations: 147 kB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.009603, allocations: 178.8 kB / 271.6 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.01009, allocations: 171.4 kB / 271.8 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006297/0.01072, allocations: 453.9 kB / 272.3 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.01091, allocations: 67.95 kB / 272.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.01126, allocations: 251.3 kB / 272.6 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.01156, allocations: 147.6 kB / 272.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.01162, allocations: 32 kB / 272.7 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.01178, allocations: 51.98 kB / 272.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.01191, allocations: 87.67 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.01208, allocations: 123.6 kB / 273 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.01275, allocations: 454.4 kB / 273.4 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01275, allocations: 4 kB / 273.5 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01276, allocations: 4 kB / 273.5 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.01276, allocations: 0 / 273.5 MB, free: 0.5586 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.001172/0.01394, allocations: 0.5994 MB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.01398, allocations: 8.922 kB / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.01412, allocations: 64.7 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.01465, allocations: 265.5 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.01468, allocations: 16.88 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.01476, allocations: 36.36 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.01552, allocations: 0.5137 MB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.01554, allocations: 3.938 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.01557, allocations: 12 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.01558, allocations: 4 kB / 275 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.01597, allocations: 177.9 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01755, allocations: 0.7039 MB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.01818, allocations: 251.9 kB / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.0184, allocations: 94.16 kB / 276.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.01844, allocations: 8.281 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.01885, allocations: 264.6 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.01885, allocations: 0 / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002659/0.02151, allocations: 1.112 MB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.02166, allocations: 191.9 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.02209, allocations: 324.5 kB / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.02213, allocations: 37.7 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.02232, allocations: 180.7 kB / 278.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.02247, allocations: 142.8 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.0226, allocations: 86.14 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.02281, allocations: 342.8 kB / 278.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.02301, allocations: 92.95 kB / 278.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.02343, allocations: 306.4 kB / 279.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.0239, allocations: 250.2 kB / 279.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.0239, allocations: 0 / 279.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007131/0.02462, allocations: 374.5 kB / 279.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.02463, allocations: 4 kB / 279.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.02464, allocations: 7.938 kB / 279.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.02476, allocations: 20.83 kB / 279.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.02513, allocations: 95.83 kB / 280 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.02652, allocations: 1.264 MB / 281.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.02671, allocations: 15.94 kB / 281.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.02674, allocations: 12 kB / 281.3 MB, free: 8.191 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 0.000222/0.02696, allocations: 169.7 kB / 281.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.02705, allocations: 51.77 kB / 281.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007016/0.02775, allocations: 349.6 kB / 281.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.02776, allocations: 4 kB / 281.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.02776, allocations: 0 / 281.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008189/0.02858, allocations: 0.6685 MB / 282.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.02988, allocations: 0.7359 MB / 283.2 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02988, allocations: 0 / 283.2 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.03025, allocations: 75.91 kB / 283.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.03025, allocations: 4 kB / 283.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.03028, allocations: 15.92 kB / 283.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.03029, allocations: 7.938 kB / 283.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03029, allocations: 4.125 kB / 283.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.03125, allocations: 0.5699 MB / 283.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.03139, allocations: 55.83 kB / 284 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.03144, allocations: 12 kB / 284 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.03168, allocations: 19.92 kB / 284 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.03176, allocations: 27.95 kB / 284 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.03181, allocations: 12 kB / 284 MB, free: 5.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002965/0.0321, allocations: 235.1 kB / 284.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0321, allocations: 0 / 284.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.03255, allocations: 107.9 kB / 284.4 MB, free: 4.887 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.002049/0.0346, allocations: 449.1 kB / 284.8 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.0354, allocations: 358.4 kB / 285.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.0354, allocations: 0 / 285.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.03567, allocations: 132 kB / 285.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.03631, allocations: 108.7 kB / 285.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.03811, allocations: 0.9016 MB / 286.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.03833, allocations: 195.7 kB / 286.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.0385, allocations: 47.25 kB / 286.5 MB, free: 2.824 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.0386, allocations: 36.5 kB / 286.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.0386, allocations: 0 / 286.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of Templates: time 0.1121/0.1507, allocations: 5.509 MB / 292.1 MB, free: 32.36 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.584628034965135]