Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 210.2 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 46.95 MB / 361.6 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3158, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5443/0.8601, allocations: 188.4 MB / 0.7458 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009318/0.8694, allocations: 7.682 MB / 0.7533 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008776/0.8703, allocations: 40.41 kB / 0.7534 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.8714, allocations: 465.9 kB / 0.7538 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.8777, allocations: 2.894 MB / 0.7566 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008796/0.8865, allocations: 4.362 MB / 0.7609 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002877/0.8894, allocations: 2.788 MB / 0.7636 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009703/0.8903, allocations: 0.6364 MB / 0.7642 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.8921, allocations: 1.086 MB / 0.7653 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.8939, allocations: 1.228 MB / 0.7665 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.8941, allocations: 113.9 kB / 0.7666 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.9046, allocations: 6.445 MB / 0.7729 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009043/0.9055, allocations: 491.1 kB / 0.7734 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008943/0.9064, allocations: 0.5096 MB / 0.7739 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.9178, allocations: 5.177 MB / 0.7789 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9178, allocations: 0 / 0.7789 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9178, allocations: 1.172 kB / 0.7789 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.9179, allocations: 2.453 kB / 0.7789 GB, free: 1.176 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.005353/0.9232, allocations: 2.171 MB / 0.781 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.9232, allocations: 8.938 kB / 0.7811 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.9237, allocations: 121.5 kB / 0.7812 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.9249, allocations: 0.6763 MB / 0.7818 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.9249, allocations: 63.8 kB / 0.7819 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.925, allocations: 73.73 kB / 0.782 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.9271, allocations: 1.679 MB / 0.7836 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.9271, allocations: 1.219 kB / 0.7836 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.9272, allocations: 31.53 kB / 0.7836 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.579e-05/0.9273, allocations: 79.61 kB / 0.7837 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.9293, allocations: 1.378 MB / 0.7851 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006955/0.9363, allocations: 3.167 MB / 0.7882 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.9378, allocations: 0.8023 MB / 0.7889 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.9383, allocations: 373.7 kB / 0.7893 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.9387, allocations: 114.3 kB / 0.7894 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.9387, allocations: 45.62 kB / 0.7894 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.886e-06/0.9387, allocations: 0.7188 kB / 0.7894 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002119/0.9408, allocations: 1.193 MB / 0.7906 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.9409, allocations: 108.8 kB / 0.7907 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.9417, allocations: 0.7418 MB / 0.7914 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.9418, allocations: 41.59 kB / 0.7915 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.9421, allocations: 487.7 kB / 0.7919 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.9423, allocations: 195.7 kB / 0.7921 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.9426, allocations: 191.1 kB / 0.7923 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.9428, allocations: 384.2 kB / 0.7927 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/0.9436, allocations: 486.2 kB / 0.7931 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/0.9444, allocations: 0.6497 MB / 0.7938 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.9459, allocations: 1.003 MB / 0.7948 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.9459, allocations: 0 / 0.7948 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002056/0.9479, allocations: 1.264 MB / 0.796 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.9479, allocations: 6.438 kB / 0.796 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.948, allocations: 3.219 kB / 0.796 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.948, allocations: 8.453 kB / 0.796 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/0.9489, allocations: 199.9 kB / 0.7962 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.9489, allocations: 10.8 kB / 0.7962 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007957/0.9497, allocations: 90.7 kB / 0.7963 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.9498, allocations: 50.86 kB / 0.7963 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001167/0.951, allocations: 0.663 MB / 0.797 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001028/0.952, allocations: 0.6389 MB / 0.7976 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001583/0.9536, allocations: 0.9659 MB / 0.7986 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.689e-06/0.9536, allocations: 2.969 kB / 0.7986 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002033/0.9556, allocations: 1.204 MB / 0.7997 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.9557, allocations: 5.344 kB / 0.7997 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9557, allocations: 4.844 kB / 0.7997 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.9557, allocations: 7.344 kB / 0.7998 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.9565, allocations: 199.8 kB / 0.7999 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.9565, allocations: 12.3 kB / 0.8 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.9573, allocations: 74.59 kB / 0.8 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.565e-05/0.9574, allocations: 48.31 kB / 0.8001 GB, free: 12.42 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.0003418/0.9578, allocations: 229.1 kB / 0.8003 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.958, allocations: 86.78 kB / 0.8004 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.96, allocations: 1.155 MB / 0.8015 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.96, allocations: 3.984 kB / 0.8015 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.96, allocations: 1.125 kB / 0.8015 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.9602, allocations: 83.8 kB / 0.8016 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.9604, allocations: 15.83 kB / 0.8016 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.961, allocations: 30.59 kB / 0.8016 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.9611, allocations: 40.67 kB / 0.8017 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001357/0.9624, allocations: 0.8044 MB / 0.8025 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001339/0.9638, allocations: 0.932 MB / 0.8034 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004897/0.9643, allocations: 319.5 kB / 0.8037 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000706/0.965, allocations: 0.5712 MB / 0.8042 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of Backend: time 2e-07/0.965, allocations: 0 / 0.8042 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008059/0.973, allocations: 2.951 MB / 0.8071 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003193/0.9762, allocations: 2.067 MB / 0.8091 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of Templates: time 0.07962/1.056, allocations: 53.17 MB / 0.8611 GB, free: 6.52 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.952548666995426]