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.0009726/0.0009727, allocations: 184.6 kB / 8.008 MB, free: 1.039 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.3 MB / 213.7 MB, free: 13.78 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.0007773/0.0007773, allocations: 82.73 kB / 261.7 MB, free: 13.46 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.196/0.196, allocations: 43.49 MB / 353.2 MB, free: 1.852 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.681e-05, allocations: 4.219 kB / 418.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3232, allocations: 58.85 MB / 477.1 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.611/7.935, allocations: 3.62 GB / 4.086 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/7.935, allocations: 82.36 kB / 4.086 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.543/14.48, allocations: 1.62 GB / 5.706 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/14.48, allocations: 0.9375 kB / 5.706 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0005908/14.48, allocations: 83.58 kB / 5.706 GB, free: 33.63 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.04027/14.52, allocations: 8.739 MB / 5.715 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/14.52, allocations: 12.3 kB / 5.715 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/14.52, allocations: 397.1 kB / 5.715 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009385/14.53, allocations: 2.105 MB / 5.717 GB, free: 29.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007647/14.53, allocations: 403.9 kB / 5.718 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/14.54, allocations: 168.2 kB / 5.718 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01092/14.55, allocations: 4.382 MB / 5.722 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/14.56, allocations: 4.426 MB / 5.726 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/14.56, allocations: 19.98 kB / 5.726 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009528/14.56, allocations: 11.75 kB / 5.726 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003232/14.56, allocations: 258.4 kB / 5.727 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03112/14.59, allocations: 20.19 MB / 5.746 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/14.59, allocations: 2.485 MB / 5.749 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/14.6, allocations: 1.485 MB / 5.75 GB, free: 18.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002639/14.6, allocations: 3.345 MB / 5.753 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/14.6, allocations: 66.42 kB / 5.754 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=232): time 6.152e-06/14.6, allocations: 0 / 5.754 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=268): time 0.05654/14.66, allocations: 13.96 MB / 5.767 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/14.66, allocations: 235.2 kB / 5.767 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/14.66, allocations: 1.701 MB / 5.769 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/14.66, allocations: 32.17 kB / 5.769 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008324/14.66, allocations: 1.461 MB / 5.77 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009201/14.66, allocations: 0.9168 MB / 5.771 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/14.66, allocations: 2.125 kB / 5.771 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001745/14.66, allocations: 466.2 kB / 5.772 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/14.67, allocations: 1.769 MB / 5.774 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002952/14.67, allocations: 2.945 MB / 5.776 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02211/14.69, allocations: 5.768 MB / 5.782 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.255e-05/14.69, allocations: 10.62 kB / 5.782 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.03146/14.72, allocations: 8.787 MB / 5.791 GB, free: 9.762 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.005787/14.73, allocations: 14.89 MB / 5.805 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/14.73, allocations: 37.31 kB / 5.805 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/14.73, allocations: 0.7202 MB / 5.806 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0043/14.74, allocations: 0.9176 MB / 5.807 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/14.74, allocations: 2.531 MB / 5.809 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005074/14.74, allocations: 304.9 kB / 5.81 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/14.74, allocations: 277.5 kB / 5.81 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/14.74, allocations: 5.594 kB / 5.81 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.028/14.77, allocations: 8.241 MB / 5.818 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.18e-05/14.77, allocations: 35.06 kB / 5.818 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/14.78, allocations: 0.7245 MB / 5.819 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/14.78, allocations: 0.9168 MB / 5.82 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/14.78, allocations: 2.53 MB / 5.822 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/14.79, allocations: 289.7 kB / 5.822 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005669/14.79, allocations: 276.3 kB / 5.823 GB, free: 6.613 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.001294/14.79, allocations: 241.9 kB / 5.823 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006976/14.79, allocations: 269.7 kB / 5.823 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/14.8, allocations: 6.275 MB / 5.829 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/14.8, allocations: 35.16 kB / 5.829 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/14.8, allocations: 2.781 kB / 5.829 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/14.8, allocations: 15.05 kB / 5.829 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/14.82, allocations: 8.543 MB / 5.838 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/14.82, allocations: 3.594 kB / 5.838 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/14.82, allocations: 0.5499 MB / 5.838 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/14.83, allocations: 0.901 MB / 5.839 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000419/14.83, allocations: 86.64 kB / 5.839 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/14.83, allocations: 2.422 MB / 5.841 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/14.83, allocations: 2.094 kB / 5.841 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/14.85, allocations: 7.098 MB / 5.848 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/14.85, allocations: 0.8539 MB / 5.849 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005019/14.85, allocations: 20.81 kB / 5.849 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/14.85, allocations: 225.1 kB / 5.849 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/14.85, allocations: 211.1 kB / 5.85 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003372/14.85, allocations: 180.2 kB / 5.85 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001708/14.85, allocations: 1.275 MB / 5.851 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.093e-06/14.85, allocations: 0 / 5.851 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01595/14.87, allocations: 3.996 MB / 5.855 GB, free: 2.094 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 (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.0167/14.89, allocations: 5.509 MB / 5.86 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01609/14.9, allocations: 7.488 MB / 5.868 GB, free: 224 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/14.9, allocations: 4.188 kB / 5.868 GB, free: 224 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004221/14.91, allocations: 2.067 MB / 5.87 GB, free: 208 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008187/14.91, allocations: 1.064 MB / 5.871 GB, free: 172 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/14.93, allocations: 6.113 MB / 5.877 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/14.93, allocations: 2.285 MB / 5.879 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01073/14.95, allocations: 2.213 MB / 5.881 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/14.95, allocations: 357.8 kB / 5.881 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/14.95, allocations: 2.25 kB / 5.881 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.6599/15.61, allocations: 114 MB / 5.993 GB, free: 72.71 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