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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 112.9 kB / 18.45 MB, free: 4.594 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.001477/0.001477, allocations: 183 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2802/0.2802, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3337, allocations: 60.81 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.563/0.8967, allocations: 212.2 MB / 0.7268 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.907, allocations: 8.501 MB / 0.7351 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009692/0.908, allocations: 30.34 kB / 0.7351 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.9092, allocations: 497.3 kB / 0.7356 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007282/0.9165, allocations: 2.847 MB / 0.7384 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.9268, allocations: 4.234 MB / 0.7425 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003069/0.9299, allocations: 2.651 MB / 0.7451 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.9309, allocations: 0.7477 MB / 0.7458 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.9326, allocations: 1.03 MB / 0.7468 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.934, allocations: 1.134 MB / 0.7479 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.9342, allocations: 111.9 kB / 0.7481 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/0.948, allocations: 7.66 MB / 0.7555 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.9492, allocations: 468 kB / 0.756 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.9504, allocations: 0.6091 MB / 0.7566 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.9672, allocations: 5.388 MB / 0.7618 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.9673, allocations: 0 / 0.7618 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9673, allocations: 0 / 0.7618 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.173e-05/0.9673, allocations: 2.297 kB / 0.7618 GB, free: 1.152 MB / 0.5606 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.005702/0.973, allocations: 2.226 MB / 0.764 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.9731, allocations: 8.125 kB / 0.764 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.9735, allocations: 128.4 kB / 0.7641 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.9746, allocations: 0.7441 MB / 0.7649 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.9747, allocations: 60.64 kB / 0.7649 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.9748, allocations: 68.59 kB / 0.765 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.9768, allocations: 1.25 MB / 0.7662 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.9769, allocations: 0.8125 kB / 0.7662 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.977, allocations: 33.23 kB / 0.7662 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.9771, allocations: 72.53 kB / 0.7663 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.9791, allocations: 1.393 MB / 0.7677 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00759/0.9867, allocations: 4.899 MB / 0.7725 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.9884, allocations: 0.8374 MB / 0.7733 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.989, allocations: 405.5 kB / 0.7737 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/0.9896, allocations: 0.7799 MB / 0.7744 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.9897, allocations: 44.41 kB / 0.7745 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.507e-06/0.9897, allocations: 0 / 0.7745 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002323/0.992, allocations: 1.216 MB / 0.7757 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.9921, allocations: 114.1 kB / 0.7758 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.9932, allocations: 0.9896 MB / 0.7767 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/0.9933, allocations: 38.55 kB / 0.7768 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.9936, allocations: 465.6 kB / 0.7772 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.9938, allocations: 200.7 kB / 0.7774 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.9941, allocations: 190.3 kB / 0.7776 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9942, allocations: 341.3 kB / 0.7779 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008108/0.9951, allocations: 477.5 kB / 0.7784 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009665/0.996, allocations: 0.6031 MB / 0.779 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.9976, allocations: 1.005 MB / 0.7799 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.9976, allocations: 4.703 kB / 0.7799 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002169/0.9998, allocations: 1.279 MB / 0.7812 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.9998, allocations: 8.281 kB / 0.7812 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9998, allocations: 4.094 kB / 0.7812 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9999, allocations: 7.375 kB / 0.7812 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/1.001, allocations: 202.3 kB / 0.7814 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.001, allocations: 7.812 kB / 0.7814 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/1.002, allocations: 122.1 kB / 0.7815 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.002, allocations: 47.69 kB / 0.7816 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/1.003, allocations: 0.663 MB / 0.7822 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008645/1.004, allocations: 0.5875 MB / 0.7828 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001425/1.005, allocations: 0.9646 MB / 0.7837 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.466e-06/1.005, allocations: 0 / 0.7837 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.001994/1.007, allocations: 1.226 MB / 0.7849 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/1.007, allocations: 6.344 kB / 0.7849 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.007, allocations: 4.812 kB / 0.7849 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/1.007, allocations: 6.656 kB / 0.7849 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/1.008, allocations: 198.4 kB / 0.7851 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.008, allocations: 12.61 kB / 0.7851 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008024/1.009, allocations: 80.73 kB / 0.7852 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.37e-05/1.009, allocations: 48.16 kB / 0.7853 GB, free: 9.098 MB / 0.5762 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.0002969/1.009, allocations: 225.5 kB / 0.7855 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/1.01, allocations: 104.9 kB / 0.7856 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.012, allocations: 1.18 MB / 0.7867 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.012, allocations: 0.9062 kB / 0.7867 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.012, allocations: 2.531 kB / 0.7867 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/1.012, allocations: 186 kB / 0.7869 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/1.012, allocations: 17.7 kB / 0.7869 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/1.013, allocations: 33.31 kB / 0.787 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/1.013, allocations: 38.52 kB / 0.787 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001377/1.014, allocations: 0.8129 MB / 0.7878 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001335/1.016, allocations: 0.9476 MB / 0.7887 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005241/1.016, allocations: 350.4 kB / 0.7891 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009505/1.017, allocations: 0.7566 MB / 0.7898 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of Backend: time 3.61e-07/1.017, allocations: 1.094 kB / 0.7898 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007928/1.025, allocations: 3.004 MB / 0.7927 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003579/1.029, allocations: 2.283 MB / 0.795 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of Templates: time 0.07772/1.106, allocations: 54.5 MB / 0.8482 GB, free: 12.57 MB / 0.6387 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches