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.001427/0.001427, allocations: 181.7 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008188/0.0008188, allocations: 97.03 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3177/0.3177, allocations: 43.55 MB / 363.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 19.98 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.12, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.792/6.912, allocations: 3.604 GB / 4.084 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/6.912, allocations: 86.05 kB / 4.084 GB, free: 61.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.691/8.603, allocations: 474.3 MB / 4.547 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.365e-06/8.603, allocations: 1.062 kB / 4.547 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.202e-05/8.603, allocations: 26.34 kB / 4.547 GB, free: 56.79 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.007234/8.611, allocations: 2.051 MB / 4.549 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/8.611, allocations: 9.188 kB / 4.549 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007355/8.611, allocations: 120.1 kB / 4.549 GB, free: 56.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/8.613, allocations: 0.7643 MB / 4.55 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/8.613, allocations: 63.67 kB / 4.55 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/8.613, allocations: 67.91 kB / 4.55 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/8.615, allocations: 1.249 MB / 4.551 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/8.615, allocations: 3.938 kB / 4.551 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/8.616, allocations: 38.66 kB / 4.552 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-05/8.616, allocations: 73.08 kB / 4.552 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/8.618, allocations: 1.391 MB / 4.553 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007727/8.625, allocations: 4.696 MB / 4.558 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/8.627, allocations: 0.8426 MB / 4.558 GB, free: 53.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/8.628, allocations: 409 kB / 4.559 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/8.629, allocations: 1.392 MB / 4.56 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/8.629, allocations: 42.62 kB / 4.56 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 3.366e-06/8.629, allocations: 0 / 4.56 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.002174/8.631, allocations: 1.23 MB / 4.561 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/8.631, allocations: 110 kB / 4.561 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/8.632, allocations: 0.9593 MB / 4.562 GB, free: 52.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.922e-05/8.632, allocations: 42.14 kB / 4.562 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/8.632, allocations: 445.3 kB / 4.563 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/8.633, allocations: 200.9 kB / 4.563 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/8.633, allocations: 15.22 kB / 4.563 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/8.633, allocations: 342.4 kB / 4.563 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/8.634, allocations: 450.9 kB / 4.564 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007624/8.634, allocations: 0.5697 MB / 4.564 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/8.636, allocations: 0.962 MB / 4.565 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/8.636, allocations: 0 / 4.565 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002066/8.638, allocations: 1.227 MB / 4.567 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/8.638, allocations: 168 kB / 4.567 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/8.638, allocations: 2.469 kB / 4.567 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/8.638, allocations: 7 kB / 4.567 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008691/8.639, allocations: 210.3 kB / 4.567 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/8.639, allocations: 7.75 kB / 4.567 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/8.64, allocations: 135.3 kB / 4.567 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/8.64, allocations: 57.86 kB / 4.567 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/8.64, allocations: 2.75 kB / 4.567 GB, free: 50.98 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001792/8.642, allocations: 1.086 MB / 4.568 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/8.642, allocations: 6.125 kB / 4.568 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/8.642, allocations: 13.27 kB / 4.568 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007913/8.643, allocations: 209.5 kB / 4.568 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/8.643, allocations: 9.906 kB / 4.568 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/8.643, allocations: 109.5 kB / 4.568 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/8.644, allocations: 59.55 kB / 4.569 GB, free: 50.92 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 () * Number of clocked 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.0006021/8.644, allocations: 363.1 kB / 4.569 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/8.644, allocations: 99.09 kB / 4.569 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/8.647, allocations: 1.248 MB / 4.57 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/8.647, allocations: 8.344 kB / 4.57 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/8.647, allocations: 3.031 kB / 4.57 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/8.647, allocations: 2.766 kB / 4.57 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/8.65, allocations: 2.013 MB / 4.572 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/8.65, allocations: 5.781 kB / 4.572 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/8.65, allocations: 129.6 kB / 4.572 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/8.65, allocations: 6.156 kB / 4.572 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/8.65, allocations: 24.17 kB / 4.572 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/8.65, allocations: 3.875 kB / 4.572 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/8.65, allocations: 7.062 kB / 4.572 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/8.652, allocations: 1.057 MB / 4.573 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/8.652, allocations: 211.6 kB / 4.574 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/8.652, allocations: 10.38 kB / 4.574 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/8.653, allocations: 59.55 kB / 4.574 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/8.653, allocations: 61.27 kB / 4.574 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/8.653, allocations: 47.47 kB / 4.574 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009286/8.654, allocations: 0.6939 MB / 4.574 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/8.654, allocations: 1.469 kB / 4.574 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00517/8.659, allocations: 1.345 MB / 4.576 GB, free: 49.51 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 () * Number of clocked 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.005926/8.665, allocations: 1.972 MB / 4.578 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002941/8.668, allocations: 1.555 MB / 4.579 GB, free: 49.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/8.668, allocations: 5.672 kB / 4.579 GB, free: 49.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006774/8.669, allocations: 446.2 kB / 4.58 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/8.672, allocations: 0.497 MB / 4.58 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/8.675, allocations: 2.063 MB / 4.582 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/8.675, allocations: 1.049 MB / 4.583 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/8.676, allocations: 151.2 kB / 4.583 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/8.676, allocations: 2.156 kB / 4.583 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.0587/8.735, allocations: 31.68 MB / 4.614 GB, free: 46.02 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