Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001268/0.001268, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 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.001464/0.001464, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.92 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2566, allocations: 53.36 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01927/0.2759, allocations: 16.22 MB / 448.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.2868, allocations: 6.963 MB / 455.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008782/0.2877, allocations: 31.69 kB / 455.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.2887, allocations: 333.9 kB / 455.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.2921, allocations: 1.116 MB / 457 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.2974, allocations: 1.826 MB / 458.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003789/0.3011, allocations: 2.237 MB / 461.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.3023, allocations: 0.5023 MB / 461.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.3042, allocations: 0.8411 MB / 462.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.3059, allocations: 0.8564 MB / 463.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.3062, allocations: 80 kB / 463.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.3093, allocations: 1.264 MB / 464.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.3098, allocations: 326.9 kB / 465 MB, free: 6.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009275/0.3108, allocations: 465.8 kB / 465.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.3146, allocations: 1.885 MB / 467.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3146, allocations: 0 / 467.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3146, allocations: 0 / 467.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.922e-05/0.3147, allocations: 0 / 467.3 MB, free: 3.883 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.003389/0.3181, allocations: 1.212 MB / 468.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3181, allocations: 12.03 kB / 468.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.3186, allocations: 104.4 kB / 468.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.3198, allocations: 0.5673 MB / 469.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.32, allocations: 156.1 kB / 469.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.3201, allocations: 59.97 kB / 469.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.3218, allocations: 0.8923 MB / 470.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.3218, allocations: 3.953 kB / 470.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.3219, allocations: 31.92 kB / 470.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.593e-05/0.322, allocations: 53.27 kB / 470.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.3235, allocations: 0.8366 MB / 471.2 MB, free: 15.85 MB / 382.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.00622/0.3297, allocations: 3.283 MB / 474.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3308, allocations: 0.6302 MB / 475.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.3314, allocations: 346.2 kB / 475.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002826/0.3342, allocations: 1.329 MB / 476.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.3343, allocations: 47 kB / 476.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.845e-06/0.3343, allocations: 0 / 476.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007563/0.3418, allocations: 2.688 MB / 479.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3419, allocations: 85.77 kB / 479.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.3429, allocations: 0.6837 MB / 480.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-05/0.343, allocations: 41.7 kB / 480.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.3433, allocations: 341 kB / 480.7 MB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.3435, allocations: 234 kB / 480.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.3438, allocations: 150.6 kB / 481 MB, free: 5.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.344, allocations: 386.8 kB / 481.4 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/0.3447, allocations: 376.6 kB / 481.8 MB, free: 4.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007884/0.3455, allocations: 0.5113 MB / 482.3 MB, free: 4.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.3469, allocations: 0.868 MB / 483.2 MB, free: 3.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.347, allocations: 4 kB / 483.2 MB, free: 3.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002266/0.3492, allocations: 1.158 MB / 484.3 MB, free: 2.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3492, allocations: 8.062 kB / 484.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3493, allocations: 11.94 kB / 484.4 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.3506, allocations: 448.4 kB / 484.8 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/0.3513, allocations: 171.7 kB / 485 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.3527, allocations: 1.013 MB / 486 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.3533, allocations: 36.03 kB / 486 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.3534, allocations: 31.98 kB / 486 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009116/0.3543, allocations: 0.5331 MB / 486.6 MB, free: 36 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007994/0.3551, allocations: 0.5083 MB / 487.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001379/0.3565, allocations: 0.8453 MB / 487.9 MB, free: 14.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.648e-06/0.3565, allocations: 7.938 kB / 487.9 MB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002093/0.3586, allocations: 1.099 MB / 489 MB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3586, allocations: 8 kB / 489 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3586, allocations: 8.031 kB / 489 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000762/0.3594, allocations: 308.7 kB / 489.3 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.3601, allocations: 171.7 kB / 489.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.3612, allocations: 0.907 MB / 490.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.3618, allocations: 28.03 kB / 490.4 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.3619, allocations: 39.98 kB / 490.5 MB, free: 11.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.0002956/0.3622, allocations: 232 kB / 490.7 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.3624, allocations: 79.48 kB / 490.8 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.3646, allocations: 1.088 MB / 491.9 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3646, allocations: 7.938 kB / 491.9 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3646, allocations: 4 kB / 491.9 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.3646, allocations: 3.984 kB / 491.9 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.3682, allocations: 1.972 MB / 493.9 MB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3682, allocations: 4 kB / 493.9 MB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/0.3688, allocations: 111.9 kB / 494 MB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.37, allocations: 448.5 kB / 494.4 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.3701, allocations: 16 kB / 494.4 MB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.3714, allocations: 1.028 MB / 495.5 MB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3714, allocations: 7.938 kB / 495.5 MB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.374, allocations: 1.593 MB / 497.1 MB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.3745, allocations: 175.3 kB / 497.2 MB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.3747, allocations: 16 kB / 497.3 MB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.3753, allocations: 31.97 kB / 497.3 MB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.3754, allocations: 60.48 kB / 497.3 MB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.3755, allocations: 31.98 kB / 497.4 MB, free: 4.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007126/0.3762, allocations: 479 kB / 497.8 MB, free: 4.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3762, allocations: 0 / 497.8 MB, free: 4.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001675/0.3779, allocations: 0.5887 MB / 498.4 MB, free: 3.898 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.001265/0.3792, allocations: 497.8 kB / 498.9 MB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00312/0.3823, allocations: 1.325 MB / 0.4885 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3823, allocations: 1.938 kB / 0.4885 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009887/0.3833, allocations: 435.5 kB / 0.4889 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.3851, allocations: 383.4 kB / 0.4893 GB, free: 1.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.3889, allocations: 1.805 MB / 0.4911 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.3896, allocations: 0.991 MB / 0.492 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.3899, allocations: 87.34 kB / 0.4921 GB, free: 14.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3899, allocations: 0 / 0.4921 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Templates: time 0.03149/0.4214, allocations: 19.28 MB / 0.5109 GB, free: 11.13 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.020198536105454]