Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.0008773, allocations: 89.5 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1937/0.1937, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.566e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.072/8.223, allocations: 3.455 GB / 3.95 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/8.224, allocations: 88.8 kB / 3.95 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.414/14.64, allocations: 1.569 GB / 5.519 GB, free: 26.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/14.64, allocations: 4 kB / 5.519 GB, free: 26.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002173/14.64, allocations: 91.56 kB / 5.519 GB, free: 26.7 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.02916/14.67, allocations: 8.378 MB / 5.527 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/14.67, allocations: 11.98 kB / 5.527 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/14.67, allocations: 395.4 kB / 5.528 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005524/14.68, allocations: 2.098 MB / 5.53 GB, free: 18.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/14.68, allocations: 407.7 kB / 5.53 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/14.68, allocations: 171.9 kB / 5.53 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007166/14.68, allocations: 4.343 MB / 5.534 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006582/14.69, allocations: 4.39 MB / 5.539 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.191e-05/14.69, allocations: 11.88 kB / 5.539 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/14.69, allocations: 8 kB / 5.539 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002787/14.69, allocations: 257.2 kB / 5.539 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03194/14.72, allocations: 20.34 MB / 5.559 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004379/14.73, allocations: 2.463 MB / 5.561 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/14.73, allocations: 1.476 MB / 5.563 GB, free: 128 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5273/15.26, allocations: 3.312 MB / 5.566 GB, free: 40.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/15.26, allocations: 65.67 kB / 5.566 GB, free: 40.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=232): time 8.576e-06/15.26, allocations: 0 / 5.566 GB, free: 40.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268): time 0.06444/15.32, allocations: 13.21 MB / 5.579 GB, free: 39.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/15.32, allocations: 235.5 kB / 5.579 GB, free: 39.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003133/15.33, allocations: 1.693 MB / 5.581 GB, free: 39.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008884/15.33, allocations: 29.61 kB / 5.581 GB, free: 39.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/15.33, allocations: 1.461 MB / 5.582 GB, free: 38.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/15.33, allocations: 0.9182 MB / 5.583 GB, free: 38.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/15.33, allocations: 2.766 kB / 5.583 GB, free: 38.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002919/15.33, allocations: 466.9 kB / 5.583 GB, free: 37.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/15.33, allocations: 1.763 MB / 5.585 GB, free: 37.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003635/15.34, allocations: 2.937 MB / 5.588 GB, free: 36.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/15.35, allocations: 3.615 MB / 5.592 GB, free: 36.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.501e-05/15.35, allocations: 11.53 kB / 5.592 GB, free: 36.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01963/15.37, allocations: 6.603 MB / 5.598 GB, free: 36.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.003014/15.37, allocations: 14.89 MB / 5.613 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.451e-05/15.37, allocations: 37.19 kB / 5.613 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/15.37, allocations: 0.7246 MB / 5.613 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/15.38, allocations: 0.8967 MB / 5.614 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/15.38, allocations: 2.522 MB / 5.617 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005274/15.39, allocations: 318.2 kB / 5.617 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/15.39, allocations: 246.7 kB / 5.617 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/15.39, allocations: 5.688 kB / 5.617 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01892/15.41, allocations: 6.043 MB / 5.623 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/15.41, allocations: 44.97 kB / 5.623 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/15.41, allocations: 0.7162 MB / 5.624 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004076/15.41, allocations: 0.8943 MB / 5.625 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/15.42, allocations: 2.519 MB / 5.627 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/15.42, allocations: 301.6 kB / 5.628 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/15.42, allocations: 237.8 kB / 5.628 GB, free: 16.95 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.001376/15.42, allocations: 229.1 kB / 5.628 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/15.42, allocations: 281.4 kB / 5.628 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/15.44, allocations: 6.195 MB / 5.634 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/15.44, allocations: 39.38 kB / 5.634 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/15.44, allocations: 5.25 kB / 5.634 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/15.44, allocations: 19.56 kB / 5.634 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/15.46, allocations: 8.289 MB / 5.642 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/15.46, allocations: 7.422 kB / 5.642 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/15.46, allocations: 0.5289 MB / 5.643 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0037/15.47, allocations: 0.8972 MB / 5.644 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006649/15.47, allocations: 81.48 kB / 5.644 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/15.47, allocations: 2.412 MB / 5.646 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/15.47, allocations: 4.344 kB / 5.646 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/15.48, allocations: 6.863 MB / 5.653 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002853/15.49, allocations: 0.8422 MB / 5.654 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/15.49, allocations: 27.34 kB / 5.654 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003276/15.49, allocations: 231.9 kB / 5.654 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/15.49, allocations: 202.4 kB / 5.654 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004004/15.49, allocations: 145.3 kB / 5.654 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001892/15.49, allocations: 1.275 MB / 5.656 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/15.49, allocations: 0 / 5.656 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01598/15.51, allocations: 3.644 MB / 5.659 GB, free: 13.29 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.01656/15.53, allocations: 4.841 MB / 5.664 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01308/15.54, allocations: 7.446 MB / 5.671 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/15.54, allocations: 4.844 kB / 5.671 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/15.54, allocations: 2.039 MB / 5.673 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005629/15.55, allocations: 1.069 MB / 5.674 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/15.56, allocations: 6.107 MB / 5.68 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/15.56, allocations: 2.292 MB / 5.682 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00844/15.57, allocations: 2.561 MB / 5.685 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/15.57, allocations: 300 kB / 5.685 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/15.57, allocations: 1.406 kB / 5.685 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.1669/15.74, allocations: 109 MB / 5.792 GB, free: 6.828 MB / 0.6511 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPortTraceSubstances/TestMultiPortTraceSubstances.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches