Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.0007929/0.0007929, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.001329/0.001329, allocations: 168.1 kB / 25.33 MB, free: 9.449 MB / 18.57 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 0.9491/0.9491, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.348e-05, allocations: 2.312 kB / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004263/0.004286, allocations: 2.878 MB / 253.9 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.006391, allocations: 1.17 MB / 255.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.00654, allocations: 0 / 255.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.007008, allocations: 187 kB / 255.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.007396, allocations: 214.6 kB / 255.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.00769, allocations: 143.6 kB / 255.6 MB, free: 15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.008102, allocations: 477.6 kB / 256.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.008246, allocations: 67.95 kB / 256.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.008477, allocations: 255.4 kB / 256.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.008667, allocations: 175.6 kB / 256.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.008709, allocations: 28 kB / 256.6 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.008818, allocations: 67.92 kB / 256.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.008901, allocations: 95.59 kB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.009007, allocations: 127.7 kB / 256.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.009358, allocations: 342.7 kB / 257.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.009361, allocations: 0 / 257.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.009362, allocations: 4 kB / 257.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.009366, allocations: 0 / 257.2 MB, free: 13.39 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007516/0.01012, allocations: 0.7329 MB / 257.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.01016, allocations: 11.98 kB / 258 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.01025, allocations: 64.59 kB / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.01057, allocations: 287.2 kB / 258.3 MB, free: 12.24 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.01059, allocations: 12.88 kB / 258.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.01064, allocations: 36.33 kB / 258.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.01107, allocations: 0.5735 MB / 258.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.01109, allocations: 3.938 kB / 258.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.01111, allocations: 12 kB / 258.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01112, allocations: 4 kB / 258.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.01126, allocations: 90.92 kB / 259 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.01212, allocations: 0.6841 MB / 259.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.01233, allocations: 135.6 kB / 259.8 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.0124, allocations: 51.66 kB / 259.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.01242, allocations: 4 kB / 259.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.01258, allocations: 172.2 kB / 260.1 MB, free: 10.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.01258, allocations: 0 / 260.1 MB, free: 10.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004695/0.01305, allocations: 265.5 kB / 260.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.01315, allocations: 328.4 kB / 260.6 MB, free: 9.594 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.01345, allocations: 418.8 kB / 261.1 MB, free: 9.168 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.01348, allocations: 29.7 kB / 261.1 MB, free: 9.133 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.01361, allocations: 259.1 kB / 261.3 MB, free: 8.875 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.01367, allocations: 83.27 kB / 261.4 MB, free: 8.793 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.01373, allocations: 63.36 kB / 261.5 MB, free: 8.723 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01387, allocations: 0.5235 MB / 262 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.01393, allocations: 35.97 kB / 262 MB, free: 8.152 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.01413, allocations: 428.6 kB / 262.5 MB, free: 7.613 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01429, allocations: 134.6 kB / 262.6 MB, free: 7.465 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.01429, allocations: 4 kB / 262.6 MB, free: 7.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002761/0.01457, allocations: 236.9 kB / 262.8 MB, free: 7.219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01458, allocations: 14.91 kB / 262.8 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01459, allocations: 0 / 262.8 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.01469, allocations: 27.67 kB / 262.9 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.01481, allocations: 51.91 kB / 262.9 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/0.01578, allocations: 1.842 MB / 264.8 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01588, allocations: 23.88 kB / 264.8 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.01589, allocations: 12 kB / 264.8 MB, free: 5.125 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 26 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.016, allocations: 176.5 kB / 265 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.01604, allocations: 59.66 kB / 265 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.0163, allocations: 216.8 kB / 265.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01631, allocations: 4 kB / 265.2 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01631, allocations: 0 / 265.2 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002744/0.01658, allocations: 0.5436 MB / 265.8 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.0171, allocations: 0.6212 MB / 266.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01711, allocations: 3.938 kB / 266.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.01723, allocations: 51.91 kB / 266.5 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01723, allocations: 0 / 266.5 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.01724, allocations: 8 kB / 266.5 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01725, allocations: 3.938 kB / 266.5 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01725, allocations: 3.984 kB / 266.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.01756, allocations: 395.9 kB / 266.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.01764, allocations: 59.67 kB / 266.9 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01766, allocations: 8 kB / 266.9 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.01777, allocations: 23.92 kB / 267 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.0178, allocations: 11.97 kB / 267 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.01782, allocations: 12.03 kB / 267 MB, free: 2.746 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.018, allocations: 279.1 kB / 267.2 MB, free: 2.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.018, allocations: 0 / 267.2 MB, free: 2.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.01827, allocations: 99.88 kB / 267.3 MB, free: 2.383 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * 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 (24): * Single equations (assignments): 22 * 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.0008471/0.01912, allocations: 400.5 kB / 267.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.01955, allocations: 332.2 kB / 268.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.01956, allocations: 4 kB / 268.1 MB, free: 1.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.01964, allocations: 67.59 kB / 268.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.02001, allocations: 110.1 kB / 268.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.02135, allocations: 0.6931 MB / 268.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.02143, allocations: 108.6 kB / 269 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.02154, allocations: 42.95 kB / 269.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.0216, allocations: 40.44 kB / 269.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0216, allocations: 0 / 269.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of Templates: time 0.009023/0.03062, allocations: 6.448 MB / 275.6 MB, free: 10.1 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.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.9424062222242355]