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.001869/0.001869, allocations: 120.5 kB / 18.41 MB, free: 4.645 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.002324/0.002324, allocations: 194.7 kB / 21.35 MB, free: 1.711 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.447/1.447, allocations: 222.9 MB / 247 MB, free: 4.203 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.001565/0.001565, allocations: 47.91 kB / 358.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1087, allocations: 49.43 MB / 408.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01786/0.1266, allocations: 15.84 MB / 423.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.137, allocations: 6.897 MB / 430.8 MB, free: 28 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008896/0.1379, allocations: 19.88 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2331/0.371, allocations: 327.4 kB / 431.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.3743, allocations: 1.065 MB / 432.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004682/0.379, allocations: 1.793 MB / 434 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003269/0.3823, allocations: 2.145 MB / 436.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.3836, allocations: 0.605 MB / 436.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.3855, allocations: 0.789 MB / 437.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.3872, allocations: 0.8024 MB / 438.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.3874, allocations: 83.75 kB / 438.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.3908, allocations: 1.218 MB / 439.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.3914, allocations: 311 kB / 440 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008084/0.3922, allocations: 464.8 kB / 440.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.3961, allocations: 1.851 MB / 442.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3961, allocations: 0.8438 kB / 442.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3962, allocations: 4 kB / 442.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.3962, allocations: 0 / 442.3 MB, free: 3.543 MB / 350.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.002957/0.3991, allocations: 1.296 MB / 443.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3992, allocations: 9.906 kB / 443.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.3996, allocations: 98.48 kB / 443.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.4006, allocations: 0.6313 MB / 444.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.4007, allocations: 109.6 kB / 444.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.4008, allocations: 56.25 kB / 444.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.4025, allocations: 0.897 MB / 445.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.4026, allocations: 0 / 445.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/0.4026, allocations: 22.09 kB / 445.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/0.4027, allocations: 52.28 kB / 445.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.4041, allocations: 0.8422 MB / 446.3 MB, free: 2.281 MB / 350.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.005688/0.4098, allocations: 3.456 MB / 449.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.4108, allocations: 0.6665 MB / 450.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.4114, allocations: 370 kB / 450.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/0.4144, allocations: 2.04 MB / 452.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4144, allocations: 39.44 kB / 452.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.244e-06/0.4144, allocations: 1.25 kB / 452.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00751/0.422, allocations: 2.851 MB / 455.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.4221, allocations: 83.86 kB / 455.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.4231, allocations: 0.6801 MB / 456.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.4231, allocations: 40.86 kB / 456.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.4234, allocations: 354.2 kB / 456.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.4237, allocations: 235.7 kB / 457.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.4239, allocations: 150 kB / 457.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002972/0.4242, allocations: 389.3 kB / 457.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/0.4249, allocations: 372.7 kB / 458 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.4257, allocations: 0.5212 MB / 458.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.4272, allocations: 0.8616 MB / 459.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4272, allocations: 3.984 kB / 459.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002194/0.4294, allocations: 1.16 MB / 460.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.4294, allocations: 10.16 kB / 460.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4295, allocations: 5.531 kB / 460.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.4308, allocations: 445.3 kB / 461 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.4315, allocations: 164.4 kB / 461.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.4328, allocations: 1.023 MB / 462.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.4336, allocations: 32.39 kB / 462.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/0.4337, allocations: 33.41 kB / 462.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009386/0.4346, allocations: 0.5317 MB / 462.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007261/0.4353, allocations: 0.5128 MB / 463.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001261/0.4366, allocations: 0.8465 MB / 464.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.4366, allocations: 0 / 464.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001947/0.4386, allocations: 1.113 MB / 465.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4386, allocations: 6.031 kB / 465.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.4386, allocations: 7 kB / 465.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/0.4393, allocations: 309.2 kB / 465.5 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.4399, allocations: 162.4 kB / 465.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.4409, allocations: 0.9024 MB / 466.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/0.4416, allocations: 38 kB / 466.6 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.4417, allocations: 40.2 kB / 466.7 MB, free: 8.582 MB / 366.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.0003294/0.4421, allocations: 230.3 kB / 466.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.4422, allocations: 80.86 kB / 467 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.4442, allocations: 1.092 MB / 468.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4442, allocations: 7 kB / 468.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4443, allocations: 6.344 kB / 468.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4443, allocations: 11.92 kB / 468.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.4477, allocations: 2.005 MB / 470.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4477, allocations: 0 / 470.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.4483, allocations: 119.9 kB / 470.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.4496, allocations: 433.9 kB / 470.6 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.4496, allocations: 23.92 kB / 470.7 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.451, allocations: 1.03 MB / 471.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.451, allocations: 48 / 471.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.4538, allocations: 1.604 MB / 473.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000543/0.4544, allocations: 252.5 kB / 473.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.4545, allocations: 12 kB / 473.5 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.4551, allocations: 39.97 kB / 473.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.4553, allocations: 56.58 kB / 473.6 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/0.4554, allocations: 27.97 kB / 473.7 MB, free: 2.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006794/0.456, allocations: 483 kB / 474.1 MB, free: 1.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4561, allocations: 0 / 474.1 MB, free: 1.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001989/0.458, allocations: 0.5849 MB / 474.7 MB, free: 0.9961 MB / 366.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.001298/0.4594, allocations: 493.9 kB / 475.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003267/0.4626, allocations: 1.411 MB / 476.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.4627, allocations: 0 / 476.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4637, allocations: 468.4 kB / 477.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.4657, allocations: 392.9 kB / 477.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.4693, allocations: 1.798 MB / 479.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.47, allocations: 0.9872 MB / 480.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.4703, allocations: 87.41 kB / 480.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4703, allocations: 0 / 480.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of Templates: time 0.03181/0.5021, allocations: 19.14 MB / 499.5 MB, free: 8.309 MB / 398.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.15705534000881]