Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 109.1 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 200.2 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1904/0.1904, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.91 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.2911/0.3945, allocations: 59.15 MB / 0.5463 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.4116, allocations: 16.39 MB / 0.5623 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.4123, allocations: 14.97 kB / 0.5623 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4135, allocations: 454.2 kB / 0.5628 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01402/0.4275, allocations: 4.967 MB / 0.5676 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007184/0.4347, allocations: 2.332 MB / 0.5699 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00369/0.4384, allocations: 2.763 MB / 0.5726 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.4402, allocations: 0.8887 MB / 0.5734 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006585/0.4468, allocations: 2.703 MB / 0.5761 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005307/0.4521, allocations: 2.438 MB / 0.5785 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003987/0.4525, allocations: 106.1 kB / 0.5786 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01614/0.4687, allocations: 7.335 MB / 0.5857 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005499/0.4692, allocations: 340.3 kB / 0.5861 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.4704, allocations: 0.5875 MB / 0.5866 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.4817, allocations: 5.455 MB / 0.592 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4818, allocations: 0 / 0.592 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4818, allocations: 0 / 0.592 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.27e-05/0.4818, allocations: 3.938 kB / 0.592 GB, free: 0.6797 MB / 430.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.004896/0.4867, allocations: 1.887 MB / 0.5938 GB, free: 14.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4868, allocations: 11.89 kB / 0.5938 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/0.4891, allocations: 303.5 kB / 0.5941 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.4902, allocations: 0.665 MB / 0.5948 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.4905, allocations: 304.2 kB / 0.595 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.4906, allocations: 76.38 kB / 0.5951 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.4939, allocations: 1.507 MB / 0.5966 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.4939, allocations: 0 / 0.5966 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.494, allocations: 40 kB / 0.5966 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.4941, allocations: 38 kB / 0.5967 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/0.4972, allocations: 1.342 MB / 0.598 GB, free: 10.3 MB / 446.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.008001/0.5053, allocations: 6.393 MB / 0.6042 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.508, allocations: 0.9552 MB / 0.6051 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008259/0.5088, allocations: 458.9 kB / 0.6056 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03124/0.54, allocations: 15.76 MB / 0.621 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.5401, allocations: 43.12 kB / 0.621 GB, free: 336 kB / 462.1 MB Notification: Performance of pre-optimization done (n=59): time 2.504e-06/0.5401, allocations: 0 / 0.621 GB, free: 336 kB / 462.1 MB Notification: Performance of matching and sorting (n=64): time 0.008252/0.5484, allocations: 2.938 MB / 0.6239 GB, free: 13.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.5485, allocations: 162.8 kB / 0.624 GB, free: 13.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.5494, allocations: 0.8207 MB / 0.6249 GB, free: 12.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/0.5495, allocations: 49.69 kB / 0.6249 GB, free: 12.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.5499, allocations: 443.4 kB / 0.6253 GB, free: 11.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.5501, allocations: 217 kB / 0.6255 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.5504, allocations: 178.5 kB / 0.6257 GB, free: 11.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5505, allocations: 398.7 kB / 0.6261 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/0.5514, allocations: 441.7 kB / 0.6265 GB, free: 10.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.5525, allocations: 0.6619 MB / 0.6271 GB, free: 9.832 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.5543, allocations: 0.9648 MB / 0.6281 GB, free: 8.785 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5543, allocations: 0 / 0.6281 GB, free: 8.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002531/0.5568, allocations: 1.219 MB / 0.6293 GB, free: 7.555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5569, allocations: 11.94 kB / 0.6293 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5569, allocations: 4 kB / 0.6293 GB, free: 7.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.5572, allocations: 98.78 kB / 0.6294 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/0.5607, allocations: 331.4 kB / 0.6297 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/0.5666, allocations: 6.796 MB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008941/0.5675, allocations: 79.91 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.5677, allocations: 44.11 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB 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.0005507/0.5682, allocations: 335.6 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.5685, allocations: 94.89 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.5717, allocations: 2.184 MB / 0.639 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5717, allocations: 3.984 kB / 0.639 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5717, allocations: 4 kB / 0.639 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.5719, allocations: 183.7 kB / 0.6392 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.5722, allocations: 79.2 kB / 0.6393 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008275/0.573, allocations: 95.77 kB / 0.6394 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.5732, allocations: 108.4 kB / 0.6395 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00513/0.5784, allocations: 1.58 MB / 0.641 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003378/0.5818, allocations: 2.095 MB / 0.643 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001035/0.5828, allocations: 0.5946 MB / 0.6436 GB, free: 8.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001353/0.5842, allocations: 0.8922 MB / 0.6445 GB, free: 7.289 MB / 494.1 MB Notification: Performance of Backend: time 6.31e-07/0.5842, allocations: 3.938 kB / 0.6445 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.5949, allocations: 2.298 MB / 0.6467 GB, free: 4.984 MB / 494.1 MB Notification: Performance of SimCode: time 0.004725/0.5996, allocations: 2.954 MB / 0.6496 GB, free: 1.977 MB / 494.1 MB Notification: Performance of Templates: time 0.08232/0.682, allocations: 59.64 MB / 0.7079 GB, free: 6.293 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches