Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.001374/0.001374, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.001466/0.001466, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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 1.434/1.434, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.939e-06/4.939e-06, allocations: 4 kB / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/3.031e-05, allocations: 2.281 kB / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01835/0.01838, allocations: 14.47 MB / 313.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.02916, allocations: 6.219 MB / 319.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.02981, allocations: 31.75 kB / 319.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009673/0.03078, allocations: 333.8 kB / 320 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.03371, allocations: 1.126 MB / 321.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.03865, allocations: 1.92 MB / 323 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.175/0.2137, allocations: 2.162 MB / 325.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.2149, allocations: 0.5117 MB / 325.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.217, allocations: 1.056 MB / 326.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.2184, allocations: 0.7715 MB / 327.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.2186, allocations: 80.19 kB / 327.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.2213, allocations: 1.016 MB / 328.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.2217, allocations: 346.1 kB / 329 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.2223, allocations: 329.5 kB / 329.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.2261, allocations: 1.985 MB / 331.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2261, allocations: 1.875 kB / 331.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2261, allocations: 0 / 331.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.2261, allocations: 3.562 kB / 331.3 MB, free: 14.7 MB / 302.1 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.003313/0.2294, allocations: 1.213 MB / 332.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2294, allocations: 14.08 kB / 332.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.2298, allocations: 102.2 kB / 332.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2308, allocations: 0.5568 MB / 333.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.231, allocations: 171 kB / 333.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.2311, allocations: 59.05 kB / 333.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.2327, allocations: 1.171 MB / 334.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2328, allocations: 1.031 kB / 334.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.2328, allocations: 24.72 kB / 334.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.895e-05/0.2329, allocations: 57.28 kB / 334.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.2344, allocations: 0.8337 MB / 335.5 MB, free: 13.2 MB / 302.1 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.005567/0.2399, allocations: 2.623 MB / 338.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.241, allocations: 0.6255 MB / 338.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.2416, allocations: 342.8 kB / 339.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002404/0.244, allocations: 1.199 MB / 340.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.244, allocations: 41.09 kB / 340.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.966e-06/0.244, allocations: 4 kB / 340.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.00705/0.251, allocations: 2.686 MB / 343 MB, free: 10.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.2511, allocations: 83.64 kB / 343.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.2518, allocations: 0.5471 MB / 343.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/0.2518, allocations: 39.17 kB / 343.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.252, allocations: 359.9 kB / 344 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.2522, allocations: 237.4 kB / 344.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.2524, allocations: 149.1 kB / 344.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2525, allocations: 383.6 kB / 344.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.2531, allocations: 375 kB / 345.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.2537, allocations: 0.5379 MB / 345.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2549, allocations: 0.8635 MB / 346.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2549, allocations: 3.844 kB / 346.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001755/0.2566, allocations: 1.151 MB / 347.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2567, allocations: 9.938 kB / 347.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2567, allocations: 8.344 kB / 347.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.2579, allocations: 451.9 kB / 348.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.2586, allocations: 164.9 kB / 348.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.2597, allocations: 1.022 MB / 349.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.2603, allocations: 29.03 kB / 349.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.2604, allocations: 36.55 kB / 349.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007795/0.2612, allocations: 0.5327 MB / 349.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006017/0.2618, allocations: 0.5301 MB / 350.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001086/0.2629, allocations: 0.8529 MB / 351.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.109e-06/0.2629, allocations: 7.531 kB / 351.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001665/0.2645, allocations: 1.086 MB / 352.4 MB, free: 4.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2646, allocations: 11.94 kB / 352.4 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2646, allocations: 4 kB / 352.4 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.2652, allocations: 310.4 kB / 352.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.2658, allocations: 166.1 kB / 352.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008065/0.2666, allocations: 0.9062 MB / 353.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.2673, allocations: 32.03 kB / 353.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.2673, allocations: 31.98 kB / 353.8 MB, free: 3.262 MB / 302.1 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.000274/0.2676, allocations: 234.2 kB / 354.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.2677, allocations: 71.58 kB / 354.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.2695, allocations: 1.07 MB / 355.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2695, allocations: 8 kB / 355.2 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2696, allocations: 3.938 kB / 355.2 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.2696, allocations: 3.984 kB / 355.2 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.2722, allocations: 1.787 MB / 357 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2722, allocations: 0 / 357 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/0.2729, allocations: 122 kB / 357.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.2742, allocations: 445.8 kB / 357.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.2742, allocations: 20.86 kB / 357.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.2756, allocations: 1.033 MB / 358.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2756, allocations: 0 / 358.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.2784, allocations: 1.587 MB / 360.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.2789, allocations: 167.4 kB / 360.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.279, allocations: 12 kB / 360.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/0.2796, allocations: 41.34 kB / 360.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.2798, allocations: 52.55 kB / 360.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/0.2798, allocations: 27.98 kB / 360.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005877/0.2804, allocations: 378.8 kB / 360.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2804, allocations: 0 / 360.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002114/0.2825, allocations: 0.5809 MB / 361.5 MB, free: 11.59 MB / 318.1 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.001356/0.2839, allocations: 0.5194 MB / 362 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.2871, allocations: 1.323 MB / 363.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2871, allocations: 256 / 363.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2881, allocations: 456 kB / 363.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.29, allocations: 365.9 kB / 364.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.2936, allocations: 1.59 MB / 365.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.294, allocations: 396.5 kB / 366.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001008/0.295, allocations: 297.8 kB / 366.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.2952, allocations: 76.47 kB / 366.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2952, allocations: 0 / 366.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of Templates: time 0.04076/0.336, allocations: 21.93 MB / 388.4 MB, free: 0.7578 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.349908981472254]