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.001102/0.001102, allocations: 183.3 kB / 15.76 MB, free: 6.367 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.703/1.703, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008778/0.0008775, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2967/0.2967, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004288, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1878, allocations: 58.87 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.351/9.539, allocations: 3.621 GB / 4.099 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/9.54, allocations: 87.56 kB / 4.1 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.444/16.98, allocations: 1.638 GB / 5.738 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.767e-06/16.98, allocations: 0 / 5.738 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002885/16.98, allocations: 87.92 kB / 5.738 GB, free: 7.852 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.04658/17.03, allocations: 9.065 MB / 5.747 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/17.03, allocations: 8.031 kB / 5.747 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/17.03, allocations: 407.7 kB / 5.747 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008236/17.04, allocations: 2.111 MB / 5.749 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005796/17.04, allocations: 0.4931 MB / 5.75 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/17.04, allocations: 280 kB / 5.75 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/17.05, allocations: 4.924 MB / 5.755 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-05/17.06, allocations: 15.88 kB / 5.755 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004879/17.06, allocations: 124 kB / 5.755 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004405/17.06, allocations: 257.2 kB / 5.755 GB, free: 5.699 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/17.07, allocations: 5.009 MB / 5.76 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7913/17.86, allocations: 20.68 MB / 5.78 GB, free: 37.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007339/17.87, allocations: 2.708 MB / 5.783 GB, free: 37.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003552/17.87, allocations: 3.346 MB / 5.786 GB, free: 34.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/17.87, allocations: 67.33 kB / 5.786 GB, free: 34.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=235): time 9.387e-06/17.87, allocations: 1.531 kB / 5.786 GB, free: 34.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=271): time 0.07819/17.95, allocations: 16.77 MB / 5.802 GB, free: 33.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/17.95, allocations: 237 kB / 5.803 GB, free: 32.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005206/17.95, allocations: 2.172 MB / 5.805 GB, free: 32.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007994/17.95, allocations: 82.36 kB / 5.805 GB, free: 32.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/17.96, allocations: 1.455 MB / 5.806 GB, free: 32.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/17.96, allocations: 0.9545 MB / 5.807 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/17.96, allocations: 82.38 kB / 5.807 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002863/17.96, allocations: 464.1 kB / 5.808 GB, free: 31.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004097/17.96, allocations: 2.014 MB / 5.81 GB, free: 31.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005079/17.97, allocations: 3.205 MB / 5.813 GB, free: 29.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/17.97, allocations: 2.557 MB / 5.815 GB, free: 29.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-05/17.97, allocations: 9.688 kB / 5.815 GB, free: 29.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01414/17.99, allocations: 6.228 MB / 5.821 GB, free: 29.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.004445/17.99, allocations: 15.23 MB / 5.836 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/17.99, allocations: 36 kB / 5.836 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00477/18, allocations: 0.9858 MB / 5.837 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005372/18, allocations: 0.9156 MB / 5.838 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/18.01, allocations: 2.792 MB / 5.841 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007312/18.01, allocations: 390.4 kB / 5.841 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/18.02, allocations: 276.7 kB / 5.842 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/18.02, allocations: 3.844 kB / 5.842 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01781/18.03, allocations: 5.858 MB / 5.847 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/18.03, allocations: 37.34 kB / 5.847 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/18.04, allocations: 0.9817 MB / 5.848 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004826/18.04, allocations: 0.9131 MB / 5.849 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/18.05, allocations: 2.787 MB / 5.852 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006658/18.05, allocations: 387.2 kB / 5.852 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00197/18.06, allocations: 280.3 kB / 5.853 GB, free: 26 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 () * 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.006012/18.06, allocations: 0.9722 MB / 5.854 GB, free: 25.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002447/18.07, allocations: 302 kB / 5.854 GB, free: 25.67 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/18.09, allocations: 6.201 MB / 5.86 GB, free: 25.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.022e-05/18.09, allocations: 37.88 kB / 5.86 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.899e-05/18.09, allocations: 1.859 kB / 5.86 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.054e-05/18.09, allocations: 14.02 kB / 5.86 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02847/18.12, allocations: 9.049 MB / 5.869 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/18.12, allocations: 0 / 5.869 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/18.12, allocations: 0.578 MB / 5.869 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00567/18.12, allocations: 1.16 MB / 5.87 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007459/18.12, allocations: 125.3 kB / 5.871 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/18.13, allocations: 2.679 MB / 5.873 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/18.13, allocations: 3.688 kB / 5.873 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02054/18.15, allocations: 7.568 MB / 5.881 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004445/18.15, allocations: 0.8883 MB / 5.881 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001787/18.16, allocations: 74.72 kB / 5.882 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004818/18.16, allocations: 284.7 kB / 5.882 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/18.16, allocations: 221.1 kB / 5.882 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009675/18.16, allocations: 186.1 kB / 5.882 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.005253/18.17, allocations: 1.618 MB / 5.884 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/18.17, allocations: 1.969 kB / 5.884 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02982/18.2, allocations: 4.275 MB / 5.888 GB, free: 22.21 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.02958/18.23, allocations: 5.168 MB / 5.893 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02431/18.25, allocations: 8.402 MB / 5.901 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/18.25, allocations: 1.281 kB / 5.901 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006442/18.26, allocations: 2.412 MB / 5.904 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/18.27, allocations: 1.339 MB / 5.905 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/18.29, allocations: 8.85 MB / 5.913 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004391/18.3, allocations: 2.29 MB / 5.916 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01391/18.31, allocations: 2.223 MB / 5.918 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003333/18.32, allocations: 408 kB / 5.918 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of SimCode: time 3.557e-06/18.32, allocations: 0 / 5.918 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.8718/19.19, allocations: 134.5 MB / 6.05 GB, free: 74.57 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