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.001589/0.001589, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.0009065, allocations: 90.14 kB / 281.6 MB, free: 5.266 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.2053/0.2053, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.867e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1455, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.048/8.193, allocations: 3.439 GB / 3.933 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/8.194, allocations: 85.58 kB / 3.933 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.563/9.757, allocations: 459.3 MB / 4.382 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/9.757, allocations: 4 kB / 4.382 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.453e-05/9.757, allocations: 24 kB / 4.382 GB, free: 8.078 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.006893/9.764, allocations: 1.866 MB / 4.384 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/9.764, allocations: 11.98 kB / 4.384 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/9.764, allocations: 118.8 kB / 4.384 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/9.766, allocations: 0.7344 MB / 4.384 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/9.766, allocations: 24 kB / 4.385 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/9.766, allocations: 44 kB / 4.385 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/9.768, allocations: 1.203 MB / 4.386 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/9.77, allocations: 1.093 MB / 4.387 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/9.77, allocations: 0 / 4.387 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/9.77, allocations: 4 kB / 4.387 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.392e-05/9.77, allocations: 73.95 kB / 4.387 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3512/10.12, allocations: 4.663 MB / 4.391 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/10.12, allocations: 0.7675 MB / 4.392 GB, free: 69.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/10.12, allocations: 358.5 kB / 4.393 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005383/10.12, allocations: 0.7813 MB / 4.393 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/10.12, allocations: 47.62 kB / 4.393 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 3.227e-06/10.12, allocations: 0 / 4.393 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002415/10.13, allocations: 0.8513 MB / 4.394 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/10.13, allocations: 109.4 kB / 4.394 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/10.13, allocations: 0.6091 MB / 4.395 GB, free: 68.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/10.13, allocations: 28.47 kB / 4.395 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/10.13, allocations: 466.9 kB / 4.395 GB, free: 67.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/10.13, allocations: 184.9 kB / 4.396 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/10.13, allocations: 0 / 4.396 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001217/10.13, allocations: 381.3 kB / 4.396 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/10.13, allocations: 419.2 kB / 4.396 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/10.13, allocations: 0.5323 MB / 4.397 GB, free: 67.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/10.13, allocations: 0.8537 MB / 4.398 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/10.13, allocations: 3.656 kB / 4.398 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003171/10.13, allocations: 1.469 MB / 4.399 GB, free: 67.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000169/10.13, allocations: 0.9643 MB / 4.4 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/10.13, allocations: 3.797 kB / 4.4 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/10.14, allocations: 11.77 kB / 4.4 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/10.14, allocations: 203.6 kB / 4.4 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/10.14, allocations: 6.531 kB / 4.4 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/10.14, allocations: 92.25 kB / 4.4 GB, free: 66.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/10.14, allocations: 47.61 kB / 4.4 GB, free: 66.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/10.14, allocations: 7.094 kB / 4.4 GB, free: 66.32 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003076/10.14, allocations: 1.286 MB / 4.402 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/10.14, allocations: 3.969 kB / 4.402 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/10.14, allocations: 7.281 kB / 4.402 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/10.14, allocations: 197.7 kB / 4.402 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/10.14, allocations: 5.625 kB / 4.402 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/10.14, allocations: 76.03 kB / 4.402 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.512e-05/10.14, allocations: 44.94 kB / 4.402 GB, free: 66.29 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 () * 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.000231/10.14, allocations: 120.7 kB / 4.402 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/10.14, allocations: 76 kB / 4.402 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/10.14, allocations: 1.101 MB / 4.403 GB, free: 66.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/10.14, allocations: 9.156 kB / 4.403 GB, free: 66.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/10.14, allocations: 4.016 kB / 4.403 GB, free: 66.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/10.14, allocations: 4.5 kB / 4.403 GB, free: 66.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/10.15, allocations: 1.708 MB / 4.405 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/10.15, allocations: 2.031 kB / 4.405 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/10.15, allocations: 115.2 kB / 4.405 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/10.15, allocations: 4.156 kB / 4.405 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/10.15, allocations: 10.64 kB / 4.405 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/10.15, allocations: 5.234 kB / 4.405 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/10.15, allocations: 3.062 kB / 4.405 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/10.15, allocations: 0.9782 MB / 4.406 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/10.15, allocations: 207 kB / 4.406 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/10.15, allocations: 7.188 kB / 4.406 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/10.15, allocations: 42 kB / 4.406 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/10.15, allocations: 41.88 kB / 4.406 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/10.15, allocations: 35.92 kB / 4.406 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007074/10.15, allocations: 0.5215 MB / 4.407 GB, free: 65.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/10.15, allocations: 3.25 kB / 4.407 GB, free: 65.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003945/10.16, allocations: 1.279 MB / 4.408 GB, free: 65.03 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 () * 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.005226/10.16, allocations: 2.024 MB / 4.41 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002944/10.16, allocations: 1.386 MB / 4.411 GB, free: 64.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/10.16, allocations: 0.6875 kB / 4.411 GB, free: 64.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005169/10.16, allocations: 322.8 kB / 4.412 GB, free: 64.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/10.17, allocations: 325.5 kB / 4.412 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/10.17, allocations: 1.169 MB / 4.413 GB, free: 64.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/10.17, allocations: 1.067 MB / 4.414 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001924/10.17, allocations: 0.5849 MB / 4.415 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/10.17, allocations: 83.3 kB / 4.415 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of SimCode: time 1.863e-06/10.17, allocations: 0 / 4.415 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.04376/10.22, allocations: 32.36 MB / 4.446 GB, free: 62.8 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