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.0009422/0.0009423, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.233/1.233, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008286/0.0008286, allocations: 80.83 kB / 267 MB, free: 9.285 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.3104/0.3104, allocations: 43.48 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.511e-05, allocations: 7.922 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.703/7.804, allocations: 3.621 GB / 4.093 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/7.804, allocations: 91.55 kB / 4.094 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.201/14, allocations: 1.635 GB / 5.729 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.763e-06/14, allocations: 0 / 5.729 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003356/14.01, allocations: 83.92 kB / 5.729 GB, free: 3.328 MB / 0.5886 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.03511/14.04, allocations: 8.739 MB / 5.737 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/14.04, allocations: 8.031 kB / 5.737 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/14.04, allocations: 399.7 kB / 5.738 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006839/14.05, allocations: 2.112 MB / 5.74 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005557/14.05, allocations: 0.4931 MB / 5.74 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/14.05, allocations: 283.9 kB / 5.741 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/14.06, allocations: 4.827 MB / 5.745 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.565e-05/14.06, allocations: 23.8 kB / 5.745 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000594/14.06, allocations: 120 kB / 5.745 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003774/14.07, allocations: 261.2 kB / 5.746 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009504/14.07, allocations: 4.85 MB / 5.75 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4986/14.57, allocations: 20.67 MB / 5.771 GB, free: 34.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005592/14.58, allocations: 2.641 MB / 5.773 GB, free: 34.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/14.58, allocations: 1.557 MB / 5.775 GB, free: 34.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002404/14.58, allocations: 3.348 MB / 5.778 GB, free: 31.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/14.58, allocations: 67.14 kB / 5.778 GB, free: 31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=235): time 4.338e-06/14.58, allocations: 0.8438 kB / 5.778 GB, free: 31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=271): time 0.05163/14.64, allocations: 14.26 MB / 5.792 GB, free: 30.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/14.64, allocations: 235.7 kB / 5.792 GB, free: 29.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/14.64, allocations: 2.152 MB / 5.794 GB, free: 29.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004701/14.64, allocations: 80.36 kB / 5.794 GB, free: 29.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008979/14.64, allocations: 1.454 MB / 5.796 GB, free: 29.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009161/14.64, allocations: 0.9564 MB / 5.797 GB, free: 28.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/14.64, allocations: 81.22 kB / 5.797 GB, free: 28.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000184/14.64, allocations: 470.5 kB / 5.797 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/14.64, allocations: 1.825 MB / 5.799 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/14.65, allocations: 3.023 MB / 5.802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/14.65, allocations: 2.385 MB / 5.804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-05/14.65, allocations: 11 kB / 5.804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01038/14.66, allocations: 5.749 MB / 5.81 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.003976/14.67, allocations: 15.23 MB / 5.825 GB, free: 26.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.085e-05/14.67, allocations: 37.41 kB / 5.825 GB, free: 26.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/14.67, allocations: 0.7235 MB / 5.826 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004651/14.67, allocations: 0.922 MB / 5.826 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/14.68, allocations: 2.458 MB / 5.829 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005695/14.68, allocations: 383.5 kB / 5.829 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/14.68, allocations: 276.8 kB / 5.83 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/14.68, allocations: 3.844 kB / 5.83 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01175/14.7, allocations: 5.38 MB / 5.835 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/14.7, allocations: 37.59 kB / 5.835 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/14.7, allocations: 0.7262 MB / 5.836 GB, free: 24.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/14.7, allocations: 0.9127 MB / 5.836 GB, free: 24.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/14.7, allocations: 2.457 MB / 5.839 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/14.71, allocations: 376.9 kB / 5.839 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009856/14.71, allocations: 276.6 kB / 5.839 GB, free: 23.02 MB / 0.6355 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 () * 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.001807/14.71, allocations: 365.3 kB / 5.84 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001471/14.71, allocations: 303.3 kB / 5.84 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/14.73, allocations: 5.731 MB / 5.846 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.943e-05/14.73, allocations: 37.47 kB / 5.846 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/14.73, allocations: 3.953 kB / 5.846 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.525e-05/14.73, allocations: 14.58 kB / 5.846 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/14.75, allocations: 9.509 MB / 5.855 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/14.75, allocations: 3.156 kB / 5.855 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/14.75, allocations: 0.5774 MB / 5.856 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003833/14.75, allocations: 0.9074 MB / 5.856 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000682/14.75, allocations: 124.6 kB / 5.857 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/14.76, allocations: 2.345 MB / 5.859 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/14.76, allocations: 4.469 kB / 5.859 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/14.77, allocations: 7.662 MB / 5.866 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/14.78, allocations: 0.8928 MB / 5.867 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/14.78, allocations: 72.69 kB / 5.867 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003638/14.78, allocations: 282.9 kB / 5.868 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005932/14.78, allocations: 212.1 kB / 5.868 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000711/14.78, allocations: 191.2 kB / 5.868 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003944/14.79, allocations: 1.586 MB / 5.869 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/14.79, allocations: 0 / 5.869 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.019/14.81, allocations: 4.284 MB / 5.874 GB, free: 19.28 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 () * 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.01874/14.83, allocations: 5.175 MB / 5.879 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01656/14.84, allocations: 7.93 MB / 5.886 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/14.84, allocations: 7.391 kB / 5.886 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005241/14.85, allocations: 2.234 MB / 5.889 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00783/14.86, allocations: 1.331 MB / 5.89 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/14.87, allocations: 6.427 MB / 5.896 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/14.87, allocations: 2.289 MB / 5.898 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.009751/14.88, allocations: 2.42 MB / 5.901 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/14.88, allocations: 382.5 kB / 5.901 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/14.88, allocations: 1.969 kB / 5.901 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.6497/15.53, allocations: 143.8 MB / 6.042 GB, free: 72.07 MB / 0.6511 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/jenkins/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