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.001315/0.001315, allocations: 114.7 kB / 19.17 MB, free: 3.895 MB / 14.72 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.001406/0.001406, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 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.477/1.477, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 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 0.001868/0.001868, allocations: 63.89 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09783, allocations: 53.31 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.2258/0.3236, allocations: 16.06 MB / 443.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.3348, allocations: 6.935 MB / 450.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.3361, allocations: 25.25 kB / 450.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.3374, allocations: 347.5 kB / 451.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.3415, allocations: 1.094 MB / 452.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.3477, allocations: 1.805 MB / 454.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004114/0.3518, allocations: 2.159 MB / 456.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.353, allocations: 0.5245 MB / 456.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.3551, allocations: 0.8217 MB / 457.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.3568, allocations: 0.8548 MB / 458.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.357, allocations: 78.91 kB / 458.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.3606, allocations: 1.264 MB / 459.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005463/0.3611, allocations: 316.9 kB / 460.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.3619, allocations: 467.7 kB / 460.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.366, allocations: 1.878 MB / 462.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.366, allocations: 0 / 462.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.366, allocations: 0 / 462.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.3661, allocations: 7.938 kB / 462.4 MB, free: 8.375 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.003271/0.3693, allocations: 1.305 MB / 463.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3694, allocations: 8.438 kB / 463.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.3699, allocations: 100.3 kB / 463.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.3716, allocations: 0.625 MB / 464.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.3718, allocations: 106.3 kB / 464.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.3719, allocations: 55.86 kB / 464.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.3744, allocations: 0.8994 MB / 465.5 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.3744, allocations: 3.953 kB / 465.5 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3745, allocations: 23.3 kB / 465.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.3746, allocations: 52.62 kB / 465.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.3762, allocations: 0.8401 MB / 466.4 MB, free: 5.688 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.0065/0.3827, allocations: 3.454 MB / 469.9 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.3838, allocations: 0.6342 MB / 470.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.3844, allocations: 344.9 kB / 470.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003202/0.3876, allocations: 2.032 MB / 472.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3876, allocations: 46.81 kB / 472.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.334e-06/0.3876, allocations: 0 / 472.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.007704/0.3953, allocations: 2.841 MB / 475.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.3954, allocations: 85.14 kB / 475.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000921/0.3963, allocations: 0.6712 MB / 476.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/0.3964, allocations: 41.86 kB / 476.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.3967, allocations: 338.8 kB / 476.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.3969, allocations: 246.8 kB / 477.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.3972, allocations: 147 kB / 477.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.3975, allocations: 390.6 kB / 477.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/0.3982, allocations: 377.3 kB / 478 MB, free: 13.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.399, allocations: 0.5149 MB / 478.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.4005, allocations: 0.8689 MB / 479.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4005, allocations: 1.406 kB / 479.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002429/0.4029, allocations: 1.162 MB / 480.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4029, allocations: 8 kB / 480.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4029, allocations: 4.625 kB / 480.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.4045, allocations: 448.8 kB / 481 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.4052, allocations: 167.7 kB / 481.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.4067, allocations: 1.016 MB / 482.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/0.4074, allocations: 28.03 kB / 482.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.4075, allocations: 39.98 kB / 482.3 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009829/0.4085, allocations: 0.533 MB / 482.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008165/0.4093, allocations: 0.5082 MB / 483.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001549/0.4109, allocations: 0.8537 MB / 484.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.92e-06/0.4109, allocations: 1.875 kB / 484.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002225/0.4131, allocations: 1.099 MB / 485.3 MB, free: 6.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4131, allocations: 12.61 kB / 485.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4131, allocations: 4 kB / 485.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008467/0.414, allocations: 318.8 kB / 485.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.4146, allocations: 163.8 kB / 485.8 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.4158, allocations: 0.9151 MB / 486.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/0.4165, allocations: 32.03 kB / 486.7 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.4166, allocations: 31.98 kB / 486.7 MB, free: 5.062 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.0004144/0.417, allocations: 220.1 kB / 487 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.4173, allocations: 87.42 kB / 487.1 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.4196, allocations: 1.09 MB / 488.1 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4196, allocations: 8 kB / 488.1 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4196, allocations: 0 / 488.1 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.4196, allocations: 3.984 kB / 488.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.4233, allocations: 2 MB / 490.2 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.4234, allocations: 0 / 490.2 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.424, allocations: 123.8 kB / 490.3 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.4253, allocations: 439.2 kB / 490.7 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.4254, allocations: 15.98 kB / 490.7 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.4268, allocations: 1.029 MB / 491.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.4268, allocations: 5.031 kB / 491.8 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.4297, allocations: 1.593 MB / 493.3 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/0.4303, allocations: 248.5 kB / 493.6 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.4304, allocations: 12 kB / 493.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/0.431, allocations: 43.91 kB / 493.6 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.4312, allocations: 59.09 kB / 493.7 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.4312, allocations: 27.98 kB / 493.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007325/0.432, allocations: 479 kB / 494.2 MB, free: 13.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.432, allocations: 0 / 494.2 MB, free: 13.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00194/0.4339, allocations: 0.5965 MB / 494.8 MB, free: 12.89 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.001292/0.4352, allocations: 497.6 kB / 495.3 MB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.4385, allocations: 1.325 MB / 496.6 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.4385, allocations: 4.25 kB / 496.6 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.4396, allocations: 439.3 kB / 497 MB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.4417, allocations: 392.8 kB / 497.4 MB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.4458, allocations: 1.788 MB / 499.2 MB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.4465, allocations: 0.9872 MB / 0.4885 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.4469, allocations: 83.41 kB / 0.4886 GB, free: 7.355 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4469, allocations: 0 / 0.4886 GB, free: 7.355 MB / 398.1 MB Notification: Performance of Templates: time 0.03222/0.4791, allocations: 19.3 MB / 0.5074 GB, free: 4.105 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.769350996939465]