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.001928/0.001928, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.001965/0.001965, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.568/1.568, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.302e-06/1.302e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.175e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004336/0.004367, allocations: 2.757 MB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.005928, allocations: 0.845 MB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.006055, allocations: 7.938 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.006318, allocations: 71.41 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.006652, allocations: 142.9 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.006864, allocations: 87.75 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.007424, allocations: 454.1 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.007593, allocations: 71.94 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.007903, allocations: 239.5 kB / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.008147, allocations: 135.6 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/0.008213, allocations: 32 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.008293, allocations: 36 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.008387, allocations: 83.69 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.008587, allocations: 139.7 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.009155, allocations: 462.5 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.009158, allocations: 0 / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009159, allocations: 0 / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.009165, allocations: 0 / 277.7 MB, free: 12.28 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.001514/0.01068, allocations: 0.7271 MB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.01072, allocations: 11.98 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.01084, allocations: 64.69 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.01126, allocations: 256.5 kB / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.01139, allocations: 98.17 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.01145, allocations: 28.38 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.01228, allocations: 0.6933 MB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.0123, allocations: 4.172 kB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.01233, allocations: 20.12 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.01234, allocations: 8 kB / 279.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.0128, allocations: 189.9 kB / 279.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.01437, allocations: 0.7713 MB / 280.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.01495, allocations: 267.4 kB / 280.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.01518, allocations: 115.6 kB / 280.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.01522, allocations: 4 kB / 280.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.01526, allocations: 45.33 kB / 281 MB, free: 8.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.343e-06/0.01527, allocations: 0 / 281 MB, free: 8.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001098/0.01636, allocations: 417.8 kB / 281.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.01658, allocations: 312.4 kB / 281.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.01701, allocations: 394.3 kB / 282.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.01705, allocations: 33.7 kB / 282.1 MB, free: 7.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.01724, allocations: 231.5 kB / 282.3 MB, free: 7.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.01737, allocations: 107.1 kB / 282.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.01751, allocations: 83.34 kB / 282.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002993/0.01781, allocations: 0.5235 MB / 283 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.01806, allocations: 117.7 kB / 283.1 MB, free: 6.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/0.01865, allocations: 0.5334 MB / 283.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.01914, allocations: 274.5 kB / 284 MB, free: 5.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01914, allocations: 0 / 284 MB, free: 5.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007466/0.01989, allocations: 414.2 kB / 284.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.01992, allocations: 33.8 kB / 284.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01993, allocations: 4 kB / 284.4 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.0201, allocations: 43.61 kB / 284.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009102/0.02101, allocations: 131.9 kB / 284.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/0.02577, allocations: 4.007 MB / 288.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.02607, allocations: 35.83 kB / 288.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.0261, allocations: 8 kB / 288.6 MB, free: 0.5039 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.0002527/0.02635, allocations: 208.6 kB / 288.8 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.02645, allocations: 43.81 kB / 288.9 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.163e-05/0.02654, allocations: 39.02 kB / 288.9 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.02655, allocations: 4 kB / 288.9 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.02655, allocations: 0 / 288.9 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008435/0.02739, allocations: 0.657 MB / 289.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.02787, allocations: 312.4 kB / 289.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02787, allocations: 4 kB / 289.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.02911, allocations: 183.8 kB / 290 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.059e-05/0.0292, allocations: 23.69 kB / 290.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.02923, allocations: 11.98 kB / 290.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.03352, allocations: 3.819 MB / 293.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.03352, allocations: 3.938 kB / 293.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.03454, allocations: 0.5659 MB / 294.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.0347, allocations: 59.66 kB / 294.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.03475, allocations: 16.08 kB / 294.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.03501, allocations: 12 kB / 294.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.03512, allocations: 31.83 kB / 294.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.03515, allocations: 11.98 kB / 294.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002978/0.03544, allocations: 263 kB / 294.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03544, allocations: 0 / 294.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004444/0.03589, allocations: 99.95 kB / 295 MB, free: 9.734 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.0001695/0.03606, allocations: 103.2 kB / 295.1 MB, free: 9.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.03769, allocations: 0.5959 MB / 295.7 MB, free: 8.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.0377, allocations: 4.188 kB / 295.7 MB, free: 8.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.03914, allocations: 441.7 kB / 296.1 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.03969, allocations: 96.8 kB / 296.2 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.04148, allocations: 0.7665 MB / 296.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.04167, allocations: 173.8 kB / 297.1 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.04182, allocations: 38.95 kB / 297.2 MB, free: 7.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.0419, allocations: 28.5 kB / 297.2 MB, free: 7.379 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0419, allocations: 0 / 297.2 MB, free: 7.379 MB / 282.7 MB Notification: Performance of Templates: time 0.01444/0.05634, allocations: 6.725 MB / 303.9 MB, free: 0.8086 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","/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.778373479959555]