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.001091/0.001091, allocations: 176.2 kB / 17.41 MB, free: 4.414 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.449/1.449, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007466/0.0007467, allocations: 84.94 kB / 271.9 MB, free: 8.258 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.3509/0.3509, allocations: 43.56 MB / 363.8 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 12 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1203, allocations: 58.85 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.861/6.982, allocations: 3.621 GB / 4.101 GB, free: 42.92 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/6.982, allocations: 87.95 kB / 4.101 GB, free: 42.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.979/12.96, allocations: 1.624 GB / 5.725 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.245e-06/12.96, allocations: 0 / 5.725 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003462/12.96, allocations: 87.3 kB / 5.725 GB, free: 30.9 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.03222/12.99, allocations: 9.03 MB / 5.734 GB, free: 26.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/12.99, allocations: 8.969 kB / 5.734 GB, free: 26.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/13, allocations: 401.1 kB / 5.735 GB, free: 26.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006369/13, allocations: 2.169 MB / 5.737 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005269/13, allocations: 0.5008 MB / 5.737 GB, free: 25.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/13.01, allocations: 278.6 kB / 5.737 GB, free: 25.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/13.02, allocations: 4.946 MB / 5.742 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/13.02, allocations: 13.62 kB / 5.742 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/13.02, allocations: 127.3 kB / 5.742 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004076/13.02, allocations: 262.7 kB / 5.743 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/13.03, allocations: 5.009 MB / 5.748 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03481/13.07, allocations: 20.59 MB / 5.768 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005139/13.07, allocations: 2.714 MB / 5.77 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/13.07, allocations: 1.62 MB / 5.772 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003712/13.08, allocations: 5.311 MB / 5.777 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/13.08, allocations: 67.11 kB / 5.777 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=235): time 6.583e-06/13.08, allocations: 3.938 kB / 5.777 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of matching and sorting (n=271): time 0.05941/13.14, allocations: 16.76 MB / 5.793 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/13.14, allocations: 235.5 kB / 5.794 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/13.14, allocations: 2.451 MB / 5.796 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009061/13.14, allocations: 83.11 kB / 5.796 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/13.14, allocations: 1.448 MB / 5.798 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/13.15, allocations: 0.9676 MB / 5.799 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007952/13.15, allocations: 84.16 kB / 5.799 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000298/13.15, allocations: 469.3 kB / 5.799 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004333/13.15, allocations: 2.014 MB / 5.801 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004865/13.16, allocations: 3.227 MB / 5.804 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008787/13.16, allocations: 5.399 MB / 5.809 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.645e-05/13.16, allocations: 15.88 kB / 5.809 GB, free: 500 kB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01694/13.18, allocations: 6.365 MB / 5.816 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000954/13.18, allocations: 1.287 MB / 5.817 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.78e-05/13.18, allocations: 34.78 kB / 5.817 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/13.19, allocations: 0.9679 MB / 5.818 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/13.19, allocations: 0.9355 MB / 5.819 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/13.2, allocations: 2.782 MB / 5.822 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004971/13.2, allocations: 388 kB / 5.822 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/13.2, allocations: 280 kB / 5.822 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/13.2, allocations: 3.312 kB / 5.822 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01434/13.22, allocations: 5.862 MB / 5.828 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/13.22, allocations: 36 kB / 5.828 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/13.22, allocations: 0.9823 MB / 5.829 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/13.22, allocations: 0.9115 MB / 5.83 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00432/13.23, allocations: 2.801 MB / 5.833 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/13.23, allocations: 373.4 kB / 5.833 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/13.23, allocations: 279.8 kB / 5.833 GB, free: 2.641 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.003407/13.24, allocations: 0.9703 MB / 5.834 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/13.24, allocations: 300.4 kB / 5.834 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02341/13.26, allocations: 6.742 MB / 5.841 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-05/13.26, allocations: 38.7 kB / 5.841 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/13.26, allocations: 7.125 kB / 5.841 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-05/13.26, allocations: 14.44 kB / 5.841 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/13.28, allocations: 9.012 MB / 5.85 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/13.28, allocations: 8.125 kB / 5.85 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002715/13.29, allocations: 0.5683 MB / 5.85 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00526/13.29, allocations: 1.167 MB / 5.852 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008615/13.29, allocations: 126 kB / 5.852 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003866/13.3, allocations: 2.671 MB / 5.854 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/13.3, allocations: 4.031 kB / 5.854 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3746/13.67, allocations: 7.488 MB / 5.862 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/13.67, allocations: 0.8592 MB / 5.862 GB, free: 58.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008651/13.67, allocations: 73.25 kB / 5.862 GB, free: 58.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/13.68, allocations: 284.1 kB / 5.863 GB, free: 58.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/13.68, allocations: 216.7 kB / 5.863 GB, free: 58.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004142/13.68, allocations: 189.6 kB / 5.863 GB, free: 58.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002499/13.68, allocations: 1.616 MB / 5.865 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/13.68, allocations: 0.7812 kB / 5.865 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01482/13.7, allocations: 4.284 MB / 5.869 GB, free: 58.16 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.02257/13.72, allocations: 5.158 MB / 5.874 GB, free: 57.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02184/13.74, allocations: 8.396 MB / 5.882 GB, free: 57.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/13.74, allocations: 3.938 kB / 5.882 GB, free: 57.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006/13.75, allocations: 2.41 MB / 5.884 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008303/13.75, allocations: 1.361 MB / 5.886 GB, free: 57.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/13.77, allocations: 9.081 MB / 5.895 GB, free: 54.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/13.77, allocations: 2.232 MB / 5.897 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002535/13.78, allocations: 478.8 kB / 5.897 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of SimCode: time 1.924e-06/13.78, allocations: 0 / 5.897 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of Templates: time 0.1654/13.94, allocations: 132.7 MB / 6.027 GB, free: 38.02 MB / 0.6355 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