Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001111/0.001111, allocations: 184 kB / 15.76 MB, free: 6.367 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.71/1.71, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001004/0.001004, allocations: 98.84 kB / 270.2 MB, free: 13.36 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.2459/0.2459, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.784/8.914, allocations: 3.604 GB / 4.083 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/8.914, allocations: 87.95 kB / 4.083 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.727/10.64, allocations: 474.8 MB / 4.546 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/10.64, allocations: 0 / 4.546 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001392/10.64, allocations: 27.98 kB / 4.546 GB, free: 0.9766 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.4294/11.07, allocations: 2.046 MB / 4.548 GB, free: 63.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/11.07, allocations: 10.12 kB / 4.548 GB, free: 63.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/11.07, allocations: 115.1 kB / 4.548 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/11.07, allocations: 0.7524 MB / 4.549 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/11.07, allocations: 58.33 kB / 4.549 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/11.07, allocations: 71.59 kB / 4.549 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/11.08, allocations: 1.244 MB / 4.551 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/11.08, allocations: 6.062 kB / 4.551 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/11.08, allocations: 36.03 kB / 4.551 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/11.08, allocations: 71.77 kB / 4.551 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/11.08, allocations: 1.384 MB / 4.552 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/11.09, allocations: 4.727 MB / 4.557 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/11.09, allocations: 0.8466 MB / 4.557 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007389/11.09, allocations: 0.7432 MB / 4.558 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/11.09, allocations: 42.22 kB / 4.558 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 5.39e-06/11.09, allocations: 0 / 4.558 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.003063/11.1, allocations: 1.227 MB / 4.559 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/11.1, allocations: 113.2 kB / 4.56 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/11.1, allocations: 0.8652 MB / 4.56 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/11.1, allocations: 37.95 kB / 4.56 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/11.1, allocations: 449.8 kB / 4.561 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/11.1, allocations: 194.2 kB / 4.561 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/11.1, allocations: 17.03 kB / 4.561 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001216/11.1, allocations: 339.9 kB / 4.561 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009442/11.1, allocations: 455.1 kB / 4.562 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/11.1, allocations: 0.564 MB / 4.562 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/11.1, allocations: 0.5186 MB / 4.563 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/11.1, allocations: 1.062 kB / 4.563 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003191/11.11, allocations: 1.229 MB / 4.564 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000358/11.11, allocations: 0.9622 MB / 4.565 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/11.11, allocations: 4.781 kB / 4.565 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.662e-05/11.11, allocations: 6.531 kB / 4.565 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/11.11, allocations: 207.5 kB / 4.565 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.659e-05/11.11, allocations: 10.33 kB / 4.565 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/11.11, allocations: 138.5 kB / 4.565 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/11.11, allocations: 60.97 kB / 4.565 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/11.11, allocations: 4.344 kB / 4.565 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002777/11.11, allocations: 1.079 MB / 4.566 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/11.11, allocations: 3.078 kB / 4.566 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/11.11, allocations: 6.781 kB / 4.566 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/11.11, allocations: 207.8 kB / 4.567 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/11.11, allocations: 11.12 kB / 4.567 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/11.11, allocations: 112.1 kB / 4.567 GB, free: 58.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/11.11, allocations: 63.56 kB / 4.567 GB, free: 58.65 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.0009265/11.12, allocations: 361 kB / 4.567 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/11.12, allocations: 94.84 kB / 4.567 GB, free: 58.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/11.12, allocations: 1.249 MB / 4.568 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/11.12, allocations: 14.36 kB / 4.569 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/11.12, allocations: 3.953 kB / 4.569 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/11.12, allocations: 3.531 kB / 4.569 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/11.12, allocations: 2.002 MB / 4.57 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/11.12, allocations: 2.578 kB / 4.57 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/11.12, allocations: 133.2 kB / 4.571 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/11.12, allocations: 5.375 kB / 4.571 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/11.12, allocations: 27.84 kB / 4.571 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/11.12, allocations: 5.562 kB / 4.571 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/11.12, allocations: 5.781 kB / 4.571 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/11.13, allocations: 1.144 MB / 4.572 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/11.13, allocations: 213.1 kB / 4.572 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/11.13, allocations: 15.28 kB / 4.572 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/11.13, allocations: 58.3 kB / 4.572 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/11.13, allocations: 53.22 kB / 4.572 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/11.13, allocations: 51.94 kB / 4.572 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001384/11.13, allocations: 0.6928 MB / 4.573 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/11.13, allocations: 0 / 4.573 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0061/11.14, allocations: 1.352 MB / 4.574 GB, free: 57.28 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.00873/11.15, allocations: 1.971 MB / 4.576 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004641/11.15, allocations: 1.556 MB / 4.578 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/11.15, allocations: 4.859 kB / 4.578 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/11.15, allocations: 446.2 kB / 4.578 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/11.15, allocations: 0.4964 MB / 4.578 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/11.16, allocations: 1.989 MB / 4.58 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/11.16, allocations: 1.074 MB / 4.581 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00285/11.16, allocations: 0.52 MB / 4.582 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/11.16, allocations: 131.5 kB / 4.582 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/11.16, allocations: 0.75 kB / 4.582 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.07062/11.23, allocations: 44.77 MB / 4.626 GB, free: 53.91 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches