Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001471/0.001471, allocations: 181 kB / 13.66 MB, free: 1.664 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.903/1.903, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001036/0.001036, allocations: 78.66 kB / 267.5 MB, free: 14.11 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.2608/0.2608, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.046e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.3/11.42, allocations: 3.621 GB / 4.093 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/11.42, allocations: 91.69 kB / 4.094 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 10.14/21.56, allocations: 1.635 GB / 5.729 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.345e-06/21.56, allocations: 0 / 5.729 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004072/21.56, allocations: 89.83 kB / 5.729 GB, free: 19.86 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.04421/21.6, allocations: 8.729 MB / 5.737 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/21.6, allocations: 12.03 kB / 5.737 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/21.61, allocations: 400.3 kB / 5.738 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/21.62, allocations: 2.098 MB / 5.74 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006929/21.62, allocations: 0.4931 MB / 5.74 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/21.62, allocations: 295.8 kB / 5.741 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/21.64, allocations: 4.823 MB / 5.745 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/21.64, allocations: 7.938 kB / 5.745 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/21.64, allocations: 127.9 kB / 5.745 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005058/21.64, allocations: 258.5 kB / 5.746 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/21.66, allocations: 4.862 MB / 5.75 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06735/21.73, allocations: 20.68 MB / 5.771 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009126/21.74, allocations: 2.628 MB / 5.773 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005149/21.74, allocations: 1.564 MB / 5.775 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004776/21.75, allocations: 3.347 MB / 5.778 GB, free: 440 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/21.75, allocations: 64.8 kB / 5.778 GB, free: 368 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=235): time 5.421e-06/21.75, allocations: 0 / 5.778 GB, free: 368 kB / 0.6198 GB Notification: Performance of matching and sorting (n=271): time 0.7004/22.45, allocations: 14.25 MB / 5.792 GB, free: 51.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/22.45, allocations: 241.1 kB / 5.792 GB, free: 50.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006983/22.45, allocations: 2.15 MB / 5.794 GB, free: 50.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001239/22.45, allocations: 79.64 kB / 5.794 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/22.46, allocations: 1.372 MB / 5.796 GB, free: 49.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/22.46, allocations: 0.9586 MB / 5.797 GB, free: 49.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008863/22.46, allocations: 78 kB / 5.797 GB, free: 49.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004/22.46, allocations: 476.1 kB / 5.797 GB, free: 49.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006237/22.47, allocations: 1.824 MB / 5.799 GB, free: 49.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007484/22.47, allocations: 3.024 MB / 5.802 GB, free: 47.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007408/22.48, allocations: 2.385 MB / 5.804 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.596e-05/22.48, allocations: 9.75 kB / 5.804 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02206/22.5, allocations: 5.609 MB / 5.81 GB, free: 47.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.003714/22.51, allocations: 14.57 MB / 5.824 GB, free: 32.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001875/22.51, allocations: 38.91 kB / 5.824 GB, free: 32.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005253/22.51, allocations: 0.7257 MB / 5.825 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008321/22.52, allocations: 0.9196 MB / 5.826 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006719/22.53, allocations: 2.456 MB / 5.828 GB, free: 30.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009196/22.54, allocations: 389.4 kB / 5.828 GB, free: 30.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/22.54, allocations: 282.8 kB / 5.829 GB, free: 30.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/22.54, allocations: 6 kB / 5.829 GB, free: 30.43 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02033/22.56, allocations: 5.374 MB / 5.834 GB, free: 30.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/22.56, allocations: 42.72 kB / 5.834 GB, free: 30.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005048/22.56, allocations: 0.7271 MB / 5.835 GB, free: 30.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007701/22.57, allocations: 0.9119 MB / 5.836 GB, free: 30.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/22.58, allocations: 2.452 MB / 5.838 GB, free: 28.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006701/22.58, allocations: 374 kB / 5.838 GB, free: 28.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/22.58, allocations: 274.1 kB / 5.839 GB, free: 28.6 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 () * 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.002276/22.59, allocations: 366.4 kB / 5.839 GB, free: 28.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/22.59, allocations: 307.2 kB / 5.839 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/22.61, allocations: 5.732 MB / 5.845 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-05/22.61, allocations: 39.5 kB / 5.845 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/22.61, allocations: 0 / 5.845 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/22.61, allocations: 14.02 kB / 5.845 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03907/22.65, allocations: 9.511 MB / 5.854 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/22.65, allocations: 2.594 kB / 5.854 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005538/22.65, allocations: 0.5742 MB / 5.855 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007192/22.66, allocations: 0.9122 MB / 5.856 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001099/22.66, allocations: 123.5 kB / 5.856 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/22.67, allocations: 2.347 MB / 5.858 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/22.67, allocations: 0 / 5.858 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02961/22.7, allocations: 7.657 MB / 5.865 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004007/22.7, allocations: 0.8958 MB / 5.866 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001882/22.7, allocations: 72.25 kB / 5.866 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006714/22.71, allocations: 276.8 kB / 5.867 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/22.71, allocations: 218.7 kB / 5.867 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009635/22.71, allocations: 184.2 kB / 5.867 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.004764/22.72, allocations: 1.594 MB / 5.869 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.122e-06/22.72, allocations: 2.062 kB / 5.869 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.02292/22.74, allocations: 4.278 MB / 5.873 GB, free: 24.86 MB / 0.6198 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.02198/22.76, allocations: 5.169 MB / 5.878 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02451/22.79, allocations: 7.865 MB / 5.886 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/22.79, allocations: 4.656 kB / 5.886 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.007437/22.79, allocations: 2.237 MB / 5.888 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/22.81, allocations: 1.338 MB / 5.889 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/22.83, allocations: 6.605 MB / 5.895 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003908/22.84, allocations: 2.284 MB / 5.898 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00392/22.84, allocations: 479.9 kB / 5.898 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.633e-06/22.84, allocations: 0 / 5.898 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.8512/23.69, allocations: 132.7 MB / 6.028 GB, free: 79.95 MB / 0.6511 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches