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.001334/0.001334, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 79.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3483, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.05933/0.4077, allocations: 59.34 MB / 0.5896 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02064/0.4284, allocations: 16.38 MB / 0.6056 GB, free: 5.953 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.4292, allocations: 19.88 kB / 0.6056 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.4304, allocations: 449.3 kB / 0.6061 GB, free: 5.492 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.4452, allocations: 4.997 MB / 0.6109 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006753/0.452, allocations: 2.344 MB / 0.6132 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.4552, allocations: 2.766 MB / 0.6159 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.4566, allocations: 0.8875 MB / 0.6168 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006349/0.4629, allocations: 2.719 MB / 0.6195 GB, free: 7.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00542/0.4684, allocations: 2.427 MB / 0.6218 GB, free: 5.273 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004962/0.4689, allocations: 104 kB / 0.6219 GB, free: 5.172 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01737/0.4863, allocations: 7.352 MB / 0.6291 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008392/0.4872, allocations: 339 kB / 0.6294 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.4887, allocations: 0.5952 MB / 0.63 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.5016, allocations: 5.469 MB / 0.6353 GB, free: 7.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5016, allocations: 0 / 0.6353 GB, free: 7.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5016, allocations: 0 / 0.6353 GB, free: 7.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.451e-05/0.5017, allocations: 0 / 0.6353 GB, free: 7.402 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.00554/0.5072, allocations: 1.879 MB / 0.6372 GB, free: 5.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5073, allocations: 8.031 kB / 0.6372 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.5099, allocations: 299.5 kB / 0.6375 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.5112, allocations: 0.6728 MB / 0.6381 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.5115, allocations: 304.2 kB / 0.6384 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.5117, allocations: 92.02 kB / 0.6385 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.5152, allocations: 1.5 MB / 0.64 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.5153, allocations: 0 / 0.64 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.5154, allocations: 40 kB / 0.64 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.5154, allocations: 49.91 kB / 0.6401 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.5188, allocations: 1.342 MB / 0.6414 GB, free: 1.004 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.008533/0.5273, allocations: 6.381 MB / 0.6476 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.5302, allocations: 0.9521 MB / 0.6485 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009086/0.5311, allocations: 454.1 kB / 0.649 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04116/0.5723, allocations: 17.19 MB / 0.6658 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.5724, allocations: 43.12 kB / 0.6658 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=59): time 3.897e-06/0.5724, allocations: 0 / 0.6658 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64): time 0.01022/0.5826, allocations: 2.946 MB / 0.6687 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.5827, allocations: 170.7 kB / 0.6688 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.5838, allocations: 0.8169 MB / 0.6696 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/0.5839, allocations: 45.7 kB / 0.6697 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.5843, allocations: 443.4 kB / 0.6701 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.5845, allocations: 221 kB / 0.6703 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.5848, allocations: 182.5 kB / 0.6705 GB, free: 412 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.585, allocations: 398.7 kB / 0.6709 GB, free: 4 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.586, allocations: 437.7 kB / 0.6713 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.5871, allocations: 0.6611 MB / 0.6719 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.589, allocations: 0.9609 MB / 0.6729 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.589, allocations: 3.938 kB / 0.6729 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002634/0.5916, allocations: 1.207 MB / 0.674 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5917, allocations: 8 kB / 0.6741 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.5917, allocations: 12.69 kB / 0.6741 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.5921, allocations: 96.78 kB / 0.6742 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/0.5953, allocations: 339.4 kB / 0.6745 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/0.6013, allocations: 6.809 MB / 0.6811 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/0.6024, allocations: 84.11 kB / 0.6812 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.6025, allocations: 43.98 kB / 0.6813 GB, free: 4.59 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.0006044/0.6031, allocations: 331.7 kB / 0.6816 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.6034, allocations: 90.91 kB / 0.6817 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.607, allocations: 2.172 MB / 0.6838 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.607, allocations: 3.984 kB / 0.6838 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.607, allocations: 4 kB / 0.6838 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.6073, allocations: 179.7 kB / 0.684 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/0.6077, allocations: 79.2 kB / 0.684 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.6092, allocations: 91.83 kB / 0.6841 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003882/0.6096, allocations: 112.4 kB / 0.6842 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007493/0.6171, allocations: 1.58 MB / 0.6858 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003348/0.6204, allocations: 2.103 MB / 0.6878 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001006/0.6215, allocations: 0.5868 MB / 0.6884 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001224/0.6227, allocations: 0.8922 MB / 0.6893 GB, free: 12.28 MB / 0.545 GB Notification: Performance of Backend: time 1.924e-06/0.6227, allocations: 0 / 0.6893 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01086/0.6336, allocations: 2.324 MB / 0.6915 GB, free: 9.961 MB / 0.545 GB Notification: Performance of SimCode: time 0.005082/0.6387, allocations: 2.942 MB / 0.6944 GB, free: 6.965 MB / 0.545 GB Notification: Performance of Templates: time 0.316/0.9547, allocations: 59.13 MB / 0.7522 GB, free: 149.9 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