Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 172.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008039/0.0008037, allocations: 89.92 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.304e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08237/0.08241, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.7291, allocations: 328.1 MB / 0.6818 GB, free: 12.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.7295, allocations: 93.06 kB / 0.6819 GB, free: 12.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.509/1.238, allocations: 166.4 MB / 0.8444 GB, free: 21.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/1.239, allocations: 0 / 0.8444 GB, free: 21.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.554e-05/1.239, allocations: 23.92 kB / 0.8444 GB, free: 21.69 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002078/1.241, allocations: 1.106 MB / 0.8455 GB, free: 20.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.241, allocations: 8.031 kB / 0.8455 GB, free: 20.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/1.241, allocations: 103 kB / 0.8456 GB, free: 20.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.242, allocations: 0.6285 MB / 0.8462 GB, free: 19.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/1.242, allocations: 45.3 kB / 0.8463 GB, free: 19.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/1.242, allocations: 59.97 kB / 0.8463 GB, free: 19.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.243, allocations: 0.8737 MB / 0.8472 GB, free: 18.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/1.243, allocations: 4 kB / 0.8472 GB, free: 18.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/1.244, allocations: 31.92 kB / 0.8472 GB, free: 18.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/1.244, allocations: 49.22 kB / 0.8473 GB, free: 18.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/1.245, allocations: 0.7742 MB / 0.848 GB, free: 17.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/1.249, allocations: 3.783 MB / 0.8517 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/1.25, allocations: 0.5163 MB / 0.8522 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/1.25, allocations: 266 kB / 0.8525 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001956/1.252, allocations: 1.884 MB / 0.8543 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/1.252, allocations: 42.56 kB / 0.8543 GB, free: 10.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 2.395e-06/1.252, allocations: 4 kB / 0.8543 GB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.002329/1.254, allocations: 1.371 MB / 0.8557 GB, free: 9.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/1.254, allocations: 132.5 kB / 0.8558 GB, free: 9.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007283/1.255, allocations: 0.656 MB / 0.8564 GB, free: 8.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/1.255, allocations: 41.69 kB / 0.8565 GB, free: 8.609 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/1.255, allocations: 391.1 kB / 0.8569 GB, free: 8.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.517e-05/1.255, allocations: 165.7 kB / 0.857 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/1.255, allocations: 12 kB / 0.857 GB, free: 8.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/1.256, allocations: 398.7 kB / 0.8574 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/1.256, allocations: 245.5 kB / 0.8576 GB, free: 7.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/1.256, allocations: 490.2 kB / 0.8581 GB, free: 6.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/1.257, allocations: 319 kB / 0.8584 GB, free: 6.512 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.257, allocations: 3.984 kB / 0.8584 GB, free: 6.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001287/1.258, allocations: 0.8749 MB / 0.8593 GB, free: 5.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004204/1.259, allocations: 2.707 MB / 0.8619 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.259, allocations: 4 kB / 0.8619 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009974/1.26, allocations: 165.6 kB / 0.8621 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/1.261, allocations: 187.7 kB / 0.8623 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000966/1.262, allocations: 1.804 MB / 0.864 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007466/1.262, allocations: 60.03 kB / 0.8641 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/1.262, allocations: 39.98 kB / 0.8641 GB, free: 380 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.262, allocations: 4 kB / 0.8641 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2044/1.467, allocations: 0.7714 MB / 0.8649 GB, free: 83.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.467, allocations: 7.719 kB / 0.8649 GB, free: 83.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/1.468, allocations: 162.5 kB / 0.865 GB, free: 83.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007629/1.469, allocations: 178.7 kB / 0.8652 GB, free: 83.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006573/1.469, allocations: 1.185 MB / 0.8664 GB, free: 82.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/1.47, allocations: 52.31 kB / 0.8664 GB, free: 82.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/1.47, allocations: 41.25 kB / 0.8665 GB, free: 82.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002773/1.471, allocations: 152.6 kB / 0.8666 GB, free: 82.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/1.471, allocations: 82.5 kB / 0.8667 GB, free: 82.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/1.473, allocations: 0.818 MB / 0.8675 GB, free: 82.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/1.473, allocations: 7.719 kB / 0.8675 GB, free: 82.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.473, allocations: 0 / 0.8675 GB, free: 82.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.473, allocations: 3.234 kB / 0.8675 GB, free: 82.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/1.475, allocations: 1.557 MB / 0.869 GB, free: 82.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.476, allocations: 0.9375 kB / 0.869 GB, free: 82.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/1.476, allocations: 131.5 kB / 0.8691 GB, free: 82.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006455/1.477, allocations: 124.2 kB / 0.8693 GB, free: 82.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/1.477, allocations: 15.02 kB / 0.8693 GB, free: 82.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008144/1.478, allocations: 1.748 MB / 0.871 GB, free: 80.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.478, allocations: 4.062 kB / 0.871 GB, free: 80.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.48, allocations: 1.115 MB / 0.8721 GB, free: 80.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/1.48, allocations: 175.9 kB / 0.8722 GB, free: 80.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.48, allocations: 13.69 kB / 0.8722 GB, free: 80.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/1.481, allocations: 44.36 kB / 0.8723 GB, free: 80.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.481, allocations: 54.09 kB / 0.8723 GB, free: 80.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/1.481, allocations: 24.73 kB / 0.8724 GB, free: 80.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000831/1.482, allocations: 0.5108 MB / 0.8729 GB, free: 80.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.482, allocations: 2.938 kB / 0.8729 GB, free: 80.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002264/1.484, allocations: 0.6559 MB / 0.8735 GB, free: 80.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.medium.T,tank1.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/1.485, allocations: 0.6711 MB / 0.8742 GB, free: 79.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002648/1.488, allocations: 1.16 MB / 0.8753 GB, free: 79.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.488, allocations: 0 / 0.8753 GB, free: 79.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/1.489, allocations: 379.1 kB / 0.8757 GB, free: 79.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/1.491, allocations: 374.9 kB / 0.876 GB, free: 79.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/1.493, allocations: 1.151 MB / 0.8771 GB, free: 79.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/1.493, allocations: 1.012 MB / 0.8781 GB, free: 78.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001428/1.495, allocations: 370.2 kB / 0.8785 GB, free: 78.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/1.495, allocations: 66.36 kB / 0.8785 GB, free: 78.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/1.495, allocations: 0 / 0.8785 GB, free: 78.87 MB / 426.7 MB Notification: Performance of Templates: time 0.03175/1.527, allocations: 22.46 MB / 0.9005 GB, free: 78.11 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe1/TankWithEmptyingPipe1.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches