Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009889/0.0009891, allocations: 179.9 kB / 16.77 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000764/0.0007641, allocations: 90.41 kB / 271.3 MB, free: 8.242 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.3658/0.3658, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004145, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.703/7.845, allocations: 3.621 GB / 4.101 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/7.845, allocations: 94.72 kB / 4.101 GB, free: 42.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.968/14.81, allocations: 1.624 GB / 5.725 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 6.522e-06/14.81, allocations: 3.625 kB / 5.725 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000726/14.81, allocations: 82.14 kB / 5.725 GB, free: 30.69 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.04428/14.86, allocations: 9.039 MB / 5.734 GB, free: 26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/14.86, allocations: 11.69 kB / 5.734 GB, free: 26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/14.86, allocations: 398.6 kB / 5.735 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008434/14.87, allocations: 2.173 MB / 5.737 GB, free: 25.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007296/14.87, allocations: 0.4957 MB / 5.737 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/14.87, allocations: 284.4 kB / 5.737 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/14.89, allocations: 4.94 MB / 5.742 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002716/14.89, allocations: 13.56 kB / 5.742 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/14.89, allocations: 125.6 kB / 5.742 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005248/14.89, allocations: 265.9 kB / 5.743 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/14.91, allocations: 5.01 MB / 5.748 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04386/14.95, allocations: 20.6 MB / 5.768 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006521/14.96, allocations: 2.715 MB / 5.77 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003694/14.96, allocations: 1.619 MB / 5.772 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005031/14.97, allocations: 5.311 MB / 5.777 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/14.97, allocations: 62.89 kB / 5.777 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=235): time 9.919e-06/14.97, allocations: 0 / 5.777 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of matching and sorting (n=271): time 0.06889/15.04, allocations: 16.75 MB / 5.794 GB, free: 7.391 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/15.04, allocations: 241.3 kB / 5.794 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005636/15.04, allocations: 2.451 MB / 5.796 GB, free: 6.863 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/15.04, allocations: 79.92 kB / 5.796 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/15.05, allocations: 1.449 MB / 5.798 GB, free: 6.168 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/15.05, allocations: 0.97 MB / 5.799 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009629/15.05, allocations: 80.56 kB / 5.799 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003784/15.05, allocations: 466.8 kB / 5.799 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0049/15.05, allocations: 2.012 MB / 5.801 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005743/15.06, allocations: 3.228 MB / 5.804 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/15.07, allocations: 5.4 MB / 5.809 GB, free: 228 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.764e-05/15.07, allocations: 11.47 kB / 5.809 GB, free: 228 kB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02084/15.09, allocations: 6.243 MB / 5.816 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001531/15.09, allocations: 1.29 MB / 5.817 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/15.09, allocations: 34.84 kB / 5.817 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00444/15.1, allocations: 0.9788 MB / 5.818 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005245/15.1, allocations: 0.9224 MB / 5.819 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/15.11, allocations: 2.789 MB / 5.821 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005674/15.11, allocations: 386.2 kB / 5.822 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/15.12, allocations: 276.7 kB / 5.822 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/15.12, allocations: 7.719 kB / 5.822 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01592/15.13, allocations: 5.865 MB / 5.828 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/15.13, allocations: 36 kB / 5.828 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004335/15.14, allocations: 0.9757 MB / 5.829 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/15.14, allocations: 0.9122 MB / 5.83 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/15.15, allocations: 2.8 MB / 5.832 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/15.15, allocations: 376.3 kB / 5.833 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/15.15, allocations: 271.1 kB / 5.833 GB, free: 1.965 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 474 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.004718/15.16, allocations: 0.9812 MB / 5.834 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/15.16, allocations: 300.4 kB / 5.834 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/15.18, allocations: 6.19 MB / 5.84 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-05/15.18, allocations: 39.94 kB / 5.84 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/15.18, allocations: 0 / 5.84 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.551e-05/15.18, allocations: 19.28 kB / 5.84 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02647/15.21, allocations: 9.01 MB / 5.849 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/15.21, allocations: 4 kB / 5.849 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003074/15.21, allocations: 0.5745 MB / 5.85 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00553/15.21, allocations: 1.168 MB / 5.851 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001109/15.22, allocations: 127.8 kB / 5.851 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004073/15.22, allocations: 2.67 MB / 5.854 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/15.22, allocations: 0 / 5.854 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.601/15.82, allocations: 7.497 MB / 5.861 GB, free: 58.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00301/15.82, allocations: 0.8604 MB / 5.862 GB, free: 58.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008976/15.82, allocations: 74.05 kB / 5.862 GB, free: 58.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/15.83, allocations: 278.6 kB / 5.862 GB, free: 58.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/15.83, allocations: 215.3 kB / 5.862 GB, free: 58.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005967/15.83, allocations: 188.5 kB / 5.863 GB, free: 58.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002685/15.83, allocations: 1.62 MB / 5.864 GB, free: 58.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/15.83, allocations: 0.5312 kB / 5.864 GB, free: 58.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0201/15.85, allocations: 4.276 MB / 5.868 GB, free: 58.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.mC_scaled[1]) * 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 (297): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02117/15.87, allocations: 5.173 MB / 5.873 GB, free: 58.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02317/15.9, allocations: 8.393 MB / 5.882 GB, free: 57.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/15.9, allocations: 4.25 kB / 5.882 GB, free: 57.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006362/15.9, allocations: 2.411 MB / 5.884 GB, free: 57.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01127/15.91, allocations: 1.362 MB / 5.885 GB, free: 57.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/15.94, allocations: 8.873 MB / 5.894 GB, free: 54.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004177/15.94, allocations: 2.227 MB / 5.896 GB, free: 53.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0128/15.95, allocations: 2.239 MB / 5.898 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002823/15.96, allocations: 392 kB / 5.899 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of SimCode: time 2.164e-06/15.96, allocations: 0 / 5.899 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.2367/16.19, allocations: 137.1 MB / 6.032 GB, free: 29.83 MB / 0.6355 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPortTraceSubstances/TestMultiPortTraceSubstances.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches