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.001078/0.001078, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.669/1.669, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007802/0.0007804, allocations: 89.03 kB / 271.3 MB, free: 8.25 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.4235/0.4235, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 8 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1447, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.667/7.812, allocations: 3.604 GB / 4.084 GB, free: 61.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/7.812, allocations: 87.95 kB / 4.084 GB, free: 61.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.81/9.622, allocations: 474.3 MB / 4.547 GB, free: 56.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.987e-06/9.622, allocations: 4.734 kB / 4.547 GB, free: 56.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001319/9.622, allocations: 24.59 kB / 4.547 GB, free: 56.68 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.008278/9.63, allocations: 2.046 MB / 4.549 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/9.63, allocations: 10.59 kB / 4.549 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006158/9.631, allocations: 119.9 kB / 4.549 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/9.633, allocations: 0.7723 MB / 4.55 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/9.633, allocations: 58.66 kB / 4.55 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/9.633, allocations: 72.62 kB / 4.55 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/9.635, allocations: 1.251 MB / 4.552 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/9.635, allocations: 6.562 kB / 4.552 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/9.635, allocations: 29.23 kB / 4.552 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.611e-05/9.635, allocations: 78.12 kB / 4.552 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/9.637, allocations: 1.381 MB / 4.553 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00735/9.644, allocations: 4.703 MB / 4.558 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/9.646, allocations: 0.8442 MB / 4.558 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/9.646, allocations: 404.7 kB / 4.559 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/9.648, allocations: 1.397 MB / 4.56 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/9.648, allocations: 44 kB / 4.56 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 3.276e-06/9.648, allocations: 0 / 4.56 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.002287/9.65, allocations: 1.224 MB / 4.561 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/9.65, allocations: 109.9 kB / 4.561 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/9.651, allocations: 0.9631 MB / 4.562 GB, free: 52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/9.651, allocations: 40.86 kB / 4.562 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/9.652, allocations: 450.8 kB / 4.563 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/9.652, allocations: 195.7 kB / 4.563 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/9.652, allocations: 16.17 kB / 4.563 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/9.652, allocations: 334.9 kB / 4.563 GB, free: 51.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000781/9.653, allocations: 458.8 kB / 4.564 GB, free: 51.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/9.654, allocations: 0.566 MB / 4.564 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/9.655, allocations: 0.9598 MB / 4.565 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/9.655, allocations: 0 / 4.565 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00224/9.657, allocations: 1.232 MB / 4.567 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/9.657, allocations: 165.4 kB / 4.567 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/9.658, allocations: 3 kB / 4.567 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/9.658, allocations: 4.312 kB / 4.567 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/9.658, allocations: 215.2 kB / 4.567 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/9.658, allocations: 6.562 kB / 4.567 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/9.66, allocations: 134.8 kB / 4.567 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/9.66, allocations: 58.42 kB / 4.567 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/9.66, allocations: 7.75 kB / 4.567 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001792/9.661, allocations: 1.086 MB / 4.568 GB, free: 50.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/9.662, allocations: 8.641 kB / 4.568 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/9.662, allocations: 5.469 kB / 4.568 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/9.662, allocations: 207.1 kB / 4.568 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/9.662, allocations: 7.875 kB / 4.568 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/9.663, allocations: 114.6 kB / 4.569 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/9.663, allocations: 58.81 kB / 4.569 GB, free: 50.82 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.0007044/9.664, allocations: 363.2 kB / 4.569 GB, free: 50.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/9.664, allocations: 99.88 kB / 4.569 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/9.667, allocations: 1.252 MB / 4.57 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/9.667, allocations: 6.625 kB / 4.57 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/9.667, allocations: 0 / 4.57 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/9.667, allocations: 3.188 kB / 4.57 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/9.67, allocations: 2.005 MB / 4.572 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/9.67, allocations: 3.391 kB / 4.572 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/9.67, allocations: 139.1 kB / 4.572 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/9.67, allocations: 4.875 kB / 4.572 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/9.67, allocations: 23.19 kB / 4.572 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/9.67, allocations: 6.031 kB / 4.572 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/9.67, allocations: 3.906 kB / 4.572 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/9.672, allocations: 1.055 MB / 4.573 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/9.672, allocations: 216 kB / 4.574 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/9.673, allocations: 16.31 kB / 4.574 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/9.673, allocations: 48.47 kB / 4.574 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/9.673, allocations: 55.86 kB / 4.574 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/9.674, allocations: 46.83 kB / 4.574 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000936/9.674, allocations: 0.6967 MB / 4.574 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/9.675, allocations: 0 / 4.574 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005597/9.68, allocations: 1.35 MB / 4.576 GB, free: 49.41 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.00595/9.686, allocations: 1.978 MB / 4.578 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00293/9.689, allocations: 1.554 MB / 4.579 GB, free: 49.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/9.689, allocations: 1.797 kB / 4.579 GB, free: 49.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006616/9.69, allocations: 446.6 kB / 4.58 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/9.693, allocations: 0.4963 MB / 4.58 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/9.696, allocations: 2.001 MB / 4.582 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/9.696, allocations: 1.05 MB / 4.583 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002269/9.698, allocations: 0.5428 MB / 4.584 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/9.699, allocations: 118.8 kB / 4.584 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/9.699, allocations: 0 / 4.584 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.06691/9.766, allocations: 45.46 MB / 4.628 GB, free: 45.6 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/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_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches