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.002068/0.002068, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 92.03 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2897/0.2897, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.116e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3876, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.75/11.14, allocations: 3.62 GB / 4.086 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/11.14, allocations: 88.97 kB / 4.086 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 9.477/20.62, allocations: 1.62 GB / 5.706 GB, free: 14.93 MB / 0.6046 GB Notification: Performance of FrontEnd: time 1.603e-06/20.62, allocations: 0 / 5.706 GB, free: 14.93 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0004664/20.62, allocations: 83.92 kB / 5.706 GB, free: 14.85 MB / 0.6046 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.04525/20.66, allocations: 8.735 MB / 5.715 GB, free: 6.016 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/20.66, allocations: 12.03 kB / 5.715 GB, free: 6.004 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/20.67, allocations: 399.7 kB / 5.715 GB, free: 5.609 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/20.68, allocations: 2.084 MB / 5.717 GB, free: 3.469 MB / 0.6046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007799/20.68, allocations: 404.8 kB / 5.718 GB, free: 3.016 MB / 0.6046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/20.68, allocations: 175.8 kB / 5.718 GB, free: 2.844 MB / 0.6046 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5806/21.26, allocations: 4.374 MB / 5.722 GB, free: 29.73 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/21.28, allocations: 4.422 MB / 5.726 GB, free: 29.03 MB / 0.6046 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/21.28, allocations: 11.81 kB / 5.726 GB, free: 29.03 MB / 0.6046 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001674/21.28, allocations: 11.47 kB / 5.726 GB, free: 29.03 MB / 0.6046 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006827/21.28, allocations: 258.8 kB / 5.727 GB, free: 29.02 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05733/21.34, allocations: 20.2 MB / 5.746 GB, free: 19.31 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/21.35, allocations: 2.48 MB / 5.749 GB, free: 19.28 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004359/21.35, allocations: 1.488 MB / 5.75 GB, free: 19.27 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003877/21.36, allocations: 3.344 MB / 5.753 GB, free: 15.79 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/21.36, allocations: 68.03 kB / 5.753 GB, free: 15.75 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=232): time 5.41e-06/21.36, allocations: 0 / 5.753 GB, free: 15.75 MB / 0.6046 GB Notification: Performance of matching and sorting (n=268): time 0.09489/21.45, allocations: 13.96 MB / 5.767 GB, free: 14.8 MB / 0.6046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007582/21.45, allocations: 240.2 kB / 5.767 GB, free: 30.55 MB / 0.6202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/21.46, allocations: 1.696 MB / 5.769 GB, free: 30.32 MB / 0.6202 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/21.46, allocations: 31.77 kB / 5.769 GB, free: 30.29 MB / 0.6202 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/21.46, allocations: 1.419 MB / 5.77 GB, free: 29.64 MB / 0.6202 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/21.46, allocations: 0.914 MB / 5.771 GB, free: 29.17 MB / 0.6202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008943/21.46, allocations: 5.344 kB / 5.771 GB, free: 29.17 MB / 0.6202 GB Notification: Performance of setup shared object (initialization): time 0.0005264/21.46, allocations: 470.7 kB / 5.772 GB, free: 28.85 MB / 0.6202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005517/21.47, allocations: 1.768 MB / 5.773 GB, free: 28.84 MB / 0.6202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006631/21.48, allocations: 2.946 MB / 5.776 GB, free: 27.46 MB / 0.6202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04283/21.52, allocations: 5.773 MB / 5.782 GB, free: 27.42 MB / 0.6202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.656e-05/21.52, allocations: 13.66 kB / 5.782 GB, free: 27.42 MB / 0.6202 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.0552/21.57, allocations: 8.682 MB / 5.79 GB, free: 27.19 MB / 0.6202 GB Notification: Performance of prepare postOptimizeDAE: time 0.006312/21.58, allocations: 14.57 MB / 5.805 GB, free: 12.02 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/21.58, allocations: 36.75 kB / 5.805 GB, free: 12.02 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004801/21.58, allocations: 0.7214 MB / 5.805 GB, free: 11.99 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007807/21.59, allocations: 0.9157 MB / 5.806 GB, free: 11.99 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/21.6, allocations: 2.525 MB / 5.809 GB, free: 10.43 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007843/21.6, allocations: 307.3 kB / 5.809 GB, free: 10.42 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/21.61, allocations: 279.7 kB / 5.809 GB, free: 10.42 MB / 0.6202 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/21.61, allocations: 3.094 kB / 5.809 GB, free: 10.42 MB / 0.6202 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05286/21.66, allocations: 8.24 MB / 5.817 GB, free: 10.3 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/21.66, allocations: 39.27 kB / 5.817 GB, free: 10.3 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00469/21.66, allocations: 0.7248 MB / 5.818 GB, free: 10.28 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007675/21.67, allocations: 0.9145 MB / 5.819 GB, free: 10.28 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004559/21.68, allocations: 2.526 MB / 5.822 GB, free: 24.71 MB / 0.6358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/21.68, allocations: 302.3 kB / 5.822 GB, free: 24.7 MB / 0.6358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/21.69, allocations: 277.7 kB / 5.822 GB, free: 24.7 MB / 0.6358 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.00253/21.69, allocations: 233.6 kB / 5.822 GB, free: 24.59 MB / 0.6358 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/21.69, allocations: 271.9 kB / 5.823 GB, free: 24.46 MB / 0.6358 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02692/21.72, allocations: 6.28 MB / 5.829 GB, free: 24.15 MB / 0.6358 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.875e-05/21.72, allocations: 30.73 kB / 5.829 GB, free: 24.15 MB / 0.6358 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/21.72, allocations: 5.922 kB / 5.829 GB, free: 24.15 MB / 0.6358 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/21.72, allocations: 20.3 kB / 5.829 GB, free: 24.15 MB / 0.6358 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/21.75, allocations: 8.542 MB / 5.837 GB, free: 23.64 MB / 0.6358 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.443e-05/21.75, allocations: 1.312 kB / 5.837 GB, free: 23.64 MB / 0.6358 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005338/21.76, allocations: 0.5491 MB / 5.838 GB, free: 23.64 MB / 0.6358 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006718/21.76, allocations: 0.8954 MB / 5.839 GB, free: 23.6 MB / 0.6358 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001064/21.76, allocations: 85.44 kB / 5.839 GB, free: 23.6 MB / 0.6358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00392/21.77, allocations: 2.422 MB / 5.841 GB, free: 22.03 MB / 0.6358 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/21.77, allocations: 3.391 kB / 5.841 GB, free: 22.03 MB / 0.6358 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02684/21.79, allocations: 7.1 MB / 5.848 GB, free: 21.43 MB / 0.6358 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003668/21.8, allocations: 0.8497 MB / 5.849 GB, free: 21.19 MB / 0.6358 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/21.8, allocations: 28.38 kB / 5.849 GB, free: 21.19 MB / 0.6358 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006014/21.81, allocations: 227.8 kB / 5.849 GB, free: 21.18 MB / 0.6358 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/21.81, allocations: 204.6 kB / 5.849 GB, free: 21.18 MB / 0.6358 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009498/21.81, allocations: 181 kB / 5.849 GB, free: 21.18 MB / 0.6358 GB Notification: Performance of sorting global known variables: time 0.003471/21.81, allocations: 1.271 MB / 5.851 GB, free: 21.04 MB / 0.6358 GB Notification: Performance of sort global known variables: time 1.573e-06/21.81, allocations: 0 / 5.851 GB, free: 21.04 MB / 0.6358 GB Notification: Performance of remove unused functions: time 0.02232/21.83, allocations: 3.997 MB / 5.854 GB, free: 21.04 MB / 0.6358 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 (285): * Single equations (assignments): 273 * 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.02163/21.86, allocations: 5.494 MB / 5.86 GB, free: 20.33 MB / 0.6358 GB Notification: Performance of simCode: created initialization part: time 0.0215/21.88, allocations: 7.446 MB / 5.867 GB, free: 19.76 MB / 0.6358 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/21.88, allocations: 2.75 kB / 5.867 GB, free: 19.76 MB / 0.6358 GB Notification: Performance of simCode: created simulation system equations: time 0.006294/21.88, allocations: 2.056 MB / 5.869 GB, free: 19.75 MB / 0.6358 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/21.89, allocations: 1.06 MB / 5.87 GB, free: 19.71 MB / 0.6358 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/21.92, allocations: 6.303 MB / 5.876 GB, free: 18.73 MB / 0.6358 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003772/21.92, allocations: 2.281 MB / 5.879 GB, free: 17.96 MB / 0.6358 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003792/21.93, allocations: 451.1 kB / 5.879 GB, free: 17.95 MB / 0.6358 GB Notification: Performance of SimCode: time 1.764e-06/21.93, allocations: 1.594 kB / 5.879 GB, free: 17.95 MB / 0.6358 GB Notification: Performance of Templates: time 0.8577/22.78, allocations: 130.6 MB / 6.006 GB, free: 74.05 MB / 0.6515 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