Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001441, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.00104, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.987e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 58.84 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.82/10.94, allocations: 3.604 GB / 4.077 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/10.94, allocations: 94.34 kB / 4.077 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.775/13.71, allocations: 473.9 MB / 4.539 GB, free: 74.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/13.71, allocations: 0 / 4.539 GB, free: 74.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001154/13.71, allocations: 32.84 kB / 4.539 GB, free: 74.74 MB / 0.5105 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.008435/13.72, allocations: 1.941 MB / 4.541 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/13.72, allocations: 12 kB / 4.541 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/13.72, allocations: 121 kB / 4.541 GB, free: 73.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/13.73, allocations: 0.7401 MB / 4.542 GB, free: 73.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/13.73, allocations: 57.31 kB / 4.542 GB, free: 73.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/13.73, allocations: 72.89 kB / 4.542 GB, free: 73.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/13.73, allocations: 1.212 MB / 4.544 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/13.73, allocations: 0 / 4.544 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/13.73, allocations: 37.06 kB / 4.544 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/13.73, allocations: 76.47 kB / 4.544 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/13.73, allocations: 1.323 MB / 4.545 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/13.75, allocations: 4.731 MB / 4.55 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/13.75, allocations: 0.8152 MB / 4.55 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009575/13.75, allocations: 384.9 kB / 4.551 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008747/13.75, allocations: 0.7383 MB / 4.551 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/13.75, allocations: 47.06 kB / 4.551 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 3.346e-06/13.75, allocations: 0 / 4.551 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.002767/13.76, allocations: 0.8391 MB / 4.552 GB, free: 70.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/13.76, allocations: 114.3 kB / 4.552 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/13.76, allocations: 0.8531 MB / 4.553 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002796/13.76, allocations: 40.55 kB / 4.553 GB, free: 70.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/13.76, allocations: 452.4 kB / 4.554 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/13.76, allocations: 199.2 kB / 4.554 GB, free: 70.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/13.76, allocations: 17.31 kB / 4.554 GB, free: 70.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/13.76, allocations: 338.8 kB / 4.554 GB, free: 69.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/13.76, allocations: 430.9 kB / 4.555 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/13.76, allocations: 0.5422 MB / 4.555 GB, free: 69.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/13.76, allocations: 0.4928 MB / 4.556 GB, free: 69.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/13.76, allocations: 3.531 kB / 4.556 GB, free: 69.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003073/13.77, allocations: 1.118 MB / 4.557 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002584/13.77, allocations: 0.9662 MB / 4.558 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/13.77, allocations: 0 / 4.558 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/13.77, allocations: 6.188 kB / 4.558 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/13.77, allocations: 212.4 kB / 4.558 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/13.77, allocations: 8.688 kB / 4.558 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/13.77, allocations: 134.2 kB / 4.558 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/13.77, allocations: 69.22 kB / 4.558 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/13.77, allocations: 4.938 kB / 4.558 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002994/13.77, allocations: 1.026 MB / 4.559 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/13.77, allocations: 2.875 kB / 4.559 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/13.77, allocations: 6.562 kB / 4.559 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/13.78, allocations: 206.6 kB / 4.559 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/13.78, allocations: 7.469 kB / 4.559 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/13.78, allocations: 91.91 kB / 4.559 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/13.78, allocations: 58.52 kB / 4.559 GB, free: 68.47 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0003823/13.78, allocations: 144 kB / 4.56 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/13.78, allocations: 94.66 kB / 4.56 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/13.78, allocations: 1.219 MB / 4.561 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/13.78, allocations: 7.406 kB / 4.561 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/13.78, allocations: 0 / 4.561 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/13.78, allocations: 3.562 kB / 4.561 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004594/13.79, allocations: 1.955 MB / 4.563 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/13.79, allocations: 3.188 kB / 4.563 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/13.79, allocations: 137.7 kB / 4.563 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/13.79, allocations: 2.125 kB / 4.563 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/13.79, allocations: 31.64 kB / 4.563 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/13.79, allocations: 9.656 kB / 4.563 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/13.79, allocations: 2.625 kB / 4.563 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/13.79, allocations: 1.104 MB / 4.564 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005093/13.79, allocations: 206.4 kB / 4.564 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/13.79, allocations: 16.12 kB / 4.564 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/13.79, allocations: 59.72 kB / 4.564 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/13.79, allocations: 53.17 kB / 4.564 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/13.79, allocations: 47.19 kB / 4.564 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001389/13.79, allocations: 0.6897 MB / 4.565 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/13.79, allocations: 0 / 4.565 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005393/13.8, allocations: 1.352 MB / 4.566 GB, free: 66.87 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.007018/13.81, allocations: 1.969 MB / 4.568 GB, free: 66.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003968/13.81, allocations: 1.49 MB / 4.57 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/13.81, allocations: 2.531 kB / 4.57 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009685/13.81, allocations: 422.7 kB / 4.57 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004384/13.82, allocations: 0.4953 MB / 4.571 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/13.82, allocations: 1.351 MB / 4.572 GB, free: 66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/13.82, allocations: 1.067 MB / 4.573 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/13.82, allocations: 149.7 kB / 4.573 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.432e-06/13.82, allocations: 0 / 4.573 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.06831/13.89, allocations: 32.61 MB / 4.605 GB, free: 59.59 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches