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.0008934/0.0008935, allocations: 176 kB / 18.08 MB, free: 3.637 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 242.1 MB, free: 11.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 93.83 kB / 293.3 MB, free: 10.81 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.349/0.349, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004478, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.402, allocations: 61.88 MB / 0.5107 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.301/7.703, allocations: 3.456 GB / 3.967 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/7.703, allocations: 99.92 kB / 3.967 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.054/13.76, allocations: 1.573 GB / 5.54 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.815e-06/13.76, allocations: 0 / 5.54 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004399/13.76, allocations: 87.86 kB / 5.54 GB, free: 12.75 MB / 0.6355 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.04234/13.8, allocations: 8.674 MB / 5.548 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/13.8, allocations: 8.031 kB / 5.548 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/13.8, allocations: 403.7 kB / 5.549 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007818/13.81, allocations: 2.151 MB / 5.551 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006825/13.81, allocations: 0.5008 MB / 5.551 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001888/13.81, allocations: 287.8 kB / 5.552 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5445/14.36, allocations: 4.902 MB / 5.556 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.333e-05/14.36, allocations: 9.562 kB / 5.556 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004777/14.36, allocations: 124.2 kB / 5.556 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003417/14.36, allocations: 261.6 kB / 5.557 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009822/14.37, allocations: 4.963 MB / 5.562 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03104/14.4, allocations: 20.74 MB / 5.582 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/14.41, allocations: 2.6 MB / 5.584 GB, free: 28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/14.41, allocations: 1.593 MB / 5.586 GB, free: 27.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/14.41, allocations: 3.313 MB / 5.589 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.324e-05/14.41, allocations: 68.58 kB / 5.589 GB, free: 24.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 5.53e-06/14.41, allocations: 3.75 kB / 5.589 GB, free: 24.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.0591/14.47, allocations: 16.51 MB / 5.605 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/14.47, allocations: 239.5 kB / 5.606 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/14.47, allocations: 2.478 MB / 5.608 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0007678/14.47, allocations: 82.73 kB / 5.608 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/14.48, allocations: 1.47 MB / 5.609 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/14.48, allocations: 0.9477 MB / 5.61 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/14.48, allocations: 79.38 kB / 5.61 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002804/14.48, allocations: 472.2 kB / 5.611 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/14.48, allocations: 2 MB / 5.613 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/14.49, allocations: 3.22 MB / 5.616 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007952/14.49, allocations: 5.368 MB / 5.621 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/14.49, allocations: 11.53 kB / 5.621 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01248/14.51, allocations: 6.152 MB / 5.627 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008887/14.51, allocations: 1.284 MB / 5.629 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/14.51, allocations: 36.67 kB / 5.629 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004335/14.51, allocations: 0.9754 MB / 5.63 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/14.52, allocations: 0.8981 MB / 5.63 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/14.52, allocations: 2.796 MB / 5.633 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/14.53, allocations: 387 kB / 5.633 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/14.53, allocations: 244.4 kB / 5.634 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/14.53, allocations: 2.938 kB / 5.634 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01418/14.54, allocations: 5.79 MB / 5.639 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/14.54, allocations: 38.16 kB / 5.639 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/14.55, allocations: 0.9795 MB / 5.64 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004251/14.55, allocations: 0.8904 MB / 5.641 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/14.55, allocations: 2.792 MB / 5.644 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/14.56, allocations: 375 kB / 5.644 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/14.56, allocations: 243.8 kB / 5.645 GB, free: 13.09 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.004263/14.57, allocations: 0.9785 MB / 5.646 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/14.57, allocations: 299.6 kB / 5.646 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/14.58, allocations: 6.305 MB / 5.652 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/14.58, allocations: 36.53 kB / 5.652 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/14.58, allocations: 2.734 kB / 5.652 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/14.58, allocations: 20.16 kB / 5.652 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02097/14.6, allocations: 8.601 MB / 5.66 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/14.6, allocations: 0 / 5.66 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/14.61, allocations: 0.5296 MB / 5.661 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004948/14.61, allocations: 1.171 MB / 5.662 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005253/14.61, allocations: 108.5 kB / 5.662 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00356/14.62, allocations: 2.676 MB / 5.665 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/14.62, allocations: 2.719 kB / 5.665 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/14.63, allocations: 7.056 MB / 5.672 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003257/14.63, allocations: 0.8474 MB / 5.673 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/14.63, allocations: 69.61 kB / 5.673 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003608/14.64, allocations: 286.5 kB / 5.673 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/14.64, allocations: 207.3 kB / 5.673 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005407/14.64, allocations: 145.4 kB / 5.673 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003685/14.64, allocations: 1.709 MB / 5.675 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/14.64, allocations: 0 / 5.675 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01984/14.66, allocations: 3.928 MB / 5.679 GB, free: 9.375 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 (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.01757/14.68, allocations: 4.546 MB / 5.683 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01719/14.7, allocations: 8.255 MB / 5.691 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/14.7, allocations: 4.281 kB / 5.691 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004676/14.7, allocations: 2.274 MB / 5.693 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009585/14.71, allocations: 1.338 MB / 5.695 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/14.73, allocations: 8.779 MB / 5.703 GB, free: 21.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004273/14.74, allocations: 2.22 MB / 5.705 GB, free: 20.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.01068/14.75, allocations: 2.611 MB / 5.708 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/14.75, allocations: 331.8 kB / 5.708 GB, free: 20.35 MB / 0.6511 GB Notification: Performance of SimCode: time 1.472e-06/14.75, allocations: 0 / 5.708 GB, free: 20.35 MB / 0.6511 GB Notification: Performance of Templates: time 0.7388/15.49, allocations: 130.4 MB / 5.836 GB, free: 66.25 MB / 0.6667 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/jenkins1/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