Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00156/0.001564, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001184/0.001184, allocations: 110.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2953/0.2953, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004733, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.6345/0.7558, allocations: 171 MB / 0.6457 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.7799, allocations: 11.38 MB / 0.6568 GB, free: 4.168 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.7811, allocations: 35.75 kB / 0.6569 GB, free: 4.133 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.7829, allocations: 386.2 kB / 0.6572 GB, free: 3.754 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.7932, allocations: 2.323 MB / 0.6595 GB, free: 1.426 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01223/0.8055, allocations: 2.921 MB / 0.6624 GB, free: 14.5 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003709/0.8092, allocations: 1.426 MB / 0.6637 GB, free: 13.07 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.8109, allocations: 0.6115 MB / 0.6643 GB, free: 12.45 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.8158, allocations: 0.8609 MB / 0.6652 GB, free: 11.59 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004255/0.8201, allocations: 0.7985 MB / 0.666 GB, free: 10.79 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007834/0.821, allocations: 52 kB / 0.666 GB, free: 10.73 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02243/0.8434, allocations: 6.744 MB / 0.6726 GB, free: 3.98 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.8446, allocations: 375.1 kB / 0.673 GB, free: 3.613 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.8453, allocations: 237.1 kB / 0.6732 GB, free: 3.375 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.8558, allocations: 3.411 MB / 0.6765 GB, free: 15.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8559, allocations: 4 kB / 0.6765 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.8559, allocations: 0 / 0.6765 GB, free: 15.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.64e-05/0.856, allocations: 0 / 0.6765 GB, free: 15.95 MB / 490.7 MB 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.007918/0.8639, allocations: 1.957 MB / 0.6784 GB, free: 13.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.864, allocations: 8.031 kB / 0.6784 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008098/0.8648, allocations: 118.8 kB / 0.6785 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.8668, allocations: 0.6797 MB / 0.6792 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.8669, allocations: 57.98 kB / 0.6793 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/0.8672, allocations: 67.98 kB / 0.6793 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/0.8712, allocations: 1.259 MB / 0.6806 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.8713, allocations: 0 / 0.6806 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.8715, allocations: 31.98 kB / 0.6806 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.8717, allocations: 73.95 kB / 0.6807 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00481/0.8765, allocations: 1.413 MB / 0.682 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.8922, allocations: 4.816 MB / 0.6867 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/0.8954, allocations: 0.8803 MB / 0.6876 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.8966, allocations: 0.7408 MB / 0.6883 GB, free: 3.258 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.8966, allocations: 43.12 kB / 0.6884 GB, free: 3.207 MB / 490.7 MB Notification: Performance of pre-optimization done (n=55): time 3.056e-06/0.8967, allocations: 0 / 0.6884 GB, free: 3.207 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.004726/0.9014, allocations: 1.275 MB / 0.6896 GB, free: 1.926 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.9016, allocations: 107.4 kB / 0.6897 GB, free: 1.797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.9039, allocations: 0.9621 MB / 0.6907 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003129/0.9043, allocations: 45.7 kB / 0.6907 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.9048, allocations: 453.8 kB / 0.6911 GB, free: 332 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/0.9053, allocations: 197.2 kB / 0.6913 GB, free: 132 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.9054, allocations: 12 kB / 0.6913 GB, free: 120 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.9057, allocations: 346.8 kB / 0.6917 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.9073, allocations: 469.7 kB / 0.6921 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.9093, allocations: 0.5932 MB / 0.6927 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.9112, allocations: 0.5495 MB / 0.6932 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.9113, allocations: 3.953 kB / 0.6932 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004446/0.9157, allocations: 1.212 MB / 0.6944 GB, free: 12.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.000628/0.9164, allocations: 1.138 MB / 0.6955 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.9165, allocations: 4 kB / 0.6955 GB, free: 11.67 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.9165, allocations: 4 kB / 0.6955 GB, free: 11.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.9186, allocations: 215.7 kB / 0.6957 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/0.9187, allocations: 4 kB / 0.6957 GB, free: 11.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.9205, allocations: 142.5 kB / 0.6959 GB, free: 11.31 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.9209, allocations: 67.91 kB / 0.6959 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.921, allocations: 7.953 kB / 0.696 GB, free: 11.24 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003965/0.9249, allocations: 1.12 MB / 0.697 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.925, allocations: 4 kB / 0.697 GB, free: 10.11 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.9251, allocations: 11.88 kB / 0.6971 GB, free: 10.11 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.927, allocations: 208 kB / 0.6973 GB, free: 9.902 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.9271, allocations: 12 kB / 0.6973 GB, free: 9.891 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.9283, allocations: 79.41 kB / 0.6973 GB, free: 9.812 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.9286, allocations: 59.97 kB / 0.6974 GB, free: 9.754 MB / 0.4949 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009891/0.9296, allocations: 372.8 kB / 0.6978 GB, free: 9.379 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/0.93, allocations: 98.83 kB / 0.6979 GB, free: 9.281 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.9345, allocations: 1.286 MB / 0.6991 GB, free: 7.98 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.9346, allocations: 8 kB / 0.6991 GB, free: 7.973 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9346, allocations: 0 / 0.6991 GB, free: 7.973 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.9347, allocations: 7.984 kB / 0.6991 GB, free: 7.965 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005959/0.9406, allocations: 2.051 MB / 0.7011 GB, free: 5.828 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.9407, allocations: 4 kB / 0.7011 GB, free: 5.824 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.9419, allocations: 135.7 kB / 0.7013 GB, free: 5.691 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.942, allocations: 4 kB / 0.7013 GB, free: 5.688 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.572e-05/0.9421, allocations: 23.98 kB / 0.7013 GB, free: 5.664 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.9421, allocations: 8.25 kB / 0.7013 GB, free: 5.656 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.9421, allocations: 4 kB / 0.7013 GB, free: 5.652 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.9455, allocations: 1.175 MB / 0.7024 GB, free: 4.387 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.9461, allocations: 211.7 kB / 0.7026 GB, free: 4.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.9464, allocations: 12 kB / 0.7027 GB, free: 4.148 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.9478, allocations: 60.78 kB / 0.7027 GB, free: 4.09 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.9481, allocations: 48.44 kB / 0.7028 GB, free: 4.039 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/0.9483, allocations: 47.97 kB / 0.7028 GB, free: 3.992 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001661/0.95, allocations: 0.6903 MB / 0.7035 GB, free: 3.305 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.01e-07/0.95, allocations: 4 kB / 0.7035 GB, free: 3.301 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004803/0.9548, allocations: 1.19 MB / 0.7047 GB, free: 2.109 MB / 0.4949 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 () * Number of clocked 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.005261/0.9601, allocations: 1.144 MB / 0.7058 GB, free: 0.957 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.3403/1.301, allocations: 1.617 MB / 0.7073 GB, free: 182 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.301, allocations: 1.344 kB / 0.7073 GB, free: 182 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.302, allocations: 460.4 kB / 0.7078 GB, free: 181.9 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/1.306, allocations: 0.4899 MB / 0.7083 GB, free: 181.9 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/1.31, allocations: 2.072 MB / 0.7103 GB, free: 181.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/1.311, allocations: 1.07 MB / 0.7113 GB, free: 180.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.312, allocations: 153.8 kB / 0.7115 GB, free: 180.4 MB / 0.4949 GB Notification: Performance of SimCode: time 9.42e-07/1.312, allocations: 0.875 kB / 0.7115 GB, free: 180.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.06458/1.377, allocations: 29.66 MB / 0.7405 GB, free: 165.5 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches