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.001002/0.001003, allocations: 187 kB / 18.09 MB, free: 3.727 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.323/1.323, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0008803/0.0008803, allocations: 99.59 kB / 293.3 MB, free: 10.78 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.3911/0.3911, allocations: 44.15 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 8 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3601, allocations: 61.88 MB / 0.5107 GB, free: 38.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.434/7.794, allocations: 3.439 GB / 3.95 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/7.795, allocations: 94.97 kB / 3.95 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.606/9.4, allocations: 464.8 MB / 4.404 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.924e-06/9.401, allocations: 0 / 4.404 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001145/9.401, allocations: 31.92 kB / 4.404 GB, free: 6.617 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.008041/9.409, allocations: 1.964 MB / 4.406 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/9.409, allocations: 11.97 kB / 4.406 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009683/9.41, allocations: 121.9 kB / 4.406 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/9.412, allocations: 0.7573 MB / 4.407 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/9.412, allocations: 57.98 kB / 4.407 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/9.412, allocations: 71.98 kB / 4.407 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/9.415, allocations: 1.249 MB / 4.408 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/9.415, allocations: 0 / 4.408 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/9.415, allocations: 31.98 kB / 4.408 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.485e-05/9.415, allocations: 73.95 kB / 4.408 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/9.417, allocations: 1.366 MB / 4.41 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3748/9.792, allocations: 4.836 MB / 4.414 GB, free: 58.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/9.794, allocations: 0.8085 MB / 4.415 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/9.794, allocations: 388 kB / 4.416 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/9.795, allocations: 0.7801 MB / 4.416 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/9.795, allocations: 47.19 kB / 4.416 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.875e-06/9.795, allocations: 0 / 4.416 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.001998/9.797, allocations: 1.182 MB / 4.418 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/9.797, allocations: 112.6 kB / 4.418 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/9.798, allocations: 0.9792 MB / 4.419 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.489e-05/9.798, allocations: 43.27 kB / 4.419 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/9.798, allocations: 453.8 kB / 4.419 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/9.799, allocations: 190.7 kB / 4.419 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/9.799, allocations: 14.09 kB / 4.419 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.141e-05/9.799, allocations: 342.5 kB / 4.42 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/9.799, allocations: 449.4 kB / 4.42 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/9.8, allocations: 0.56 MB / 4.421 GB, free: 56.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/9.802, allocations: 0.9491 MB / 4.422 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/9.802, allocations: 0 / 4.422 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001984/9.804, allocations: 1.22 MB / 4.423 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.781e-05/9.804, allocations: 166.9 kB / 4.423 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/9.804, allocations: 2.281 kB / 4.423 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/9.804, allocations: 8.406 kB / 4.423 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008165/9.805, allocations: 199.7 kB / 4.423 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/9.805, allocations: 10.66 kB / 4.423 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009568/9.806, allocations: 139.4 kB / 4.423 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/9.806, allocations: 44.73 kB / 4.423 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/9.806, allocations: 5.188 kB / 4.423 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/9.807, allocations: 1.07 MB / 4.424 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/9.807, allocations: 0 / 4.424 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/9.807, allocations: 7.5 kB / 4.424 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/9.808, allocations: 199.8 kB / 4.425 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/9.808, allocations: 8.25 kB / 4.425 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/9.809, allocations: 112.9 kB / 4.425 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/9.809, allocations: 47.48 kB / 4.425 GB, free: 55.84 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.0005921/9.81, allocations: 362.9 kB / 4.425 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/9.81, allocations: 96.59 kB / 4.425 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/9.812, allocations: 1.133 MB / 4.426 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/9.812, allocations: 6.219 kB / 4.426 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/9.812, allocations: 2.625 kB / 4.426 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/9.812, allocations: 8.359 kB / 4.426 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/9.814, allocations: 1.817 MB / 4.428 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/9.814, allocations: 0 / 4.428 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/9.815, allocations: 112.2 kB / 4.428 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/9.815, allocations: 8.609 kB / 4.428 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/9.815, allocations: 20.38 kB / 4.428 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/9.815, allocations: 2.75 kB / 4.428 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/9.815, allocations: 6.375 kB / 4.428 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/9.816, allocations: 0.9053 MB / 4.429 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/9.816, allocations: 227.8 kB / 4.429 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/9.817, allocations: 12.25 kB / 4.429 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/9.817, allocations: 48.89 kB / 4.429 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/9.817, allocations: 46.48 kB / 4.429 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/9.817, allocations: 36.81 kB / 4.429 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009056/9.818, allocations: 0.7543 MB / 4.43 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/9.818, allocations: 2.625 kB / 4.43 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004646/9.823, allocations: 1.301 MB / 4.431 GB, free: 54.57 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.005455/9.829, allocations: 1.864 MB / 4.433 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002866/9.831, allocations: 1.472 MB / 4.435 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/9.831, allocations: 2.656 kB / 4.435 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005965/9.832, allocations: 360.1 kB / 4.435 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/9.835, allocations: 495.6 kB / 4.435 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/9.838, allocations: 1.935 MB / 4.437 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/9.839, allocations: 1.05 MB / 4.438 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002097/9.841, allocations: 0.6806 MB / 4.439 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/9.841, allocations: 101.3 kB / 4.439 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/9.841, allocations: 0 / 4.439 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of Templates: time 0.07275/9.914, allocations: 44 MB / 4.482 GB, free: 51.63 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/jenkins1/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