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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 105 kB / 17.08 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 199.3 kB / 18.02 MB, free: 4.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1989/0.1989, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.91 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.4604/0.57, allocations: 220.9 MB / 0.7042 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.5827, allocations: 10.89 MB / 0.7149 GB, free: 2.516 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007192/0.5835, allocations: 27.81 kB / 0.7149 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.5846, allocations: 0.4893 MB / 0.7154 GB, free: 1.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006513/0.5912, allocations: 3.052 MB / 0.7184 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.6014, allocations: 4.732 MB / 0.723 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002758/0.6041, allocations: 2.64 MB / 0.7256 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.6053, allocations: 0.7413 MB / 0.7263 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.607, allocations: 1.04 MB / 0.7273 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.6089, allocations: 1.126 MB / 0.7284 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.6092, allocations: 112 kB / 0.7285 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/0.6222, allocations: 8.392 MB / 0.7367 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005303/0.6227, allocations: 470.8 kB / 0.7371 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009935/0.6237, allocations: 0.599 MB / 0.7377 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.634, allocations: 5.745 MB / 0.7433 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.634, allocations: 0 / 0.7433 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.058e-06/0.6341, allocations: 0 / 0.7433 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.663e-05/0.6341, allocations: 3.938 kB / 0.7433 GB, free: 5.285 MB / 0.5762 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.0059/0.64, allocations: 2.279 MB / 0.7456 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.6401, allocations: 11.89 kB / 0.7456 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/0.6406, allocations: 118.8 kB / 0.7457 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.6418, allocations: 0.7456 MB / 0.7464 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.6419, allocations: 61.97 kB / 0.7465 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.642, allocations: 75.92 kB / 0.7465 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6439, allocations: 1.263 MB / 0.7478 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.6439, allocations: 0 / 0.7478 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-05/0.644, allocations: 31.98 kB / 0.7478 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.089e-05/0.6441, allocations: 73.95 kB / 0.7479 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.6463, allocations: 1.405 MB / 0.7493 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007834/0.6542, allocations: 4.764 MB / 0.7539 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.6557, allocations: 0.857 MB / 0.7547 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.6563, allocations: 418.3 kB / 0.7551 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.6575, allocations: 1.391 MB / 0.7565 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.6576, allocations: 47.12 kB / 0.7565 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.003e-06/0.6576, allocations: 0 / 0.7565 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.002179/0.6598, allocations: 1.259 MB / 0.7578 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.6598, allocations: 107.4 kB / 0.7579 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.6611, allocations: 0.9854 MB / 0.7588 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.6612, allocations: 37.7 kB / 0.7589 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.6615, allocations: 443.4 kB / 0.7593 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.6616, allocations: 205.2 kB / 0.7595 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.662, allocations: 186.5 kB / 0.7597 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6621, allocations: 341.9 kB / 0.76 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/0.6629, allocations: 488.5 kB / 0.7605 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008787/0.6638, allocations: 0.5933 MB / 0.761 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.6653, allocations: 1.02 MB / 0.762 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6654, allocations: 0 / 0.762 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.2203/0.8857, allocations: 1.287 MB / 0.7633 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.8857, allocations: 10.34 kB / 0.7633 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.8857, allocations: 2.688 kB / 0.7633 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.8858, allocations: 7.75 kB / 0.7633 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.8869, allocations: 209.7 kB / 0.7635 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-05/0.887, allocations: 10.92 kB / 0.7635 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.8883, allocations: 116.2 kB / 0.7636 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.8886, allocations: 59.62 kB / 0.7637 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001092/0.8897, allocations: 0.6709 MB / 0.7644 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008779/0.8906, allocations: 0.5886 MB / 0.7649 GB, free: 225 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001454/0.892, allocations: 0.9857 MB / 0.7659 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.892, allocations: 2.344 kB / 0.7659 GB, free: 224.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002138/0.8942, allocations: 1.233 MB / 0.7671 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.8942, allocations: 7.375 kB / 0.7671 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.8942, allocations: 3.5 kB / 0.7671 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.8942, allocations: 7.719 kB / 0.7671 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/0.8951, allocations: 208 kB / 0.7673 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.8951, allocations: 11.09 kB / 0.7673 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/0.8959, allocations: 77.48 kB / 0.7674 GB, free: 224.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.896, allocations: 60.36 kB / 0.7675 GB, free: 224.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002784/0.8963, allocations: 226.6 kB / 0.7677 GB, free: 224.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.8965, allocations: 97.97 kB / 0.7678 GB, free: 224.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.8989, allocations: 1.27 MB / 0.769 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.8989, allocations: 3.422 kB / 0.769 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8989, allocations: 0 / 0.769 GB, free: 224.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.8991, allocations: 181.9 kB / 0.7692 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.8992, allocations: 15.11 kB / 0.7692 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.8998, allocations: 39.59 kB / 0.7692 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.9, allocations: 44.41 kB / 0.7693 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001538/0.9015, allocations: 0.9658 MB / 0.7702 GB, free: 224 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001448/0.903, allocations: 1.089 MB / 0.7713 GB, free: 223.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005956/0.9036, allocations: 413.1 kB / 0.7717 GB, free: 223.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008782/0.9045, allocations: 0.6983 MB / 0.7724 GB, free: 223.1 MB / 0.5919 GB Notification: Performance of Backend: time 7.32e-07/0.9045, allocations: 1.5 kB / 0.7724 GB, free: 223.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007994/0.9125, allocations: 3.269 MB / 0.7756 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003498/0.916, allocations: 2.261 MB / 0.7778 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.0669/0.9829, allocations: 58.64 MB / 0.835 GB, free: 175.2 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches