Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 70.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 153.6 kB / 24.49 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 46.48 kB / 319.4 MB, free: 3.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.0931, allocations: 52.16 MB / 371.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01961/0.1127, allocations: 14.57 MB / 386.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.1235, allocations: 6.286 MB / 392.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007079/0.1242, allocations: 27.75 kB / 392.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008892/0.1251, allocations: 318 kB / 392.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1279, allocations: 1.104 MB / 393.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004597/0.1325, allocations: 1.826 MB / 395.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.1358, allocations: 2.214 MB / 397.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009065/0.1367, allocations: 0.522 MB / 398.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.1381, allocations: 0.8333 MB / 399.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.1395, allocations: 0.833 MB / 400.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.1397, allocations: 83.94 kB / 400.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.142, allocations: 1.006 MB / 401.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004031/0.1424, allocations: 323 kB / 401.5 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.143, allocations: 382.4 kB / 401.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.1456, allocations: 1.807 MB / 403.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1456, allocations: 0 / 403.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1456, allocations: 0 / 403.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.1456, allocations: 0 / 403.7 MB, free: 7.27 MB / 366.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.002917/0.1485, allocations: 1.228 MB / 404.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1486, allocations: 12.92 kB / 404.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.1489, allocations: 96.41 kB / 405 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.1501, allocations: 0.5673 MB / 405.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.1502, allocations: 160.1 kB / 405.7 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1504, allocations: 55.98 kB / 405.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.1521, allocations: 1.168 MB / 406.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.1521, allocations: 7.938 kB / 406.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.1522, allocations: 27.98 kB / 407 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-05/0.1523, allocations: 53.27 kB / 407 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.1538, allocations: 0.8365 MB / 407.9 MB, free: 2.891 MB / 366.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.005842/0.1597, allocations: 2.637 MB / 410.5 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1608, allocations: 0.6259 MB / 411.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/0.1614, allocations: 342.1 kB / 411.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002625/0.164, allocations: 1.197 MB / 412.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.164, allocations: 51 kB / 412.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.103e-06/0.164, allocations: 0 / 412.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007333/0.1714, allocations: 2.682 MB / 415.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.1714, allocations: 85.77 kB / 415.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/0.1722, allocations: 0.5535 MB / 416 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.1722, allocations: 41.7 kB / 416.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.1726, allocations: 356.7 kB / 416.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.1728, allocations: 238 kB / 416.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.1731, allocations: 146.6 kB / 416.8 MB, free: 9.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.1734, allocations: 382.7 kB / 417.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006999/0.1741, allocations: 372.6 kB / 417.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008392/0.1749, allocations: 0.548 MB / 418.1 MB, free: 8.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.1763, allocations: 0.8603 MB / 418.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1763, allocations: 0 / 418.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002156/0.1785, allocations: 1.153 MB / 420.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1785, allocations: 8 kB / 420.1 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1785, allocations: 4 kB / 420.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.1799, allocations: 444.9 kB / 420.5 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/0.1805, allocations: 167.8 kB / 420.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.1819, allocations: 1.023 MB / 421.7 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/0.1825, allocations: 28.03 kB / 421.8 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.1826, allocations: 35.98 kB / 421.8 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009075/0.1835, allocations: 0.5331 MB / 422.3 MB, free: 4.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008037/0.1843, allocations: 0.5372 MB / 422.9 MB, free: 3.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001381/0.1856, allocations: 0.8454 MB / 423.7 MB, free: 2.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.1857, allocations: 0 / 423.7 MB, free: 2.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002042/0.1877, allocations: 1.099 MB / 424.8 MB, free: 1.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1877, allocations: 7.938 kB / 424.8 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1877, allocations: 8 kB / 424.8 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007425/0.1885, allocations: 308.8 kB / 425.1 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/0.1891, allocations: 171.7 kB / 425.3 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1903, allocations: 0.9112 MB / 426.2 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.1908, allocations: 36.08 kB / 426.2 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.1909, allocations: 35.94 kB / 426.3 MB, free: 15.96 MB / 398.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.0002805/0.1912, allocations: 228.1 kB / 426.5 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.1913, allocations: 71.58 kB / 426.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.1935, allocations: 1.079 MB / 427.6 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.1935, allocations: 11.94 kB / 427.7 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.1935, allocations: 0 / 427.7 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1935, allocations: 4.078 kB / 427.7 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.1968, allocations: 1.77 MB / 429.4 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.1969, allocations: 7.969 kB / 429.4 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.1975, allocations: 123.8 kB / 429.6 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.1987, allocations: 436.5 kB / 430 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.1988, allocations: 16 kB / 430 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.2001, allocations: 1.036 MB / 431 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2001, allocations: 0 / 431 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.2028, allocations: 1.585 MB / 432.6 MB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.2032, allocations: 163.4 kB / 432.8 MB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2033, allocations: 11.94 kB / 432.8 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005714/0.2039, allocations: 35.97 kB / 432.8 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.204, allocations: 60.55 kB / 432.9 MB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/0.2041, allocations: 27.98 kB / 432.9 MB, free: 9.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004982/0.2046, allocations: 378.8 kB / 433.3 MB, free: 8.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2046, allocations: 0 / 433.3 MB, free: 8.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001641/0.2062, allocations: 0.5849 MB / 433.9 MB, free: 8.25 MB / 398.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.001237/0.2074, allocations: 482 kB / 434.3 MB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003093/0.2105, allocations: 1.338 MB / 435.7 MB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2105, allocations: 0 / 435.7 MB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009987/0.2115, allocations: 439.5 kB / 436.1 MB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.2131, allocations: 365.8 kB / 436.5 MB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.2167, allocations: 1.739 MB / 438.2 MB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.2172, allocations: 400.5 kB / 438.6 MB, free: 3.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009206/0.2182, allocations: 286 kB / 438.9 MB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.2184, allocations: 76.41 kB / 438.9 MB, free: 3.129 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2184, allocations: 3.938 kB / 438.9 MB, free: 3.125 MB / 398.1 MB Notification: Performance of Templates: time 0.03843/0.2568, allocations: 22 MB / 460.9 MB, free: 13.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.450442060013302]