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.001159/0.001159, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.32/1.32, allocations: 223.2 MB / 241 MB, free: 11.86 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.001177/0.001177, allocations: 101.5 kB / 292.2 MB, free: 10.89 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.4364/0.4364, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 8 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4268, allocations: 61.89 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.746/9.173, allocations: 3.456 GB / 3.966 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/9.174, allocations: 93.81 kB / 3.966 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.563/16.74, allocations: 1.586 GB / 5.552 GB, free: 30.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/16.74, allocations: 0 / 5.552 GB, free: 30.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004479/16.74, allocations: 86.06 kB / 5.552 GB, free: 30.68 MB / 0.6198 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.04749/16.78, allocations: 8.7 MB / 5.561 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/16.78, allocations: 10.84 kB / 5.561 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/16.79, allocations: 405 kB / 5.561 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009375/16.8, allocations: 2.109 MB / 5.563 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007699/16.8, allocations: 0.4971 MB / 5.564 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/16.8, allocations: 292.8 kB / 5.564 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/16.82, allocations: 4.88 MB / 5.569 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003573/16.82, allocations: 9.688 kB / 5.569 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/16.82, allocations: 128.6 kB / 5.569 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006319/16.82, allocations: 261.4 kB / 5.569 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/16.84, allocations: 4.965 MB / 5.574 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05211/16.89, allocations: 20.88 MB / 5.594 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007484/16.9, allocations: 2.601 MB / 5.597 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003283/16.9, allocations: 3.317 MB / 5.6 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/16.9, allocations: 65.73 kB / 5.6 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=232): time 9.417e-06/16.9, allocations: 0 / 5.6 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268): time 0.0722/16.97, allocations: 16.51 MB / 5.616 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/16.97, allocations: 232.2 kB / 5.616 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00544/16.98, allocations: 2.205 MB / 5.619 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/16.98, allocations: 78.17 kB / 5.619 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001711/16.98, allocations: 1.471 MB / 5.62 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002186/16.98, allocations: 0.9438 MB / 5.621 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/16.99, allocations: 80 kB / 5.621 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0005252/16.99, allocations: 463.1 kB / 5.622 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005346/16.99, allocations: 2.004 MB / 5.623 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005183/17, allocations: 3.206 MB / 5.627 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005077/17, allocations: 2.543 MB / 5.629 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.305e-05/17, allocations: 15.44 kB / 5.629 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01415/17.02, allocations: 6.144 MB / 5.635 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.007433/17.02, allocations: 15.23 MB / 5.65 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.135e-05/17.02, allocations: 38.31 kB / 5.65 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/17.03, allocations: 0.9929 MB / 5.651 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/17.03, allocations: 0.8895 MB / 5.652 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004914/17.04, allocations: 2.805 MB / 5.655 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005852/17.04, allocations: 384.3 kB / 5.655 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/17.04, allocations: 243.9 kB / 5.655 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/17.04, allocations: 9 kB / 5.655 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01581/17.06, allocations: 5.786 MB / 5.661 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/17.06, allocations: 36 kB / 5.661 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004663/17.06, allocations: 0.9795 MB / 5.662 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/17.07, allocations: 0.8861 MB / 5.663 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005121/17.07, allocations: 2.794 MB / 5.665 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006205/17.08, allocations: 382.6 kB / 5.666 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/17.08, allocations: 236.1 kB / 5.666 GB, free: 7.543 MB / 0.6511 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.004262/17.09, allocations: 0.9754 MB / 5.667 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/17.09, allocations: 304.3 kB / 5.667 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/17.1, allocations: 6.346 MB / 5.673 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/17.1, allocations: 30.48 kB / 5.673 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/17.1, allocations: 0 / 5.673 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.047e-05/17.1, allocations: 15.47 kB / 5.673 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6978/17.8, allocations: 8.711 MB / 5.682 GB, free: 57.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/17.8, allocations: 4.031 kB / 5.682 GB, free: 57.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/17.81, allocations: 0.5264 MB / 5.683 GB, free: 57.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005636/17.81, allocations: 1.167 MB / 5.684 GB, free: 57.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006339/17.81, allocations: 107.8 kB / 5.684 GB, free: 57.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/17.82, allocations: 2.678 MB / 5.686 GB, free: 56.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/17.82, allocations: 2.562 kB / 5.686 GB, free: 56.13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/17.83, allocations: 7.139 MB / 5.693 GB, free: 55.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00359/17.83, allocations: 0.8824 MB / 5.694 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/17.84, allocations: 72.52 kB / 5.694 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/17.84, allocations: 277.7 kB / 5.695 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005065/17.84, allocations: 204.8 kB / 5.695 GB, free: 55.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000605/17.84, allocations: 145.9 kB / 5.695 GB, free: 55.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004468/17.85, allocations: 1.707 MB / 5.697 GB, free: 55.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/17.85, allocations: 0.6875 kB / 5.697 GB, free: 55.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02265/17.87, allocations: 3.933 MB / 5.7 GB, free: 55.44 MB / 0.6511 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.02084/17.89, allocations: 4.535 MB / 5.705 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02351/17.91, allocations: 8.261 MB / 5.713 GB, free: 54.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/17.91, allocations: 4.25 kB / 5.713 GB, free: 54.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00604/17.92, allocations: 2.285 MB / 5.715 GB, free: 54.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008653/17.93, allocations: 1.316 MB / 5.716 GB, free: 54.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/17.95, allocations: 8.737 MB / 5.725 GB, free: 51.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003913/17.95, allocations: 2.287 MB / 5.727 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.008711/17.96, allocations: 2.554 MB / 5.73 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/17.96, allocations: 339.5 kB / 5.73 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.903e-06/17.96, allocations: 0 / 5.73 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.1982/18.16, allocations: 127.9 MB / 5.855 GB, free: 34.73 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