Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.h|tank.aboveLevel.1.|tank.aboveLevel.2.|tank.aboveLevel.3.|tank.aboveLevel.4.|tank.ports_m_flow_out.1.|tank.ports_m_flow_out.2.|tank.ports_m_flow_out.3.|tank.ports_m_flow_out.4.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.h|tank.aboveLevel.1.|tank.aboveLevel.2.|tank.aboveLevel.3.|tank.aboveLevel.4.|tank.ports_m_flow_out.1.|tank.ports_m_flow_out.2.|tank.ports_m_flow_out.3.|tank.ports_m_flow_out.4.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009504/0.0009504, allocations: 88.5 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1951/0.1951, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.582e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 63.25 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.607/5.726, allocations: 2.772 GB / 3.283 GB, free: 16.68 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/5.726, allocations: 83.14 kB / 3.283 GB, free: 16.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.882/7.608, allocations: 0.5593 GB / 3.842 GB, free: 65.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.462e-06/7.608, allocations: 1.969 kB / 3.842 GB, free: 65.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.603e-05/7.608, allocations: 26.77 kB / 3.842 GB, free: 65.64 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.007425/7.615, allocations: 2.043 MB / 3.844 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/7.615, allocations: 7.156 kB / 3.844 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/7.618, allocations: 313.5 kB / 3.845 GB, free: 64.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/7.619, allocations: 0.6909 MB / 3.845 GB, free: 64.15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/7.62, allocations: 301.4 kB / 3.846 GB, free: 63.87 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/7.62, allocations: 86.97 kB / 3.846 GB, free: 63.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/7.623, allocations: 1.488 MB / 3.847 GB, free: 63.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/7.623, allocations: 6.688 kB / 3.847 GB, free: 63.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/7.623, allocations: 41.34 kB / 3.847 GB, free: 63.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/7.623, allocations: 42.78 kB / 3.847 GB, free: 63.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/7.625, allocations: 1.277 MB / 3.849 GB, free: 62.78 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.007141/7.632, allocations: 6.399 MB / 3.855 GB, free: 57.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/7.634, allocations: 0.8952 MB / 3.856 GB, free: 57.69 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/7.635, allocations: 397 kB / 3.856 GB, free: 57.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0266/7.661, allocations: 17.05 MB / 3.873 GB, free: 46.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/7.662, allocations: 46.48 kB / 3.873 GB, free: 46.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/7.662, allocations: 0 / 3.873 GB, free: 46.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.005827/7.667, allocations: 2.504 MB / 3.875 GB, free: 44.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/7.667, allocations: 162.3 kB / 3.875 GB, free: 44.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/7.668, allocations: 0.7123 MB / 3.876 GB, free: 44.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.763e-05/7.668, allocations: 45.02 kB / 3.876 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/7.669, allocations: 445.4 kB / 3.876 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/7.669, allocations: 214.3 kB / 3.877 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/7.669, allocations: 15.5 kB / 3.877 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001241/7.669, allocations: 400.3 kB / 3.877 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/7.67, allocations: 381.3 kB / 3.877 GB, free: 43.42 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/7.67, allocations: 0.5979 MB / 3.878 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/7.671, allocations: 412.7 kB / 3.878 GB, free: 42.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/7.671, allocations: 3.938 kB / 3.878 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001679/7.673, allocations: 1.097 MB / 3.88 GB, free: 42.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/7.673, allocations: 6.625 kB / 3.88 GB, free: 42.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/7.673, allocations: 10.56 kB / 3.88 GB, free: 42.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/7.673, allocations: 96.47 kB / 3.88 GB, free: 42.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/7.676, allocations: 402.2 kB / 3.88 GB, free: 42.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/7.681, allocations: 6.416 MB / 3.886 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/7.682, allocations: 133.7 kB / 3.886 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/7.682, allocations: 44.39 kB / 3.886 GB, free: 36.17 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 21 (tank.heatTransfer.states[1].phase,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[4],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],$PRE.tank.aboveLevel[2],tank.aboveLevel[2],$PRE.tank.aboveLevel[3],tank.aboveLevel[3],$PRE.tank.aboveLevel[4],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002445/7.683, allocations: 176.8 kB / 3.887 GB, free: 36.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/7.683, allocations: 83.72 kB / 3.887 GB, free: 35.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/7.685, allocations: 2.129 MB / 3.889 GB, free: 34.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/7.685, allocations: 18.19 kB / 3.889 GB, free: 34.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/7.685, allocations: 0 / 3.889 GB, free: 34.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/7.685, allocations: 7.062 kB / 3.889 GB, free: 34.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/7.689, allocations: 3.377 MB / 3.892 GB, free: 33.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/7.689, allocations: 3.969 kB / 3.892 GB, free: 33.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003159/7.693, allocations: 376.6 kB / 3.892 GB, free: 33.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00032/7.693, allocations: 100.5 kB / 3.893 GB, free: 33.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/7.693, allocations: 24.66 kB / 3.893 GB, free: 33.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/7.697, allocations: 6.378 MB / 3.899 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/7.698, allocations: 3.594 kB / 3.899 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/7.7, allocations: 2.068 MB / 3.901 GB, free: 25.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/7.7, allocations: 342.4 kB / 3.901 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/7.701, allocations: 31.66 kB / 3.901 GB, free: 25.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/7.701, allocations: 121.3 kB / 3.901 GB, free: 25.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/7.702, allocations: 125.4 kB / 3.901 GB, free: 25.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/7.702, allocations: 27.08 kB / 3.901 GB, free: 25.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001065/7.703, allocations: 0.8669 MB / 3.902 GB, free: 24.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/7.703, allocations: 7.938 kB / 3.902 GB, free: 24.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005481/7.708, allocations: 1.315 MB / 3.904 GB, free: 23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,tank.heatTransfer.states[1].phase,tank.ports_m_flow_out[1],tank.ports_m_flow_out[2],tank.ports_m_flow_out[3],tank.ports_m_flow_out[4],tank.aboveLevel[1],tank.aboveLevel[2],tank.aboveLevel[3],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],tank.aboveLevel[2],tank.ports_m_flow_out[2],tank.aboveLevel[3],tank.ports_m_flow_out[3],tank.aboveLevel[4],tank.ports_m_flow_out[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008054/7.716, allocations: 1.887 MB / 3.905 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003713/7.72, allocations: 1.177 MB / 3.907 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/7.72, allocations: 0 / 3.907 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002978/7.723, allocations: 0.8597 MB / 3.907 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/7.726, allocations: 0.5324 MB / 3.908 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/7.728, allocations: 1.933 MB / 3.91 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/7.729, allocations: 1.248 MB / 3.911 GB, free: 16.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001013/7.73, allocations: 498.8 kB / 3.912 GB, free: 16.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/7.73, allocations: 83.05 kB / 3.912 GB, free: 16.25 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/7.73, allocations: 4 kB / 3.912 GB, free: 16.24 MB / 0.5417 GB Notification: Performance of Templates: time 0.3294/8.06, allocations: 54.35 MB / 3.965 GB, free: 77.3 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestTankWithTopPorts/TestTankWithTopPorts.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches