Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000979/0.000979, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8926/0.8926, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 273.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.71e-05, allocations: 5.266 kB / 273.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004059/0.004087, allocations: 2.755 MB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.005926, allocations: 0.8603 MB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.006142, allocations: 7.938 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.006448, allocations: 75.41 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.006828, allocations: 146.8 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.007093, allocations: 91.75 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.007733, allocations: 466 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.007921, allocations: 74.48 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005949/0.008515, allocations: 243.5 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.008782, allocations: 139.6 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.008849, allocations: 36 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.546e-05/0.008915, allocations: 36 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.008989, allocations: 75.75 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.009157, allocations: 139.7 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.009594, allocations: 291.1 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.009597, allocations: 0 / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009598, allocations: 3.938 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.009606, allocations: 3.938 kB / 278.8 MB, free: 11.68 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001012/0.01062, allocations: 0.5831 MB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.01066, allocations: 11.98 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.01076, allocations: 48.89 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.01111, allocations: 205.8 kB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.01122, allocations: 102.2 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.01128, allocations: 28.38 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.01182, allocations: 0.6089 MB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01183, allocations: 192 / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.01186, allocations: 16.12 kB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.01187, allocations: 4 kB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.01204, allocations: 79.38 kB / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.0131, allocations: 470 kB / 280.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.01339, allocations: 138.5 kB / 281 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/0.01348, allocations: 48.84 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.01351, allocations: 11.94 kB / 281.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.01354, allocations: 38.56 kB / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.615e-06/0.01355, allocations: 0 / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006012/0.01415, allocations: 223.1 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.01429, allocations: 320.4 kB / 281.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.01453, allocations: 259 kB / 281.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.01456, allocations: 33.7 kB / 282 MB, free: 8.152 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.01465, allocations: 149.4 kB / 282.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.01474, allocations: 103.1 kB / 282.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.01485, allocations: 69.67 kB / 282.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01498, allocations: 346.7 kB / 282.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.01508, allocations: 53.69 kB / 282.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.01535, allocations: 426.7 kB / 283.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.01558, allocations: 158.6 kB / 283.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.01559, allocations: 4 kB / 283.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003834/0.01597, allocations: 243.6 kB / 283.5 MB, free: 6.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.01601, allocations: 37.58 kB / 283.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.01602, allocations: 4 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.01615, allocations: 24.84 kB / 283.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.01672, allocations: 135.9 kB / 283.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.01829, allocations: 2.534 MB / 286.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.01848, allocations: 35.83 kB / 286.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.0185, allocations: 11.94 kB / 286.3 MB, free: 3.496 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.01862, allocations: 133.8 kB / 286.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.01866, allocations: 31.97 kB / 286.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.01871, allocations: 39.08 kB / 286.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01871, allocations: 4 kB / 286.5 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01871, allocations: 0 / 286.5 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002792/0.01899, allocations: 0.5254 MB / 287 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.01921, allocations: 201.6 kB / 287.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01921, allocations: 0 / 287.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.0197, allocations: 179.8 kB / 287.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-05/0.01975, allocations: 20.83 kB / 287.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01976, allocations: 8 kB / 287.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.02092, allocations: 2.449 MB / 289.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02092, allocations: 0 / 289.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.02118, allocations: 308.2 kB / 290.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.02126, allocations: 43.69 kB / 290.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.02128, allocations: 11.94 kB / 290.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.02141, allocations: 15.98 kB / 290.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.02146, allocations: 23.95 kB / 290.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.02147, allocations: 8 kB / 290.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.02154, allocations: 96.66 kB / 290.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02154, allocations: 0 / 290.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.02177, allocations: 100 kB / 290.4 MB, free: 14.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.02188, allocations: 92.34 kB / 290.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005711/0.02245, allocations: 429 kB / 290.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.02246, allocations: 7.938 kB / 290.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.02294, allocations: 327.7 kB / 291.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.02322, allocations: 104.7 kB / 291.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.0244, allocations: 0.6724 MB / 292 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.561e-05/0.02446, allocations: 97.3 kB / 292.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.893e-05/0.02456, allocations: 38.95 kB / 292.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.02479, allocations: 185.2 kB / 292.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02479, allocations: 0 / 292.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of Templates: time 0.008364/0.03315, allocations: 7.222 MB / 299.6 MB, free: 5.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.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.7436554809100926]