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.001124/0.001124, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004739/0.004739, allocations: 157.7 kB / 24.7 MB, free: 8.891 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.8797/0.8797, allocations: 177 MB / 204.9 MB, free: 5.73 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.583e-06/1.583e-06, allocations: 0 / 325.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.141e-05, allocations: 3.125 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.002375/0.002396, allocations: 2.579 MB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.003312, allocations: 0.8061 MB / 329.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003418, allocations: 7.938 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.003631, allocations: 75.41 kB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.003826, allocations: 138.9 kB / 329.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.003985, allocations: 99.69 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.004336, allocations: 453.3 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.004471, allocations: 60 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.004647, allocations: 247.5 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.004793, allocations: 127.7 kB / 330.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.004833, allocations: 36 kB / 330.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.681e-05/0.00487, allocations: 32 kB / 330.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.004921, allocations: 83.67 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.005013, allocations: 131.7 kB / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.005343, allocations: 466.5 kB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005346, allocations: 4 kB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005347, allocations: 0 / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.005352, allocations: 0 / 331.1 MB, free: 10.07 MB / 298.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.0007409/0.006092, allocations: 0.604 MB / 331.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.006126, allocations: 11.98 kB / 331.7 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.006189, allocations: 48.7 kB / 331.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.006483, allocations: 245.7 kB / 332 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.006571, allocations: 102.2 kB / 332.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.00661, allocations: 20.38 kB / 332.1 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.007057, allocations: 0.6707 MB / 332.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.007072, allocations: 192 / 332.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.007095, allocations: 20.11 kB / 332.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007101, allocations: 4 kB / 332.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.007354, allocations: 205.9 kB / 333 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.00817, allocations: 0.6505 MB / 333.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.008511, allocations: 251 kB / 333.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.008633, allocations: 112.8 kB / 334 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.008661, allocations: 12.03 kB / 334 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.008689, allocations: 42.5 kB / 334 MB, free: 6.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.182e-06/0.00869, allocations: 0 / 334 MB, free: 6.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006441/0.009334, allocations: 407 kB / 334.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.009425, allocations: 320.4 kB / 334.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.009612, allocations: 280.2 kB / 335 MB, free: 5.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.009637, allocations: 33.7 kB / 335 MB, free: 5.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.009727, allocations: 176.7 kB / 335.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.009785, allocations: 107.1 kB / 335.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.009857, allocations: 69.45 kB / 335.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.009947, allocations: 342.8 kB / 335.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.01008, allocations: 117.7 kB / 335.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.01034, allocations: 494.7 kB / 336.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.01061, allocations: 267.2 kB / 336.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01061, allocations: 0 / 336.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00039/0.011, allocations: 399.4 kB / 337 MB, free: 3.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.01103, allocations: 37.78 kB / 337 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01104, allocations: 4 kB / 337 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.01116, allocations: 40.84 kB / 337.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.0116, allocations: 155.8 kB / 337.2 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.01357, allocations: 2.968 MB / 340.2 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.01369, allocations: 32.02 kB / 340.2 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01371, allocations: 11.98 kB / 340.2 MB, free: 156 kB / 298.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.0001237/0.01383, allocations: 149.9 kB / 340.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.01387, allocations: 43.75 kB / 340.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.01391, allocations: 39.03 kB / 340.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.01391, allocations: 7.984 kB / 340.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.01391, allocations: 0 / 340.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004086/0.01432, allocations: 0.654 MB / 341.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.01454, allocations: 265 kB / 341.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01454, allocations: 0 / 341.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.0151, allocations: 215.7 kB / 341.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.521e-05/0.01515, allocations: 24.78 kB / 341.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01516, allocations: 8 kB / 341.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.01677, allocations: 2.777 MB / 344.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01677, allocations: 3.938 kB / 344.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.01725, allocations: 0.5042 MB / 344.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.01733, allocations: 67.69 kB / 345 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.01735, allocations: 8 kB / 345 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.01747, allocations: 16.11 kB / 345 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.01753, allocations: 31.89 kB / 345 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.01754, allocations: 4 kB / 345 MB, free: 10.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.01766, allocations: 211 kB / 345.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.988e-06/0.01766, allocations: 0 / 345.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.01791, allocations: 99.95 kB / 345.3 MB, free: 10.68 MB / 314.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.0001004/0.01801, allocations: 103.3 kB / 345.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000795/0.0188, allocations: 0.5586 MB / 346 MB, free: 9.973 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01881, allocations: 4.188 kB / 346 MB, free: 9.969 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.01941, allocations: 386.4 kB / 346.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.01973, allocations: 91.28 kB / 346.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.02074, allocations: 0.7849 MB / 347.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.02085, allocations: 169.8 kB / 347.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.02091, allocations: 36.48 kB / 347.4 MB, free: 8.445 MB / 314.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02091, allocations: 0 / 347.4 MB, free: 8.445 MB / 314.7 MB Notification: Performance of Templates: time 0.005639/0.02654, allocations: 7 MB / 354.4 MB, free: 1.48 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.799922865815461]