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.001279/0.001279, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001368/0.001368, allocations: 187.8 kB / 23.7 MB, free: 4.188 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.493/1.493, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.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.00174/0.00174, allocations: 51.92 kB / 370.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2533, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01807/0.2714, allocations: 14.56 MB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.2819, allocations: 6.274 MB / 443.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.2826, allocations: 31.75 kB / 443.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009348/0.2836, allocations: 322 kB / 444.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.2865, allocations: 1.1 MB / 445.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004578/0.2911, allocations: 1.835 MB / 447.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.2942, allocations: 2.21 MB / 449.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009142/0.2951, allocations: 0.518 MB / 449.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.2968, allocations: 0.8294 MB / 450.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.2983, allocations: 0.8368 MB / 451.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.2985, allocations: 80 kB / 451.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.3008, allocations: 1.01 MB / 452.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004273/0.3013, allocations: 319 kB / 453 MB, free: 500 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005857/0.3019, allocations: 390.3 kB / 453.3 MB, free: 108 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003032/0.3049, allocations: 1.803 MB / 455.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-05/0.3049, allocations: 8 kB / 455.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3049, allocations: 3.938 kB / 455.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.3049, allocations: 0 / 455.2 MB, free: 14.29 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.003147/0.3081, allocations: 1.22 MB / 456.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3081, allocations: 8.031 kB / 456.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.3085, allocations: 100.4 kB / 456.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.3096, allocations: 0.5634 MB / 457 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.3098, allocations: 164.1 kB / 457.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3099, allocations: 51.98 kB / 457.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.3116, allocations: 1.172 MB / 458.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.3116, allocations: 0 / 458.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/0.3117, allocations: 27.98 kB / 458.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.553e-05/0.3118, allocations: 53.27 kB / 458.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.3133, allocations: 0.8365 MB / 459.3 MB, free: 9.918 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.005802/0.3191, allocations: 2.645 MB / 462 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3203, allocations: 0.6268 MB / 462.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.3208, allocations: 338.2 kB / 463 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002725/0.3236, allocations: 1.205 MB / 464.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3236, allocations: 43.06 kB / 464.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.174e-06/0.3236, allocations: 0 / 464.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.007331/0.3309, allocations: 2.674 MB / 466.9 MB, free: 2.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.331, allocations: 85.77 kB / 467 MB, free: 2.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.3318, allocations: 0.5574 MB / 467.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.3319, allocations: 37.7 kB / 467.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.3322, allocations: 352.7 kB / 467.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.3324, allocations: 238 kB / 468.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.3327, allocations: 150.6 kB / 468.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.3329, allocations: 382.7 kB / 468.6 MB, free: 448 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.3336, allocations: 372.6 kB / 469 MB, free: 72 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/0.3345, allocations: 0.5442 MB / 469.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.3361, allocations: 0.8681 MB / 470.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3361, allocations: 0 / 470.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002266/0.3384, allocations: 1.153 MB / 471.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3384, allocations: 4 kB / 471.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3384, allocations: 4 kB / 471.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.3398, allocations: 452.9 kB / 472 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.3405, allocations: 163.8 kB / 472.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.3419, allocations: 1.013 MB / 473.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.3426, allocations: 32.03 kB / 473.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.3427, allocations: 39.98 kB / 473.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009754/0.3436, allocations: 0.5331 MB / 473.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008309/0.3445, allocations: 0.5333 MB / 474.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001374/0.3458, allocations: 0.8531 MB / 475.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.416e-06/0.3458, allocations: 4 kB / 475.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002088/0.3479, allocations: 1.095 MB / 476.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3479, allocations: 8 kB / 476.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.348, allocations: 4 kB / 476.3 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.3487, allocations: 320.8 kB / 476.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.3494, allocations: 163.8 kB / 476.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.3504, allocations: 0.915 MB / 477.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.351, allocations: 32.03 kB / 477.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.3511, allocations: 31.98 kB / 477.7 MB, free: 6.996 MB / 382.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.0002723/0.3514, allocations: 228.1 kB / 478 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.3515, allocations: 75.56 kB / 478 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.3537, allocations: 1.075 MB / 479.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.3537, allocations: 11.94 kB / 479.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3537, allocations: 0 / 479.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3537, allocations: 3.984 kB / 479.1 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.357, allocations: 1.774 MB / 480.9 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.357, allocations: 0 / 480.9 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.3576, allocations: 127.8 kB / 481 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.3588, allocations: 448.3 kB / 481.5 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-05/0.3589, allocations: 23.94 kB / 481.5 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.3602, allocations: 1.028 MB / 482.5 MB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3602, allocations: 3.938 kB / 482.5 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.3629, allocations: 1.589 MB / 484.1 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/0.3634, allocations: 151.5 kB / 484.3 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.3636, allocations: 12 kB / 484.3 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005962/0.3642, allocations: 39.97 kB / 484.3 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.3643, allocations: 56.55 kB / 484.4 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.3644, allocations: 31.98 kB / 484.4 MB, free: 236 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005559/0.365, allocations: 382.8 kB / 484.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.365, allocations: 0 / 484.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001708/0.3667, allocations: 0.577 MB / 485.4 MB, free: 15.28 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.001312/0.368, allocations: 493.7 kB / 485.8 MB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.3711, allocations: 1.331 MB / 487.2 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3711, allocations: 8.062 kB / 487.2 MB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.3722, allocations: 435.5 kB / 487.6 MB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.3746, allocations: 347.7 kB / 487.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.3789, allocations: 1.75 MB / 489.7 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.3794, allocations: 400.4 kB / 490.1 MB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001085/0.3805, allocations: 297.8 kB / 490.4 MB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.3807, allocations: 75.34 kB / 490.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3807, allocations: 4 kB / 490.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of Templates: time 0.04095/0.4217, allocations: 23.03 MB / 0.5014 GB, free: 3.418 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins/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.497256392613053]