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.001072/0.001072, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.222/1.222, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007607/0.0007607, allocations: 98.36 kB / 267.1 MB, free: 9.289 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.3151/0.3151, allocations: 43.47 MB / 358.6 MB, free: 51.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.578e-05, allocations: 3.984 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.547/7.663, allocations: 3.604 GB / 4.077 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/7.663, allocations: 89.31 kB / 4.077 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.499/9.162, allocations: 473.9 MB / 4.539 GB, free: 55.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.262e-06/9.162, allocations: 0 / 4.539 GB, free: 55.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.058e-05/9.162, allocations: 29.61 kB / 4.539 GB, free: 55.53 MB / 0.4948 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.005402/9.168, allocations: 1.941 MB / 4.541 GB, free: 54.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/9.168, allocations: 14.53 kB / 4.541 GB, free: 54.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/9.168, allocations: 120.8 kB / 4.542 GB, free: 54.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/9.169, allocations: 0.7345 MB / 4.542 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/9.17, allocations: 59.12 kB / 4.542 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/9.17, allocations: 69.78 kB / 4.542 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/9.171, allocations: 1.217 MB / 4.544 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/9.171, allocations: 0 / 4.544 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/9.171, allocations: 30.22 kB / 4.544 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.601e-05/9.171, allocations: 81.83 kB / 4.544 GB, free: 54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/9.173, allocations: 1.328 MB / 4.545 GB, free: 53.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006254/9.179, allocations: 4.733 MB / 4.55 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/9.181, allocations: 0.82 MB / 4.55 GB, free: 52.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/9.181, allocations: 382.2 kB / 4.551 GB, free: 52.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/9.182, allocations: 0.7422 MB / 4.551 GB, free: 51.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/9.182, allocations: 41.22 kB / 4.551 GB, free: 51.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=55): time 2.073e-06/9.182, allocations: 3.344 kB / 4.551 GB, free: 51.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.001252/9.183, allocations: 0.836 MB / 4.552 GB, free: 50.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/9.183, allocations: 113.3 kB / 4.552 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/9.184, allocations: 0.8655 MB / 4.553 GB, free: 50.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/9.184, allocations: 37.58 kB / 4.553 GB, free: 50.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/9.184, allocations: 443.2 kB / 4.554 GB, free: 50.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/9.184, allocations: 195 kB / 4.554 GB, free: 49.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/9.184, allocations: 12 kB / 4.554 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.577e-05/9.185, allocations: 346.8 kB / 4.554 GB, free: 49.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/9.185, allocations: 422.7 kB / 4.555 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/9.186, allocations: 0.543 MB / 4.555 GB, free: 49.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/9.186, allocations: 0.4935 MB / 4.556 GB, free: 49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/9.186, allocations: 0 / 4.556 GB, free: 49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001613/9.188, allocations: 1.175 MB / 4.557 GB, free: 48.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/9.188, allocations: 0.9661 MB / 4.558 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/9.188, allocations: 0 / 4.558 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/9.188, allocations: 7.875 kB / 4.558 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/9.189, allocations: 204.4 kB / 4.558 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/9.189, allocations: 13.81 kB / 4.558 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/9.19, allocations: 134.5 kB / 4.558 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/9.19, allocations: 60.06 kB / 4.558 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/9.19, allocations: 7.797 kB / 4.558 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001395/9.192, allocations: 1.032 MB / 4.559 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/9.192, allocations: 3.938 kB / 4.559 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/9.192, allocations: 4.688 kB / 4.559 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/9.192, allocations: 207 kB / 4.559 GB, free: 47.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/9.192, allocations: 11.33 kB / 4.559 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/9.193, allocations: 113.1 kB / 4.559 GB, free: 47.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/9.193, allocations: 53.88 kB / 4.56 GB, free: 47.01 MB / 0.4948 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.0002308/9.193, allocations: 151.1 kB / 4.56 GB, free: 46.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/9.194, allocations: 100.9 kB / 4.56 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/9.196, allocations: 1.202 MB / 4.561 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/9.196, allocations: 11.59 kB / 4.561 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/9.196, allocations: 4 kB / 4.561 GB, free: 46.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/9.196, allocations: 6.984 kB / 4.561 GB, free: 46.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/9.198, allocations: 1.955 MB / 4.563 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/9.198, allocations: 3.312 kB / 4.563 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/9.199, allocations: 135.6 kB / 4.563 GB, free: 45.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/9.199, allocations: 10.84 kB / 4.563 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/9.199, allocations: 24.56 kB / 4.563 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/9.199, allocations: 3.719 kB / 4.563 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/9.199, allocations: 3.938 kB / 4.563 GB, free: 45.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/9.2, allocations: 1.1 MB / 4.564 GB, free: 44.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/9.2, allocations: 217.6 kB / 4.564 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/9.2, allocations: 15.69 kB / 4.564 GB, free: 44.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/9.201, allocations: 53.41 kB / 4.564 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/9.201, allocations: 54.81 kB / 4.564 GB, free: 44.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/9.201, allocations: 52.03 kB / 4.565 GB, free: 44.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007894/9.202, allocations: 0.679 MB / 4.565 GB, free: 44.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/9.202, allocations: 0 / 4.565 GB, free: 44.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004881/9.207, allocations: 1.35 MB / 4.566 GB, free: 43.88 MB / 0.4948 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 (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.004718/9.212, allocations: 1.982 MB / 4.568 GB, free: 43.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002279/9.214, allocations: 1.519 MB / 4.57 GB, free: 42.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/9.214, allocations: 2.938 kB / 4.57 GB, free: 42.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004945/9.214, allocations: 427.5 kB / 4.57 GB, free: 42.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/9.217, allocations: 499.1 kB / 4.571 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/9.219, allocations: 1.318 MB / 4.572 GB, free: 41.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/9.219, allocations: 1.071 MB / 4.573 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001909/9.221, allocations: 0.6347 MB / 4.574 GB, free: 40.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/9.221, allocations: 118.9 kB / 4.574 GB, free: 39.92 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/9.221, allocations: 0 / 4.574 GB, free: 39.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.05802/9.279, allocations: 49.06 MB / 4.622 GB, free: 8.691 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