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.0009046/0.0009046, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002223, allocations: 449.7 kB / 10.37 MB, free: 332 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.0009183/0.0009183, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002084, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.8967/0.8967, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07398/0.9707, allocations: 52.5 MB / 238.3 MB, free: 4.414 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.293e-06/1.293e-06, allocations: 3.938 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.055e-05, allocations: 2.312 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004341/0.004361, allocations: 3.032 MB / 242.6 MB, free: 132 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.006662, allocations: 1.285 MB / 243.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.006854, allocations: 7.938 kB / 243.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.007268, allocations: 139.1 kB / 244 MB, free: 14.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.007725, allocations: 186.7 kB / 244.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.008184, allocations: 171.4 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.00875, allocations: 445.9 kB / 244.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.008922, allocations: 70.58 kB / 244.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.009342, allocations: 314.4 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.009599, allocations: 139.6 kB / 245.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.009652, allocations: 28 kB / 245.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.009792, allocations: 59.94 kB / 245.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.009879, allocations: 67.67 kB / 245.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.01002, allocations: 107.8 kB / 245.6 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.01043, allocations: 283 kB / 245.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684e-05/0.01045, allocations: 4 kB / 245.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01045, allocations: 0 / 245.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.01047, allocations: 0 / 245.8 MB, free: 12.85 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.0009588/0.01143, allocations: 0.66 MB / 246.5 MB, free: 12.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.01146, allocations: 12.03 kB / 246.5 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.01155, allocations: 52.89 kB / 246.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.01189, allocations: 221.7 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.01191, allocations: 20.88 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.01196, allocations: 28.38 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.01239, allocations: 481.5 kB / 247.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.01241, allocations: 7.875 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.01244, allocations: 12 kB / 247.3 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.01245, allocations: 4 kB / 247.3 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.01262, allocations: 90.2 kB / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.01355, allocations: 0.5373 MB / 247.9 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.01387, allocations: 194.5 kB / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.01396, allocations: 49.39 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.01399, allocations: 8.281 kB / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.01422, allocations: 231.4 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.01422, allocations: 0 / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001589/0.01581, allocations: 0.8178 MB / 249.2 MB, free: 9.176 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.01585, allocations: 59.34 kB / 249.3 MB, free: 9.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.0161, allocations: 292.6 kB / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.01612, allocations: 33.7 kB / 249.6 MB, free: 8.762 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.01621, allocations: 153.3 kB / 249.8 MB, free: 8.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.01631, allocations: 142.8 kB / 249.9 MB, free: 8.465 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.01641, allocations: 82.14 kB / 250 MB, free: 8.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01652, allocations: 350.7 kB / 250.3 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.0166, allocations: 35.81 kB / 250.4 MB, free: 7.992 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.01678, allocations: 254.3 kB / 250.6 MB, free: 7.684 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.01698, allocations: 160.9 kB / 250.8 MB, free: 7.512 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01698, allocations: 0 / 250.8 MB, free: 7.512 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003059/0.01729, allocations: 220.5 kB / 251 MB, free: 7.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01731, allocations: 7.984 kB / 251 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.01731, allocations: 4 kB / 251 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.838e-05/0.01737, allocations: 12.86 kB / 251 MB, free: 7.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.01777, allocations: 126.9 kB / 251.1 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007732/0.01854, allocations: 1.158 MB / 252.3 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.01868, allocations: 12 kB / 252.3 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.0187, allocations: 12 kB / 252.3 MB, free: 5.871 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 0.0001271/0.01883, allocations: 136.5 kB / 252.4 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.01888, allocations: 39.95 kB / 252.5 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.01919, allocations: 206 kB / 252.7 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01919, allocations: 4 kB / 252.7 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01919, allocations: 8 kB / 252.7 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003535/0.01955, allocations: 0.5435 MB / 253.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.02028, allocations: 0.537 MB / 253.8 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.02028, allocations: 0 / 253.8 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.02065, allocations: 99.88 kB / 253.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.02075, allocations: 39.88 kB / 253.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.02075, allocations: 8 kB / 253.9 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.02077, allocations: 15.94 kB / 253.9 MB, free: 4.078 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.02078, allocations: 3.984 kB / 253.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.02078, allocations: 4 kB / 253.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.0212, allocations: 406.6 kB / 254.3 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.02124, allocations: 12 kB / 254.4 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.02142, allocations: 19.98 kB / 254.4 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.02147, allocations: 27.95 kB / 254.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.0215, allocations: 16 kB / 254.4 MB, free: 3.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.02163, allocations: 115.4 kB / 254.5 MB, free: 3.453 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.02163, allocations: 3.938 kB / 254.5 MB, free: 3.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.022, allocations: 99.89 kB / 254.6 MB, free: 3.352 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.001761/0.02376, allocations: 0.5593 MB / 255.2 MB, free: 3.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.02416, allocations: 281.5 kB / 255.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/0.02417, allocations: 8 kB / 255.5 MB, free: 2.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.02431, allocations: 104.2 kB / 255.6 MB, free: 2.664 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.02476, allocations: 125 kB / 255.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.02983, allocations: 0.7708 MB / 256.5 MB, free: 1.727 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.619e-05/0.02992, allocations: 105.7 kB / 256.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.03009, allocations: 51.25 kB / 256.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.0304, allocations: 165.3 kB / 256.8 MB, free: 1.391 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0304, allocations: 0 / 256.8 MB, free: 1.391 MB / 250.7 MB Notification: Performance of Templates: time 0.01171/0.04211, allocations: 6.657 MB / 263.4 MB, free: 10.89 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.613442176952958]