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.001245/0.001245, allocations: 198.9 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 94.47 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1916/0.1916, allocations: 45.14 MB / 383.8 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.363e-05/1.364e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.533/6.645, allocations: 2.771 GB / 3.275 GB, free: 76.15 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/6.646, allocations: 90.81 kB / 3.275 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.858/8.504, allocations: 0.5539 GB / 3.829 GB, free: 64.33 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.153e-06/8.504, allocations: 5.719 kB / 3.829 GB, free: 64.33 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.234e-05/8.504, allocations: 24.47 kB / 3.829 GB, free: 64.33 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.005864/8.51, allocations: 2.034 MB / 3.831 GB, free: 63.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/8.51, allocations: 11.91 kB / 3.831 GB, free: 63.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/8.512, allocations: 327.4 kB / 3.832 GB, free: 63.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/8.513, allocations: 0.6761 MB / 3.832 GB, free: 63.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/8.513, allocations: 269.7 kB / 3.833 GB, free: 62.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/8.513, allocations: 48.38 kB / 3.833 GB, free: 62.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001272/8.515, allocations: 0.9839 MB / 3.834 GB, free: 62.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/8.516, allocations: 1.158 MB / 3.835 GB, free: 62.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/8.516, allocations: 1.969 kB / 3.835 GB, free: 62.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/8.516, allocations: 3.469 kB / 3.835 GB, free: 62.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/8.516, allocations: 47.03 kB / 3.835 GB, free: 62.56 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.05856/8.575, allocations: 39.2 MB / 3.873 GB, free: 37.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/8.576, allocations: 0.5098 MB / 3.874 GB, free: 37.56 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/8.576, allocations: 333.8 kB / 3.874 GB, free: 37.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/8.576, allocations: 395.9 kB / 3.874 GB, free: 37.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/8.576, allocations: 48.55 kB / 3.874 GB, free: 37.13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=54): time 2.044e-06/8.576, allocations: 0 / 3.874 GB, free: 37.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59): time 0.003781/8.58, allocations: 1.901 MB / 3.876 GB, free: 36.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/8.58, allocations: 136.7 kB / 3.876 GB, free: 36.53 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/8.58, allocations: 0.4933 MB / 3.877 GB, free: 36.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/8.58, allocations: 45.61 kB / 3.877 GB, free: 36.37 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/8.581, allocations: 471 kB / 3.877 GB, free: 36.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/8.581, allocations: 190.3 kB / 3.877 GB, free: 35.99 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/8.581, allocations: 0 / 3.877 GB, free: 35.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/8.581, allocations: 382.7 kB / 3.878 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/8.581, allocations: 351.2 kB / 3.878 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/8.582, allocations: 0.5794 MB / 3.879 GB, free: 35.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/8.582, allocations: 380.2 kB / 3.879 GB, free: 35.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/8.583, allocations: 7.469 kB / 3.879 GB, free: 35.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001539/8.584, allocations: 0.9975 MB / 3.88 GB, free: 35.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/8.584, allocations: 8.219 kB / 3.88 GB, free: 35.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/8.584, allocations: 7.438 kB / 3.88 GB, free: 35.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/8.584, allocations: 96.52 kB / 3.88 GB, free: 35.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/8.588, allocations: 406.3 kB / 3.88 GB, free: 35.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/8.592, allocations: 6.206 MB / 3.887 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/8.593, allocations: 130 kB / 3.887 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/8.593, allocations: 43.86 kB / 3.887 GB, free: 29.7 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: tank.Wb_flow:VARIABLE(unit = "W" ) "Work flow across boundaries or source term" type: Real 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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002047/8.593, allocations: 146.9 kB / 3.887 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/8.593, allocations: 68.16 kB / 3.887 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/8.595, allocations: 1.573 MB / 3.888 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/8.595, allocations: 14.28 kB / 3.888 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/8.595, allocations: 3.953 kB / 3.888 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/8.595, allocations: 3.703 kB / 3.888 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/8.598, allocations: 2.72 MB / 3.891 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/8.598, allocations: 7.156 kB / 3.891 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003126/8.601, allocations: 338.7 kB / 3.891 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/8.601, allocations: 97.28 kB / 3.892 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/8.601, allocations: 12.06 kB / 3.892 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00411/8.605, allocations: 6.194 MB / 3.898 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/8.605, allocations: 3.562 kB / 3.898 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/8.607, allocations: 1.731 MB / 3.899 GB, free: 22.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/8.607, allocations: 217.8 kB / 3.9 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/8.608, allocations: 18.64 kB / 3.9 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/8.608, allocations: 101.3 kB / 3.9 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/8.609, allocations: 125.7 kB / 3.9 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/8.609, allocations: 32.39 kB / 3.9 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004488/8.609, allocations: 490 kB / 3.9 GB, free: 22.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/8.609, allocations: 0 / 3.9 GB, free: 22.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004704/8.614, allocations: 1.246 MB / 3.901 GB, free: 22.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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) * 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 (57): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006188/8.62, allocations: 2.043 MB / 3.903 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003588/8.624, allocations: 1.082 MB / 3.905 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/8.624, allocations: 0 / 3.905 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00288/8.626, allocations: 0.7603 MB / 3.905 GB, free: 22.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/8.628, allocations: 328.6 kB / 3.906 GB, free: 22.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/8.63, allocations: 1.641 MB / 3.907 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/8.631, allocations: 1.164 MB / 3.908 GB, free: 20.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008812/8.632, allocations: 0.5315 MB / 3.909 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/8.632, allocations: 70 kB / 3.909 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/8.632, allocations: 0 / 3.909 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of Templates: time 0.04518/8.677, allocations: 39.99 MB / 3.948 GB, free: 11.7 MB / 0.5417 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