Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 97.23 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001504, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1703, allocations: 63.46 MB / 481.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5075/0.678, allocations: 171.3 MB / 0.6374 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.6891, allocations: 8.411 MB / 0.6456 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.69, allocations: 31.69 kB / 0.6457 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.6912, allocations: 382.2 kB / 0.646 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006988/0.6982, allocations: 2.127 MB / 0.6481 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008628/0.7068, allocations: 2.913 MB / 0.651 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.71, allocations: 1.433 MB / 0.6524 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.7112, allocations: 0.6041 MB / 0.6529 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.7132, allocations: 0.8687 MB / 0.6538 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.7147, allocations: 0.7946 MB / 0.6546 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.7149, allocations: 52 kB / 0.6546 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/0.7269, allocations: 6.651 MB / 0.6611 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008819/0.7278, allocations: 375 kB / 0.6615 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005144/0.7284, allocations: 233.2 kB / 0.6617 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0076/0.736, allocations: 3.372 MB / 0.665 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.736, allocations: 0 / 0.665 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.647e-06/0.736, allocations: 4 kB / 0.665 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.7361, allocations: 3.938 kB / 0.665 GB, free: 13.65 MB / 0.4981 GB 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.004766/0.7408, allocations: 1.921 MB / 0.6669 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7409, allocations: 8.031 kB / 0.6669 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/0.7413, allocations: 119.6 kB / 0.667 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.7424, allocations: 0.672 MB / 0.6676 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.7425, allocations: 69.94 kB / 0.6677 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.7426, allocations: 67.98 kB / 0.6678 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.7446, allocations: 1.239 MB / 0.669 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.7446, allocations: 0 / 0.669 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.74e-05/0.7447, allocations: 31.98 kB / 0.669 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.389e-05/0.7448, allocations: 81.95 kB / 0.6691 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.7469, allocations: 1.394 MB / 0.6705 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008471/0.7554, allocations: 4.962 MB / 0.6753 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.7571, allocations: 0.8391 MB / 0.6761 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000718/0.7578, allocations: 0.7796 MB / 0.6769 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.7578, allocations: 50.89 kB / 0.6769 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/0.7578, allocations: 0 / 0.6769 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002216/0.7601, allocations: 1.22 MB / 0.6781 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.7601, allocations: 111.2 kB / 0.6782 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.7615, allocations: 0.9855 MB / 0.6792 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.411e-05/0.7616, allocations: 45.58 kB / 0.6792 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.762, allocations: 455.2 kB / 0.6797 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.7623, allocations: 189.4 kB / 0.6799 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.7624, allocations: 16 kB / 0.6799 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.7626, allocations: 334 kB / 0.6802 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/0.7634, allocations: 469.7 kB / 0.6806 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/0.7643, allocations: 0.5972 MB / 0.6812 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008765/0.7652, allocations: 0.5378 MB / 0.6817 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7652, allocations: 0 / 0.6817 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002366/0.7676, allocations: 1.258 MB / 0.683 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005674/0.7681, allocations: 1.138 MB / 0.6841 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7682, allocations: 4 kB / 0.6841 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.7682, allocations: 11.98 kB / 0.6841 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009363/0.7691, allocations: 203.7 kB / 0.6843 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.7691, allocations: 8 kB / 0.6843 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.7702, allocations: 134.7 kB / 0.6844 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.7703, allocations: 51.97 kB / 0.6845 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.7703, allocations: 0 / 0.6845 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002048/0.7724, allocations: 1.116 MB / 0.6856 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7724, allocations: 4 kB / 0.6856 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.7724, allocations: 8 kB / 0.6856 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.7733, allocations: 208 kB / 0.6858 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.7733, allocations: 7.953 kB / 0.6858 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/0.7742, allocations: 110.9 kB / 0.6859 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.963e-05/0.7743, allocations: 47.97 kB / 0.6859 GB, free: 7.332 MB / 0.5137 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.0006954/0.775, allocations: 364.9 kB / 0.6863 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.7752, allocations: 94.88 kB / 0.6864 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.7773, allocations: 1.199 MB / 0.6875 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.7773, allocations: 8 kB / 0.6876 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.7773, allocations: 3.953 kB / 0.6876 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.7773, allocations: 3.984 kB / 0.6876 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.7806, allocations: 1.862 MB / 0.6894 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.7806, allocations: 4.25 kB / 0.6894 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.7811, allocations: 115.8 kB / 0.6895 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.7812, allocations: 7.938 kB / 0.6895 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.7812, allocations: 19.98 kB / 0.6895 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-06/0.7812, allocations: 4 kB / 0.6895 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7812, allocations: 4 kB / 0.6895 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.7827, allocations: 1.025 MB / 0.6905 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.7831, allocations: 247.7 kB / 0.6908 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.7833, allocations: 8 kB / 0.6908 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.784, allocations: 43.95 kB / 0.6908 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7841, allocations: 60.22 kB / 0.6909 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/0.7842, allocations: 35.97 kB / 0.6909 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009532/0.7851, allocations: 0.7453 MB / 0.6916 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7851, allocations: 0 / 0.6916 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003278/0.7884, allocations: 1.171 MB / 0.6928 GB, free: 96 kB / 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.002839/0.7913, allocations: 1.085 MB / 0.6938 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002921/0.7942, allocations: 1.542 MB / 0.6953 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.7942, allocations: 0 / 0.6953 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.7948, allocations: 383.5 kB / 0.6957 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.7973, allocations: 493.7 kB / 0.6962 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.8007, allocations: 1.956 MB / 0.6981 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/0.8015, allocations: 1.07 MB / 0.6991 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001994/0.8035, allocations: 0.6555 MB / 0.6998 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.8038, allocations: 99.41 kB / 0.6999 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.8038, allocations: 0 / 0.6999 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of Templates: time 0.2788/1.083, allocations: 33.47 MB / 0.7326 GB, free: 183.7 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches