Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002337/0.002337, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.977/1.977, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.00106/0.00106, allocations: 90.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.277/0.277, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.697e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.083/8.2, allocations: 2.765 GB / 3.238 GB, free: 80.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/8.201, allocations: 94.34 kB / 3.238 GB, free: 80.17 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.834/11.03, allocations: 0.5534 GB / 3.791 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/11.03, allocations: 3.562 kB / 3.791 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.492e-05/11.04, allocations: 25.66 kB / 3.792 GB, free: 52.43 MB / 0.5105 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.00877/11.04, allocations: 2.034 MB / 3.794 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/11.04, allocations: 10.53 kB / 3.794 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/11.05, allocations: 323.1 kB / 3.794 GB, free: 51.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/11.05, allocations: 0.6756 MB / 3.794 GB, free: 51.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/11.05, allocations: 308 kB / 3.795 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/11.05, allocations: 78.64 kB / 3.795 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/11.05, allocations: 1.496 MB / 3.796 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/11.05, allocations: 3.281 kB / 3.796 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/11.05, allocations: 37.91 kB / 3.796 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.239e-05/11.05, allocations: 44.89 kB / 3.796 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004027/11.06, allocations: 1.277 MB / 3.798 GB, free: 50.62 MB / 0.5105 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.0119/11.07, allocations: 6.399 MB / 3.804 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/11.07, allocations: 0.9079 MB / 3.805 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008759/11.07, allocations: 385.8 kB / 3.805 GB, free: 46.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04707/11.12, allocations: 15.6 MB / 3.82 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/11.12, allocations: 42.84 kB / 3.82 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 3.096e-06/11.12, allocations: 3.656 kB / 3.82 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64): time 0.0092/11.13, allocations: 2.499 MB / 3.823 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/11.13, allocations: 162.7 kB / 3.823 GB, free: 36.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/11.13, allocations: 0.7167 MB / 3.824 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/11.13, allocations: 45.33 kB / 3.824 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/11.13, allocations: 448.4 kB / 3.824 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/11.13, allocations: 222.5 kB / 3.824 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/11.13, allocations: 20 kB / 3.824 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/11.13, allocations: 343.4 kB / 3.825 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009381/11.13, allocations: 380.7 kB / 3.825 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/11.14, allocations: 0.606 MB / 3.826 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/11.14, allocations: 404.5 kB / 3.826 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/11.14, allocations: 0 / 3.826 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00275/11.14, allocations: 1.052 MB / 3.827 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/11.14, allocations: 8.75 kB / 3.827 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/11.14, allocations: 5.906 kB / 3.827 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/11.14, allocations: 95.23 kB / 3.827 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007065/11.15, allocations: 407 kB / 3.828 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00807/11.15, allocations: 6.402 MB / 3.834 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/11.16, allocations: 142.5 kB / 3.834 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/11.16, allocations: 47.69 kB / 3.834 GB, free: 29.29 MB / 0.5105 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.0003394/11.16, allocations: 170.4 kB / 3.834 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/11.16, allocations: 86.59 kB / 3.834 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/11.16, allocations: 2.136 MB / 3.836 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/11.16, allocations: 17.42 kB / 3.836 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/11.16, allocations: 0 / 3.836 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/11.16, allocations: 3.797 kB / 3.836 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007335/11.17, allocations: 3.375 MB / 3.84 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/11.17, allocations: 1.688 kB / 3.84 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006872/11.18, allocations: 378 kB / 3.84 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/11.18, allocations: 94.86 kB / 3.84 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/11.18, allocations: 28.3 kB / 3.84 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007656/11.18, allocations: 6.379 MB / 3.846 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/11.18, allocations: 3.938 kB / 3.846 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003831/11.19, allocations: 2.068 MB / 3.848 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/11.19, allocations: 347.2 kB / 3.849 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/11.19, allocations: 29.88 kB / 3.849 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/11.19, allocations: 116.1 kB / 3.849 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/11.19, allocations: 123 kB / 3.849 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/11.19, allocations: 28.69 kB / 3.849 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001622/11.19, allocations: 0.8701 MB / 3.85 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.193e-06/11.19, allocations: 0 / 3.85 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006363/11.2, allocations: 1.303 MB / 3.851 GB, free: 21.7 MB / 0.5105 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.00979/11.21, allocations: 1.874 MB / 3.853 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007089/11.22, allocations: 1.183 MB / 3.854 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/11.22, allocations: 0 / 3.854 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005972/11.22, allocations: 0.853 MB / 3.855 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/11.23, allocations: 0.5186 MB / 3.855 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/11.23, allocations: 1.979 MB / 3.857 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/11.23, allocations: 1.239 MB / 3.859 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/11.23, allocations: 88.7 kB / 3.859 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of SimCode: time 8.91e-07/11.23, allocations: 0 / 3.859 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.1092/11.34, allocations: 64.37 MB / 3.922 GB, free: 3.012 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestTankWithTopPorts/TestTankWithTopPorts.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches