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.001952/0.001952, allocations: 183.2 kB / 18.04 MB, free: 3.781 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.408/1.408, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0009529/0.000953, allocations: 73.58 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003465, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6747/0.9189, allocations: 328.4 MB / 0.6889 GB, free: 136.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.9192, allocations: 87.58 kB / 0.689 GB, free: 136.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5252/1.444, allocations: 165.9 MB / 0.851 GB, free: 90.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.444, allocations: 0 / 0.851 GB, free: 90.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001148/1.445, allocations: 19.86 kB / 0.851 GB, free: 90.52 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.003943/1.449, allocations: 1.202 MB / 0.8522 GB, free: 89.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.449, allocations: 10.75 kB / 0.8522 GB, free: 89.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/1.449, allocations: 100.2 kB / 0.8523 GB, free: 89.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/1.451, allocations: 0.6451 MB / 0.8529 GB, free: 89.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/1.451, allocations: 47.7 kB / 0.853 GB, free: 89.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/1.451, allocations: 59.11 kB / 0.853 GB, free: 89.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/1.453, allocations: 0.8907 MB / 0.8539 GB, free: 89.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/1.453, allocations: 10.34 kB / 0.8539 GB, free: 89.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.453, allocations: 23.84 kB / 0.8539 GB, free: 89.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/1.453, allocations: 43 kB / 0.854 GB, free: 89.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/1.454, allocations: 0.7939 MB / 0.8548 GB, free: 89.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/1.459, allocations: 3.747 MB / 0.8584 GB, free: 87.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/1.46, allocations: 0.5216 MB / 0.8589 GB, free: 87.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/1.461, allocations: 274.9 kB / 0.8592 GB, free: 87.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/1.463, allocations: 1.813 MB / 0.861 GB, free: 86.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.463, allocations: 46.81 kB / 0.861 GB, free: 86.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 2.234e-06/1.463, allocations: 2.906 kB / 0.861 GB, free: 86.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.003335/1.466, allocations: 1.766 MB / 0.8627 GB, free: 85.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/1.466, allocations: 135.2 kB / 0.8629 GB, free: 85.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/1.467, allocations: 0.7455 MB / 0.8636 GB, free: 85.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/1.467, allocations: 40.52 kB / 0.8636 GB, free: 85.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/1.467, allocations: 398.3 kB / 0.864 GB, free: 84.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.468, allocations: 164 kB / 0.8642 GB, free: 84.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/1.468, allocations: 16.69 kB / 0.8642 GB, free: 84.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/1.468, allocations: 384.6 kB / 0.8645 GB, free: 84.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/1.468, allocations: 253.9 kB / 0.8648 GB, free: 84.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/1.469, allocations: 0.4997 MB / 0.8653 GB, free: 84.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/1.47, allocations: 0.7121 MB / 0.866 GB, free: 83.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.47, allocations: 0 / 0.866 GB, free: 83.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001324/1.471, allocations: 0.8885 MB / 0.8668 GB, free: 83.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.471, allocations: 294.8 kB / 0.8671 GB, free: 83.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.471, allocations: 7.781 kB / 0.8671 GB, free: 83.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/1.472, allocations: 173.5 kB / 0.8673 GB, free: 83.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/1.473, allocations: 191.1 kB / 0.8675 GB, free: 83.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009701/1.474, allocations: 1.802 MB / 0.8692 GB, free: 81.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/1.475, allocations: 57.02 kB / 0.8693 GB, free: 81.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/1.475, allocations: 39.25 kB / 0.8693 GB, free: 81.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.475, allocations: 4.906 kB / 0.8693 GB, free: 81.88 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001261/1.476, allocations: 0.7817 MB / 0.8701 GB, free: 81.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.476, allocations: 10.81 kB / 0.8701 GB, free: 81.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008422/1.477, allocations: 169.7 kB / 0.8703 GB, free: 81.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/1.477, allocations: 175.6 kB / 0.8704 GB, free: 81.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006431/1.478, allocations: 1.188 MB / 0.8716 GB, free: 80.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006523/1.479, allocations: 52.12 kB / 0.8716 GB, free: 80.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/1.479, allocations: 37.56 kB / 0.8717 GB, free: 80.79 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 () * Number of clocked 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.0004923/1.479, allocations: 332.5 kB / 0.872 GB, free: 80.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/1.479, allocations: 87.75 kB / 0.8721 GB, free: 80.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/1.481, allocations: 0.8192 MB / 0.8729 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.481, allocations: 7.656 kB / 0.8729 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.481, allocations: 0 / 0.8729 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/1.481, allocations: 7.656 kB / 0.8729 GB, free: 80.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/1.483, allocations: 1.562 MB / 0.8744 GB, free: 80.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.483, allocations: 0 / 0.8744 GB, free: 80.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/1.484, allocations: 134.4 kB / 0.8746 GB, free: 80.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005393/1.484, allocations: 124.8 kB / 0.8747 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/1.484, allocations: 16.05 kB / 0.8747 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000701/1.485, allocations: 1.748 MB / 0.8764 GB, free: 78.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.485, allocations: 0 / 0.8764 GB, free: 78.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.486, allocations: 1.099 MB / 0.8775 GB, free: 78.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/1.487, allocations: 173.8 kB / 0.8776 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.487, allocations: 18.8 kB / 0.8776 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/1.487, allocations: 38.5 kB / 0.8777 GB, free: 78.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.487, allocations: 57.75 kB / 0.8777 GB, free: 78.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/1.487, allocations: 25.17 kB / 0.8778 GB, free: 78.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006092/1.488, allocations: 0.5217 MB / 0.8783 GB, free: 77.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.488, allocations: 0 / 0.8783 GB, free: 77.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001979/1.49, allocations: 0.654 MB / 0.8789 GB, free: 77.87 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]) * Number of clocked states: 0 () * 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.001335/1.491, allocations: 0.6667 MB / 0.8796 GB, free: 77.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002591/1.494, allocations: 1.169 MB / 0.8807 GB, free: 77.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.494, allocations: 0 / 0.8807 GB, free: 77.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008065/1.495, allocations: 385.2 kB / 0.8811 GB, free: 77.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/1.497, allocations: 383.5 kB / 0.8814 GB, free: 77.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/1.499, allocations: 1.859 MB / 0.8833 GB, free: 76.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/1.499, allocations: 0.9944 MB / 0.8842 GB, free: 75.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001054/1.5, allocations: 311.9 kB / 0.8845 GB, free: 75.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/1.5, allocations: 78.36 kB / 0.8846 GB, free: 75.7 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/1.5, allocations: 3.938 kB / 0.8846 GB, free: 75.69 MB / 426.7 MB Notification: Performance of Templates: time 0.0294/1.53, allocations: 21.61 MB / 0.9057 GB, free: 74.31 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/jenkins1/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