Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001185, allocations: 100.1 kB / 16.99 MB, free: 6.402 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.001027/0.001028, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 13.41 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5397/0.6983, allocations: 171 MB / 0.6274 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.7167, allocations: 8.397 MB / 0.6356 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.7183, allocations: 35.69 kB / 0.6356 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.7204, allocations: 386.2 kB / 0.636 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008416/0.7288, allocations: 2.128 MB / 0.6381 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009461/0.7383, allocations: 2.916 MB / 0.6409 GB, free: 8.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004032/0.7423, allocations: 1.422 MB / 0.6423 GB, free: 7.512 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.7441, allocations: 0.6158 MB / 0.6429 GB, free: 6.883 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.7473, allocations: 0.8647 MB / 0.6438 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.7496, allocations: 0.7947 MB / 0.6445 GB, free: 5.219 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.7499, allocations: 55.94 kB / 0.6446 GB, free: 5.164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01856/0.7684, allocations: 6.577 MB / 0.651 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.7701, allocations: 379 kB / 0.6514 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.7713, allocations: 233.2 kB / 0.6516 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.7835, allocations: 3.341 MB / 0.6549 GB, free: 10.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7835, allocations: 3.938 kB / 0.6549 GB, free: 10.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.7836, allocations: 0 / 0.6549 GB, free: 10.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.557e-05/0.7837, allocations: 0 / 0.6549 GB, free: 10.62 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00953/0.7932, allocations: 1.898 MB / 0.6567 GB, free: 8.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.7933, allocations: 12.03 kB / 0.6567 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008802/0.7942, allocations: 118.7 kB / 0.6568 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.7961, allocations: 0.672 MB / 0.6575 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-05/0.7962, allocations: 65.97 kB / 0.6576 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.7964, allocations: 72.84 kB / 0.6576 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.7994, allocations: 1.243 MB / 0.6588 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.7995, allocations: 0 / 0.6588 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.7996, allocations: 35.94 kB / 0.6589 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.7998, allocations: 77.95 kB / 0.659 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/0.8027, allocations: 1.39 MB / 0.6603 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00873/0.8114, allocations: 4.962 MB / 0.6652 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.8132, allocations: 0.8442 MB / 0.666 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006893/0.8139, allocations: 0.7796 MB / 0.6667 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.8139, allocations: 50.94 kB / 0.6668 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.8139, allocations: 0 / 0.6668 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002259/0.8162, allocations: 1.216 MB / 0.668 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.8163, allocations: 111.2 kB / 0.6681 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.8176, allocations: 0.9817 MB / 0.669 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.781e-05/0.8177, allocations: 37.7 kB / 0.6691 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.818, allocations: 459.2 kB / 0.6695 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.8182, allocations: 189.4 kB / 0.6697 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.8183, allocations: 19.94 kB / 0.6697 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8184, allocations: 334 kB / 0.67 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000764/0.8192, allocations: 469.7 kB / 0.6705 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/0.8201, allocations: 0.5971 MB / 0.6711 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.821, allocations: 0.5339 MB / 0.6716 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.821, allocations: 7.984 kB / 0.6716 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002242/0.8232, allocations: 1.254 MB / 0.6728 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004717/0.8237, allocations: 1.134 MB / 0.6739 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.8237, allocations: 7.953 kB / 0.6739 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.8238, allocations: 12 kB / 0.6739 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.8247, allocations: 199.7 kB / 0.6741 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.8247, allocations: 11.98 kB / 0.6741 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/0.8257, allocations: 126.8 kB / 0.6743 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.8258, allocations: 51.91 kB / 0.6743 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.8258, allocations: 4 kB / 0.6743 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001939/0.8278, allocations: 1.12 MB / 0.6754 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8278, allocations: 4 kB / 0.6754 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.8278, allocations: 4 kB / 0.6754 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.8287, allocations: 199.7 kB / 0.6756 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.8287, allocations: 8 kB / 0.6756 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.8295, allocations: 119.1 kB / 0.6757 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.8296, allocations: 43.98 kB / 0.6758 GB, free: 4.336 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005777/0.8302, allocations: 369.3 kB / 0.6761 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.8304, allocations: 98.86 kB / 0.6762 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.8326, allocations: 1.196 MB / 0.6774 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.8326, allocations: 4 kB / 0.6774 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8326, allocations: 0 / 0.6774 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.8326, allocations: 3.984 kB / 0.6774 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.8356, allocations: 1.866 MB / 0.6792 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.8356, allocations: 4 kB / 0.6792 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.8361, allocations: 120 kB / 0.6793 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/0.8362, allocations: 4 kB / 0.6793 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.8362, allocations: 19.95 kB / 0.6794 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.8362, allocations: 7.984 kB / 0.6794 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8362, allocations: 7.938 kB / 0.6794 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.8378, allocations: 1.025 MB / 0.6804 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.8382, allocations: 231.8 kB / 0.6806 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.8383, allocations: 16 kB / 0.6806 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.8391, allocations: 50.2 kB / 0.6807 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.8392, allocations: 52.31 kB / 0.6807 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/0.8393, allocations: 31.98 kB / 0.6807 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001059/0.8404, allocations: 0.7492 MB / 0.6815 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8404, allocations: 0 / 0.6815 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003432/0.8438, allocations: 1.159 MB / 0.6826 GB, free: 13.12 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003126/0.8469, allocations: 1.066 MB / 0.6836 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002945/0.8499, allocations: 1.546 MB / 0.6852 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.8499, allocations: 0 / 0.6852 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.8505, allocations: 379.4 kB / 0.6855 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.8531, allocations: 496.8 kB / 0.686 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.8561, allocations: 1.944 MB / 0.6879 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.8568, allocations: 1.067 MB / 0.6889 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001879/0.8587, allocations: 0.6579 MB / 0.6896 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.859, allocations: 107.4 kB / 0.6897 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.8591, allocations: 0 / 0.6897 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of Templates: time 0.264/1.123, allocations: 33.33 MB / 0.7222 GB, free: 197.9 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches