Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 209.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 46.96 MB / 361.6 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5008,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_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5008,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_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 59.91 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3301, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.05924/0.3894, allocations: 54.4 MB / 0.6149 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02038/0.4097, allocations: 14.61 MB / 0.6292 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007232/0.4105, allocations: 23.81 kB / 0.6292 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.4117, allocations: 417.3 kB / 0.6296 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.4247, allocations: 4.987 MB / 0.6345 GB, free: 9.531 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006138/0.4309, allocations: 2.31 MB / 0.6368 GB, free: 7.223 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003232/0.4341, allocations: 2.789 MB / 0.6395 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009809/0.4351, allocations: 0.7123 MB / 0.6402 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.4402, allocations: 2.734 MB / 0.6429 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004316/0.4445, allocations: 2.481 MB / 0.6453 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.4448, allocations: 107.9 kB / 0.6454 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.4584, allocations: 7.305 MB / 0.6525 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005732/0.459, allocations: 350.9 kB / 0.6528 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008687/0.4599, allocations: 0.502 MB / 0.6533 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.4722, allocations: 5.479 MB / 0.6587 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4722, allocations: 0 / 0.6587 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4722, allocations: 0 / 0.6587 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.4722, allocations: 0 / 0.6587 GB, free: 0.6641 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.005273/0.4775, allocations: 1.85 MB / 0.6605 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4776, allocations: 8.031 kB / 0.6605 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.4799, allocations: 308 kB / 0.6608 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.4812, allocations: 0.6154 MB / 0.6614 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/0.4815, allocations: 407 kB / 0.6618 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.4817, allocations: 88.12 kB / 0.6619 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/0.4853, allocations: 1.834 MB / 0.6637 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.4854, allocations: 7.938 kB / 0.6637 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.4855, allocations: 36 kB / 0.6637 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.4855, allocations: 38 kB / 0.6637 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.489, allocations: 1.331 MB / 0.665 GB, free: 9.848 MB / 0.4981 GB 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.008308/0.4973, allocations: 4.578 MB / 0.6695 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.5002, allocations: 0.9245 MB / 0.6704 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009354/0.5011, allocations: 430.9 kB / 0.6708 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03099/0.5321, allocations: 8.564 MB / 0.6792 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.5322, allocations: 47 kB / 0.6792 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=59): time 3.106e-06/0.5322, allocations: 0 / 0.6792 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64): time 0.008623/0.5408, allocations: 2.865 MB / 0.682 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.5409, allocations: 162.9 kB / 0.6822 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.5416, allocations: 0.5885 MB / 0.6828 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.5417, allocations: 49.69 kB / 0.6828 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000456/0.5422, allocations: 456 kB / 0.6832 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.5424, allocations: 230.2 kB / 0.6835 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.5428, allocations: 178.6 kB / 0.6836 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.543, allocations: 378.8 kB / 0.684 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/0.544, allocations: 441.7 kB / 0.6844 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.5453, allocations: 0.748 MB / 0.6851 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.5472, allocations: 0.9574 MB / 0.6861 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5472, allocations: 3.938 kB / 0.6861 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002645/0.5498, allocations: 1.208 MB / 0.6873 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.5498, allocations: 8 kB / 0.6873 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5499, allocations: 8 kB / 0.6873 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.5502, allocations: 88.8 kB / 0.6874 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00384/0.5541, allocations: 343.7 kB / 0.6877 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00685/0.5609, allocations: 6.287 MB / 0.6938 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.5619, allocations: 79.91 kB / 0.6939 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/0.562, allocations: 36 kB / 0.6939 GB, free: 11.33 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.0005876/0.5626, allocations: 336.3 kB / 0.6943 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.5628, allocations: 75.53 kB / 0.6943 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.5666, allocations: 2.235 MB / 0.6965 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.5666, allocations: 7.969 kB / 0.6965 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5666, allocations: 0 / 0.6965 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.5669, allocations: 87.3 kB / 0.6966 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.5671, allocations: 75.5 kB / 0.6967 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.5679, allocations: 91.88 kB / 0.6968 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.5681, allocations: 108.5 kB / 0.6969 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005535/0.5737, allocations: 1.592 MB / 0.6984 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003693/0.5774, allocations: 2.116 MB / 0.7005 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001003/0.5784, allocations: 0.5289 MB / 0.701 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00109/0.5795, allocations: 0.719 MB / 0.7017 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of Backend: time 3.41e-07/0.5795, allocations: 0 / 0.7017 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01118/0.5906, allocations: 2.278 MB / 0.7039 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004592/0.5952, allocations: 2.781 MB / 0.7066 GB, free: 14.18 MB / 0.545 GB Notification: Performance of Templates: time 0.3269/0.9221, allocations: 58.1 MB / 0.7634 GB, free: 145.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestTankWithTopPorts/TestTankWithTopPorts.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.036166355006571]