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.0009377/0.0009377, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009943/0.0009943, allocations: 166.2 kB / 25.69 MB, free: 8.457 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.8518/0.8518, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.473e-06/1.473e-06, allocations: 0 / 251.5 MB, free: 7.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.518e-05, allocations: 2.312 kB / 251.5 MB, free: 7.309 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003075/0.00309, allocations: 2.856 MB / 254.4 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.004661, allocations: 1.189 MB / 255.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.004821, allocations: 7.938 kB / 255.6 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.005502, allocations: 183.1 kB / 255.7 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.005879, allocations: 214.7 kB / 255.9 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.006168, allocations: 151.5 kB / 256.1 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00047/0.006638, allocations: 473.6 kB / 256.6 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.006788, allocations: 70.56 kB / 256.6 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.007048, allocations: 263.3 kB / 256.9 MB, free: 1.891 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.007238, allocations: 159.6 kB / 257 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.007275, allocations: 28 kB / 257.1 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.007381, allocations: 71.86 kB / 257.1 MB, free: 1.637 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.007453, allocations: 91.69 kB / 257.2 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.007554, allocations: 127.7 kB / 257.3 MB, free: 1.422 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.007861, allocations: 338.7 kB / 257.7 MB, free: 1.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007862, allocations: 0 / 257.7 MB, free: 1.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007863, allocations: 0 / 257.7 MB, free: 1.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.007866, allocations: 0 / 257.7 MB, free: 1.09 MB / 234.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.000555/0.008421, allocations: 0.5964 MB / 258.3 MB, free: 480 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.00845, allocations: 11.98 kB / 258.3 MB, free: 468 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.008512, allocations: 48.89 kB / 258.3 MB, free: 420 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.008747, allocations: 244 kB / 258.6 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.008768, allocations: 12.88 kB / 258.6 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.0088, allocations: 36.31 kB / 258.6 MB, free: 100 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.00912, allocations: 0.5419 MB / 259.2 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.009131, allocations: 7.922 kB / 259.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.009146, allocations: 12 kB / 259.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.009152, allocations: 4 kB / 259.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.009234, allocations: 66.22 kB / 259.2 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.009877, allocations: 482.7 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.01003, allocations: 145.2 kB / 259.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.01007, allocations: 36.84 kB / 259.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.01009, allocations: 4 kB / 259.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.01022, allocations: 161.5 kB / 260.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.01022, allocations: 0 / 260.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003286/0.01055, allocations: 190.9 kB / 260.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.01064, allocations: 312.4 kB / 260.6 MB, free: 13.9 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.01084, allocations: 352.9 kB / 260.9 MB, free: 13.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.01086, allocations: 33.7 kB / 260.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.01093, allocations: 165.3 kB / 261.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.01098, allocations: 87.25 kB / 261.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.01103, allocations: 53.67 kB / 261.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.01112, allocations: 354.7 kB / 261.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.01115, allocations: 26.83 kB / 261.6 MB, free: 12.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.0113, allocations: 377 kB / 262 MB, free: 12.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.0114, allocations: 110.1 kB / 262.1 MB, free: 12.22 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.0114, allocations: 0 / 262.1 MB, free: 12.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001719/0.01157, allocations: 165.1 kB / 262.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.01158, allocations: 4 kB / 262.2 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01159, allocations: 8.094 kB / 262.2 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.98e-05/0.01166, allocations: 20.78 kB / 262.3 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01177, allocations: 55.91 kB / 262.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.01278, allocations: 1.253 MB / 263.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.01288, allocations: 23.89 kB / 263.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01289, allocations: 8 kB / 263.6 MB, free: 10.58 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 9.891e-05/0.01299, allocations: 124.7 kB / 263.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.01303, allocations: 43.83 kB / 263.8 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.01321, allocations: 162 kB / 263.9 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01322, allocations: 4 kB / 263.9 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.01322, allocations: 0 / 263.9 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002246/0.01344, allocations: 0.493 MB / 264.4 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.01385, allocations: 481.3 kB / 264.9 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01386, allocations: 0 / 264.9 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.01397, allocations: 47.92 kB / 264.9 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.01397, allocations: 3.938 kB / 264.9 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.01398, allocations: 11.98 kB / 265 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01398, allocations: 0 / 265 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01398, allocations: 0 / 265 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.01419, allocations: 318.4 kB / 265.3 MB, free: 8.738 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.01425, allocations: 43.69 kB / 265.3 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.01428, allocations: 12.03 kB / 265.3 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.01437, allocations: 8 kB / 265.3 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.0144, allocations: 11.97 kB / 265.3 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01442, allocations: 8 kB / 265.4 MB, free: 8.656 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.01452, allocations: 151.5 kB / 265.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01452, allocations: 0 / 265.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.01475, allocations: 99.88 kB / 265.6 MB, free: 8.41 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.0009643/0.01571, allocations: 0.5078 MB / 266.1 MB, free: 7.949 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.016, allocations: 254.2 kB / 266.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.01601, allocations: 8 kB / 266.4 MB, free: 7.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.869e-05/0.01606, allocations: 52.77 kB / 266.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.01634, allocations: 114.2 kB / 266.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/0.01733, allocations: 0.6813 MB / 267.2 MB, free: 6.805 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.01739, allocations: 100.5 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.916e-05/0.01749, allocations: 46.95 kB / 267.4 MB, free: 6.641 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.0177, allocations: 177.2 kB / 267.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0177, allocations: 0 / 267.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of Templates: time 0.008265/0.02597, allocations: 6.931 MB / 274.5 MB, free: 15.52 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.6458418858237565]