Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009721/0.0009722, allocations: 177.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.8 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4375/0.4375, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4171, allocations: 61.9 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.023/8.44, allocations: 3.439 GB / 3.949 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/8.441, allocations: 87.95 kB / 3.949 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.69/10.13, allocations: 465.3 MB / 4.403 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.945e-06/10.13, allocations: 3.938 kB / 4.403 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001503/10.13, allocations: 24 kB / 4.403 GB, free: 6.953 MB / 0.5261 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.007843/10.14, allocations: 1.972 MB / 4.405 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/10.14, allocations: 8.031 kB / 4.405 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/10.14, allocations: 122.7 kB / 4.405 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/10.14, allocations: 0.7421 MB / 4.406 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/10.14, allocations: 57.98 kB / 4.406 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/10.14, allocations: 67.98 kB / 4.406 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/10.14, allocations: 1.237 MB / 4.407 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/10.14, allocations: 0 / 4.407 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/10.14, allocations: 43.97 kB / 4.407 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-05/10.14, allocations: 69.95 kB / 4.407 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/10.15, allocations: 1.366 MB / 4.409 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4054/10.55, allocations: 4.876 MB / 4.414 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/10.55, allocations: 0.8147 MB / 4.414 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/10.55, allocations: 0.779 MB / 4.415 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/10.55, allocations: 41.16 kB / 4.415 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.865e-06/10.55, allocations: 3.531 kB / 4.415 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.00213/10.56, allocations: 1.179 MB / 4.416 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/10.56, allocations: 113 kB / 4.416 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/10.56, allocations: 0.8854 MB / 4.417 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/10.56, allocations: 40.7 kB / 4.417 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/10.56, allocations: 454.7 kB / 4.418 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/10.56, allocations: 187.3 kB / 4.418 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/10.56, allocations: 14.78 kB / 4.418 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/10.56, allocations: 341.5 kB / 4.418 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007474/10.56, allocations: 445.8 kB / 4.419 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/10.56, allocations: 0.5622 MB / 4.419 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/10.56, allocations: 0.5195 MB / 4.42 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/10.56, allocations: 0 / 4.42 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00218/10.56, allocations: 1.218 MB / 4.421 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/10.56, allocations: 0.9681 MB / 4.422 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/10.56, allocations: 3 kB / 4.422 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/10.56, allocations: 5.953 kB / 4.422 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/10.56, allocations: 204.4 kB / 4.422 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/10.56, allocations: 9.5 kB / 4.422 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/10.57, allocations: 133.4 kB / 4.422 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/10.57, allocations: 47.33 kB / 4.422 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/10.57, allocations: 6 kB / 4.422 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001731/10.57, allocations: 1.063 MB / 4.423 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/10.57, allocations: 2.688 kB / 4.423 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/10.57, allocations: 8.344 kB / 4.423 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/10.57, allocations: 200.1 kB / 4.424 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/10.57, allocations: 6.219 kB / 4.424 GB, free: 54.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/10.57, allocations: 114.1 kB / 4.424 GB, free: 54.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/10.57, allocations: 46.09 kB / 4.424 GB, free: 54.52 MB / 0.5261 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.0006512/10.57, allocations: 369.1 kB / 4.424 GB, free: 54.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/10.57, allocations: 93.66 kB / 4.424 GB, free: 54.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/10.57, allocations: 1.146 MB / 4.425 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/10.57, allocations: 5.375 kB / 4.425 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/10.57, allocations: 0 / 4.425 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/10.57, allocations: 3.141 kB / 4.425 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/10.57, allocations: 1.819 MB / 4.427 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/10.57, allocations: 3.172 kB / 4.427 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/10.57, allocations: 114.5 kB / 4.427 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/10.57, allocations: 11.95 kB / 4.427 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/10.57, allocations: 18.38 kB / 4.427 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/10.57, allocations: 10.62 kB / 4.427 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/10.57, allocations: 2.844 kB / 4.427 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/10.58, allocations: 0.9988 MB / 4.428 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/10.58, allocations: 236.8 kB / 4.428 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/10.58, allocations: 11.28 kB / 4.428 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/10.58, allocations: 48.02 kB / 4.428 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/10.58, allocations: 48.88 kB / 4.428 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/10.58, allocations: 40.97 kB / 4.429 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008866/10.58, allocations: 0.7508 MB / 4.429 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/10.58, allocations: 0 / 4.429 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004342/10.58, allocations: 1.304 MB / 4.431 GB, free: 53.12 MB / 0.5261 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.004455/10.59, allocations: 1.839 MB / 4.432 GB, free: 52.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00259/10.59, allocations: 1.481 MB / 4.434 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/10.59, allocations: 3.844 kB / 4.434 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005191/10.59, allocations: 361.3 kB / 4.434 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/10.59, allocations: 494.4 kB / 4.435 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/10.6, allocations: 1.941 MB / 4.436 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/10.6, allocations: 1.068 MB / 4.438 GB, free: 51.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001695/10.6, allocations: 0.5987 MB / 4.438 GB, free: 51.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/10.6, allocations: 100.3 kB / 4.438 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/10.6, allocations: 5.375 kB / 4.438 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.0719/10.67, allocations: 43.3 MB / 4.481 GB, free: 50.16 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches