Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.001401/0.001401, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001588/0.001588, allocations: 156.9 kB / 24.27 MB, free: 164 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.582/1.582, allocations: 177 MB / 204.4 MB, free: 5.637 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.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.216e-05, allocations: 9.266 kB / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01995/0.01998, allocations: 14.58 MB / 286.8 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1166/0.1366, allocations: 6.267 MB / 293 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006115/0.1372, allocations: 32.56 kB / 293.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.138, allocations: 332.2 kB / 293.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.1404, allocations: 1.152 MB / 294.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004613/0.145, allocations: 1.887 MB / 296.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002832/0.1478, allocations: 2.164 MB / 298.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/0.1486, allocations: 0.5324 MB / 299.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.1501, allocations: 1.066 MB / 300.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.1511, allocations: 0.7799 MB / 301 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.1512, allocations: 81.75 kB / 301 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.1535, allocations: 1.023 MB / 302.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003321/0.1538, allocations: 343.8 kB / 302.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.1543, allocations: 329.8 kB / 302.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.157, allocations: 2.009 MB / 304.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.157, allocations: 0 / 304.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.157, allocations: 0 / 304.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.157, allocations: 4 kB / 304.7 MB, free: 11.77 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002583/0.1596, allocations: 1.21 MB / 306 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1596, allocations: 17.58 kB / 306 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.1601, allocations: 157.3 kB / 306.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/0.161, allocations: 0.5962 MB / 306.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.1612, allocations: 158.5 kB / 306.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.1613, allocations: 66.16 kB / 306.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1626, allocations: 1.168 MB / 308.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1627, allocations: 3.984 kB / 308.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/0.1627, allocations: 29.25 kB / 308.1 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.902e-05/0.1628, allocations: 51.09 kB / 308.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1639, allocations: 0.8291 MB / 309 MB, free: 8.926 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.1682, allocations: 2.616 MB / 311.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/0.1691, allocations: 0.62 MB / 312.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.1696, allocations: 345.9 kB / 312.6 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002141/0.1717, allocations: 1.207 MB / 313.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1718, allocations: 39.06 kB / 313.8 MB, free: 5.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 1.954e-06/0.1718, allocations: 0 / 313.8 MB, free: 5.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.006194/0.178, allocations: 2.707 MB / 316.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.178, allocations: 85.77 kB / 316.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.1785, allocations: 0.5419 MB / 317.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.1786, allocations: 45.7 kB / 317.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1787, allocations: 362.1 kB / 317.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.1788, allocations: 239.7 kB / 317.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.179, allocations: 146.6 kB / 317.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.1791, allocations: 374.8 kB / 318.3 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.1796, allocations: 372.6 kB / 318.7 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.1802, allocations: 0.5431 MB / 319.2 MB, free: 12 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.1818, allocations: 0.8703 MB / 320.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1818, allocations: 0 / 320.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002411/0.1842, allocations: 1.184 MB / 321.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1842, allocations: 4 kB / 321.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.1842, allocations: 4 kB / 321.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.1857, allocations: 456.8 kB / 321.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.1864, allocations: 165.8 kB / 321.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.188, allocations: 1.017 MB / 322.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/0.1886, allocations: 32.03 kB / 322.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.315e-05/0.1887, allocations: 35.98 kB / 323 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001004/0.1897, allocations: 0.5331 MB / 323.5 MB, free: 11.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008956/0.1906, allocations: 0.5294 MB / 324 MB, free: 11.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0015/0.1921, allocations: 0.8502 MB / 324.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.1921, allocations: 0 / 324.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002326/0.1945, allocations: 1.124 MB / 326 MB, free: 9.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1945, allocations: 8.062 kB / 326 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1945, allocations: 8 kB / 326 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008269/0.1953, allocations: 313.8 kB / 326.3 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.196, allocations: 163.8 kB / 326.5 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.1974, allocations: 0.912 MB / 327.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.198, allocations: 28.91 kB / 327.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/0.1981, allocations: 39.92 kB / 327.5 MB, free: 7.602 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.1984, allocations: 224.1 kB / 327.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.1986, allocations: 91.53 kB / 327.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.201, allocations: 1.082 MB / 328.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.201, allocations: 8 kB / 328.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.201, allocations: 4 kB / 328.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.201, allocations: 3.984 kB / 328.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.2045, allocations: 1.784 MB / 330.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2045, allocations: 0 / 330.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.2051, allocations: 123.9 kB / 330.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.2064, allocations: 436.6 kB / 331.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.2065, allocations: 27.92 kB / 331.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.208, allocations: 1.031 MB / 332.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.208, allocations: 0 / 332.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.2109, allocations: 1.613 MB / 333.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.2113, allocations: 155.5 kB / 334 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.2114, allocations: 15.98 kB / 334 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.212, allocations: 23.98 kB / 334.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.2121, allocations: 60.48 kB / 334.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-05/0.2122, allocations: 31.98 kB / 334.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005417/0.2127, allocations: 374.8 kB / 334.5 MB, free: 484 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2127, allocations: 4 kB / 334.5 MB, free: 480 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.001753/0.2145, allocations: 0.5887 MB / 335.1 MB, free: 15.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/0.2157, allocations: 0.512 MB / 335.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003239/0.2189, allocations: 1.329 MB / 337 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2189, allocations: 3.938 kB / 337 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.22, allocations: 446.5 kB / 337.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.2218, allocations: 386 kB / 337.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.2254, allocations: 1.61 MB / 339.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.2259, allocations: 404.5 kB / 339.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009958/0.2269, allocations: 287.7 kB / 340.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.2271, allocations: 80.41 kB / 340.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2271, allocations: 0 / 340.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of Templates: time 0.03896/0.266, allocations: 21.99 MB / 362.1 MB, free: 5.148 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.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: 5.359216060955077]