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.001009/0.001009, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001032/0.001032, allocations: 151.7 kB / 24.81 MB, free: 9.27 MB / 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 0.9626/0.9626, allocations: 173.4 MB / 201.4 MB, free: 9.195 MB / 186.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.452e-06/1.452e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.89e-05, allocations: 6.25 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003022/0.003041, allocations: 2.975 MB / 271.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.004732, allocations: 1.242 MB / 272.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.004882, allocations: 7.938 kB / 272.6 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.005286, allocations: 139.1 kB / 272.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.005652, allocations: 186.7 kB / 272.9 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.006021, allocations: 179.4 kB / 273.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.006434, allocations: 453.7 kB / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.006567, allocations: 71.89 kB / 273.6 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.006789, allocations: 251.4 kB / 273.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.006957, allocations: 143.6 kB / 274 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.006993, allocations: 28 kB / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.007089, allocations: 67.86 kB / 274.1 MB, free: 472 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.007156, allocations: 83.67 kB / 274.2 MB, free: 388 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.007254, allocations: 123.7 kB / 274.3 MB, free: 264 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.007572, allocations: 310.8 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007575, allocations: 4 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007575, allocations: 0 / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.00758, allocations: 0 / 274.6 MB, free: 15.95 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.0007303/0.00831, allocations: 0.7225 MB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.008355, allocations: 8.922 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.008435, allocations: 60.7 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.00869, allocations: 260.4 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.008712, allocations: 16.88 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.008749, allocations: 28.38 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.009063, allocations: 483.7 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.009077, allocations: 7.938 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.009094, allocations: 8 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.009101, allocations: 11.94 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.009216, allocations: 91.39 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.009928, allocations: 0.688 MB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.01017, allocations: 176.4 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.01023, allocations: 60.14 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.01025, allocations: 8.281 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.0105, allocations: 230.3 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 2.866e-06/0.0105, allocations: 3.938 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001811/0.01231, allocations: 0.853 MB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.0124, allocations: 183.9 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.01272, allocations: 338.2 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.01276, allocations: 37.7 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.01292, allocations: 239.4 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.01305, allocations: 158.6 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.01316, allocations: 83.77 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01331, allocations: 0.5273 MB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.01337, allocations: 36.97 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.01354, allocations: 282.7 kB / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.01377, allocations: 164.3 kB / 280.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.01377, allocations: 4 kB / 280.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004263/0.0142, allocations: 281.3 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.01422, allocations: 4 kB / 280.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.01423, allocations: 0 / 280.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.543e-05/0.0143, allocations: 23.61 kB / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.01461, allocations: 91.84 kB / 280.7 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.01567, allocations: 1.705 MB / 282.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.01585, allocations: 15.98 kB / 282.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.01587, allocations: 12 kB / 282.4 MB, free: 7.484 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.0004074/0.01628, allocations: 176.5 kB / 282.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.01636, allocations: 55.7 kB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.01676, allocations: 256.5 kB / 282.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.01677, allocations: 4 kB / 282.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01677, allocations: 4.062 kB / 282.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004297/0.0172, allocations: 0.5863 MB / 283.5 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.01809, allocations: 0.6683 MB / 284.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.01809, allocations: 4 kB / 284.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.01838, allocations: 83.83 kB / 284.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01838, allocations: 4 kB / 284.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.0184, allocations: 12.12 kB / 284.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.0184, allocations: 8.062 kB / 284.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.0184, allocations: 4 kB / 284.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.01892, allocations: 0.4922 MB / 284.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.01905, allocations: 55.73 kB / 284.8 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.01909, allocations: 19.98 kB / 284.9 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.01928, allocations: 8 kB / 284.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.01933, allocations: 31.89 kB / 284.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.01936, allocations: 15.98 kB / 284.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.01953, allocations: 226.9 kB / 285.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01953, allocations: 0 / 285.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00039/0.01992, allocations: 95.98 kB / 285.2 MB, free: 4.48 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.0008535/0.02077, allocations: 409.1 kB / 285.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.02112, allocations: 342 kB / 286 MB, free: 3.859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02112, allocations: 0 / 286 MB, free: 3.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.983e-05/0.02122, allocations: 107.2 kB / 286.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.02157, allocations: 101.5 kB / 286.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.02275, allocations: 0.8713 MB / 287 MB, free: 2.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.527e-05/0.02281, allocations: 113.8 kB / 287.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.02292, allocations: 43.27 kB / 287.2 MB, free: 2.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.02313, allocations: 190.1 kB / 287.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02313, allocations: 0 / 287.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of Templates: time 0.09433/0.1175, allocations: 6.018 MB / 293.4 MB, free: 28.92 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8655218188650906]