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.001323/0.001323, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008654/0.0008652, allocations: 86.56 kB / 261.8 MB, free: 1.676 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.1954/0.1954, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.323e-05/1.317e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.569/7.678, allocations: 3.603 GB / 4.069 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/7.678, allocations: 94.27 kB / 4.069 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.608/9.287, allocations: 468.7 MB / 4.527 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/9.287, allocations: 0 / 4.527 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001031/9.287, allocations: 24 kB / 4.527 GB, free: 12.61 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.007396/9.294, allocations: 1.952 MB / 4.529 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/9.294, allocations: 8.031 kB / 4.529 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/9.295, allocations: 118.7 kB / 4.529 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/9.297, allocations: 0.7421 MB / 4.53 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/9.297, allocations: 28 kB / 4.53 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/9.297, allocations: 44 kB / 4.53 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002337/9.3, allocations: 1.21 MB / 4.531 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/9.302, allocations: 1.112 MB / 4.532 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/9.302, allocations: 7.969 kB / 4.532 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/9.302, allocations: 0 / 4.532 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/9.302, allocations: 73.95 kB / 4.532 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008167/9.31, allocations: 4.557 MB / 4.536 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/9.312, allocations: 0.7695 MB / 4.537 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/9.312, allocations: 358 kB / 4.538 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006496/9.313, allocations: 0.737 MB / 4.538 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/9.313, allocations: 46.95 kB / 4.538 GB, free: 272 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/9.313, allocations: 0 / 4.538 GB, free: 272 kB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.3172/9.63, allocations: 0.8669 MB / 4.539 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/9.63, allocations: 110.6 kB / 4.539 GB, free: 67.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/9.631, allocations: 0.602 MB / 4.54 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/9.631, allocations: 27.36 kB / 4.54 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/9.632, allocations: 471 kB / 4.54 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/9.632, allocations: 183.3 kB / 4.541 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/9.632, allocations: 0 / 4.541 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000138/9.632, allocations: 379.3 kB / 4.541 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008162/9.633, allocations: 423.7 kB / 4.541 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/9.634, allocations: 0.5338 MB / 4.542 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006501/9.64, allocations: 1.514 MB / 4.543 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/9.64, allocations: 0.5938 kB / 4.543 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.008055/9.648, allocations: 2.144 MB / 4.545 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002045/9.649, allocations: 0.9621 MB / 4.546 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/9.649, allocations: 3.531 kB / 4.546 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/9.649, allocations: 6.812 kB / 4.546 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/9.65, allocations: 212.9 kB / 4.547 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/9.65, allocations: 14.38 kB / 4.547 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009129/9.65, allocations: 93.58 kB / 4.547 GB, free: 66.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/9.651, allocations: 62.39 kB / 4.547 GB, free: 66.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/9.651, allocations: 3.5 kB / 4.547 GB, free: 66.05 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007316/9.658, allocations: 1.963 MB / 4.549 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/9.658, allocations: 2.75 kB / 4.549 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/9.658, allocations: 6.844 kB / 4.549 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/9.659, allocations: 204.4 kB / 4.549 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/9.659, allocations: 6.188 kB / 4.549 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/9.66, allocations: 77.23 kB / 4.549 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/9.66, allocations: 61.59 kB / 4.549 GB, free: 66.02 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 () * 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.0002791/9.66, allocations: 119.1 kB / 4.549 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/9.66, allocations: 77.7 kB / 4.549 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/9.663, allocations: 1.085 MB / 4.55 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/9.663, allocations: 9.703 kB / 4.55 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/9.663, allocations: 0.7812 kB / 4.55 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/9.663, allocations: 3 kB / 4.55 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/9.667, allocations: 1.735 MB / 4.552 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/9.667, allocations: 1.875 kB / 4.552 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/9.668, allocations: 115.2 kB / 4.552 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/9.668, allocations: 4.906 kB / 4.552 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/9.668, allocations: 15.47 kB / 4.552 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.148e-06/9.668, allocations: 5.062 kB / 4.552 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/9.668, allocations: 10.28 kB / 4.552 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/9.67, allocations: 0.9849 MB / 4.553 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/9.67, allocations: 208 kB / 4.553 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/9.671, allocations: 7.031 kB / 4.553 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/9.671, allocations: 40.27 kB / 4.553 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/9.672, allocations: 50.05 kB / 4.553 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/9.672, allocations: 47.64 kB / 4.553 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007613/9.672, allocations: 0.5198 MB / 4.554 GB, free: 64.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/9.672, allocations: 0 / 4.554 GB, free: 64.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00501/9.677, allocations: 1.322 MB / 4.555 GB, free: 64.76 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 () * 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.006802/9.684, allocations: 2.145 MB / 4.557 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002383/9.687, allocations: 1.397 MB / 4.559 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/9.687, allocations: 9.641 kB / 4.559 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004542/9.687, allocations: 332 kB / 4.559 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/9.689, allocations: 324 kB / 4.559 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/9.691, allocations: 1.174 MB / 4.56 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/9.692, allocations: 1.07 MB / 4.561 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001915/9.694, allocations: 0.4934 MB / 4.562 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/9.694, allocations: 104.4 kB / 4.562 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/9.694, allocations: 2.953 kB / 4.562 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.04659/9.741, allocations: 33.36 MB / 4.595 GB, free: 62.2 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