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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 111.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001189, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.09 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 67.88 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.331, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.06623/0.3973, allocations: 59.34 MB / 0.5896 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02037/0.4177, allocations: 16.39 MB / 0.6056 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009254/0.4186, allocations: 15.94 kB / 0.6056 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.4203, allocations: 449.2 kB / 0.6061 GB, free: 5.355 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.4342, allocations: 4.975 MB / 0.6109 GB, free: 388 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006411/0.4407, allocations: 2.344 MB / 0.6132 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003645/0.4443, allocations: 2.746 MB / 0.6159 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.4458, allocations: 0.8914 MB / 0.6168 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/0.4513, allocations: 2.719 MB / 0.6194 GB, free: 7.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/0.4559, allocations: 2.423 MB / 0.6218 GB, free: 5.172 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.4562, allocations: 108 kB / 0.6219 GB, free: 5.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/0.4704, allocations: 7.352 MB / 0.6291 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000474/0.4709, allocations: 343 kB / 0.6294 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009363/0.4718, allocations: 0.5951 MB / 0.63 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.4821, allocations: 5.465 MB / 0.6353 GB, free: 7.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4821, allocations: 0 / 0.6353 GB, free: 7.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4821, allocations: 0 / 0.6353 GB, free: 7.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.395e-05/0.4822, allocations: 3.938 kB / 0.6353 GB, free: 7.293 MB / 494.1 MB 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.004983/0.4872, allocations: 1.879 MB / 0.6371 GB, free: 5.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4872, allocations: 8.031 kB / 0.6372 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.4895, allocations: 303.5 kB / 0.6374 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.4906, allocations: 0.6805 MB / 0.6381 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.4909, allocations: 304.2 kB / 0.6384 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.491, allocations: 84.03 kB / 0.6385 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/0.4944, allocations: 1.504 MB / 0.6399 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.4944, allocations: 4 kB / 0.64 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.4945, allocations: 36 kB / 0.64 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.4946, allocations: 37.98 kB / 0.64 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.4978, allocations: 1.342 MB / 0.6413 GB, free: 0.8984 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.008458/0.5063, allocations: 6.385 MB / 0.6476 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.5092, allocations: 0.9521 MB / 0.6485 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009287/0.5101, allocations: 451 kB / 0.6489 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03291/0.5431, allocations: 17.19 MB / 0.6657 GB, free: 5.27 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.5432, allocations: 51.12 kB / 0.6658 GB, free: 5.211 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=59): time 3.206e-06/0.5432, allocations: 0 / 0.6658 GB, free: 5.211 MB / 0.5138 GB Notification: Performance of matching and sorting (n=64): time 0.008816/0.552, allocations: 2.942 MB / 0.6686 GB, free: 2.211 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.5521, allocations: 170.8 kB / 0.6688 GB, free: 2.008 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.5533, allocations: 0.8129 MB / 0.6696 GB, free: 1.188 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.5535, allocations: 45.7 kB / 0.6696 GB, free: 1.137 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.5538, allocations: 443.4 kB / 0.6701 GB, free: 0.6953 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.5541, allocations: 213 kB / 0.6703 GB, free: 496 kB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.5544, allocations: 182.5 kB / 0.6704 GB, free: 308 kB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5546, allocations: 398.7 kB / 0.6708 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/0.5555, allocations: 441.7 kB / 0.6712 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.5566, allocations: 0.6649 MB / 0.6719 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.5585, allocations: 0.957 MB / 0.6728 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5585, allocations: 0 / 0.6728 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002666/0.5612, allocations: 1.223 MB / 0.674 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.5612, allocations: 8.75 kB / 0.674 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.5612, allocations: 4 kB / 0.674 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.5616, allocations: 100.7 kB / 0.6741 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.565, allocations: 335.4 kB / 0.6744 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/0.5708, allocations: 6.808 MB / 0.6811 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008659/0.5717, allocations: 84.08 kB / 0.6812 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/0.5718, allocations: 39.98 kB / 0.6812 GB, free: 4.484 MB / 0.5294 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 (Boundary_fixed.medium.phase,massFlowRate[2].medium.phase,massFlowRate[1].medium.phase,tank.aboveLevel[4],$PRE.tank.aboveLevel[4],tank.aboveLevel[3],$PRE.tank.aboveLevel[3],tank.aboveLevel[2],$PRE.tank.aboveLevel[2],tank.aboveLevel[1],$PRE.tank.aboveLevel[1],tank.ports_m_flow_out[4],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[1],tank.heatTransfer.states[1].phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000552/0.5723, allocations: 331.7 kB / 0.6815 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.5726, allocations: 90.91 kB / 0.6816 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/0.5758, allocations: 2.18 MB / 0.6837 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5759, allocations: 0 / 0.6837 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5759, allocations: 4 kB / 0.6838 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.5761, allocations: 179.7 kB / 0.6839 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.5764, allocations: 83.17 kB / 0.684 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008094/0.5772, allocations: 83.89 kB / 0.6841 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.5774, allocations: 108.4 kB / 0.6842 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004956/0.5824, allocations: 1.587 MB / 0.6857 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003196/0.5856, allocations: 2.103 MB / 0.6878 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009359/0.5866, allocations: 0.5907 MB / 0.6884 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001202/0.5878, allocations: 0.8922 MB / 0.6892 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Backend: time 2.9e-07/0.5878, allocations: 4 kB / 0.6892 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01029/0.5981, allocations: 2.318 MB / 0.6915 GB, free: 9.848 MB / 0.545 GB Notification: Performance of SimCode: time 0.004616/0.6027, allocations: 2.95 MB / 0.6944 GB, free: 6.852 MB / 0.545 GB Notification: Performance of Templates: time 0.3191/0.9218, allocations: 59.72 MB / 0.7527 GB, free: 149.1 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestTankWithTopPorts/TestTankWithTopPorts.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches