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.001077/0.001077, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.301/1.301, allocations: 221.3 MB / 236 MB, free: 2.965 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.0009199/0.0009199, allocations: 102.1 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1994/0.1994, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.906e-05, allocations: 4 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.013/7.145, allocations: 3.456 GB / 3.958 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/7.145, allocations: 85.02 kB / 3.958 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.293/13.44, allocations: 1.584 GB / 5.541 GB, free: 30.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.905e-06/13.44, allocations: 0 / 5.541 GB, free: 30.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000316/13.44, allocations: 87.66 kB / 5.541 GB, free: 30.81 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.03445/13.47, allocations: 8.383 MB / 5.55 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/13.47, allocations: 12.09 kB / 5.55 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/13.48, allocations: 397.4 kB / 5.55 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00669/13.48, allocations: 2.096 MB / 5.552 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005605/13.48, allocations: 0.5021 MB / 5.553 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00133/13.48, allocations: 290.3 kB / 5.553 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009332/13.49, allocations: 4.783 MB / 5.557 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-05/13.49, allocations: 18.16 kB / 5.558 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004596/13.49, allocations: 122.4 kB / 5.558 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/13.49, allocations: 262.2 kB / 5.558 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008572/13.5, allocations: 4.808 MB / 5.563 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/13.53, allocations: 20.87 MB / 5.583 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/13.54, allocations: 2.532 MB / 5.585 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/13.54, allocations: 1.536 MB / 5.587 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002129/13.54, allocations: 3.312 MB / 5.59 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/13.54, allocations: 67.7 kB / 5.59 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=232): time 3.897e-06/13.54, allocations: 0.5625 kB / 5.59 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268): time 0.05004/13.59, allocations: 14.13 MB / 5.604 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/13.59, allocations: 237 kB / 5.604 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/13.59, allocations: 2.174 MB / 5.606 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004683/13.59, allocations: 79.17 kB / 5.606 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008752/13.6, allocations: 1.456 MB / 5.608 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008033/13.6, allocations: 0.9512 MB / 5.609 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/13.6, allocations: 84.94 kB / 5.609 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001602/13.6, allocations: 462.5 kB / 5.609 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/13.6, allocations: 1.817 MB / 5.611 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/13.6, allocations: 3.021 MB / 5.614 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/13.61, allocations: 2.374 MB / 5.616 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/13.61, allocations: 12.28 kB / 5.616 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.0085/13.61, allocations: 5.671 MB / 5.622 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.004784/13.62, allocations: 15.23 MB / 5.637 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.667e-05/13.62, allocations: 38.66 kB / 5.637 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/13.62, allocations: 0.7296 MB / 5.638 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004343/13.63, allocations: 0.9003 MB / 5.638 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/13.63, allocations: 2.445 MB / 5.641 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004934/13.63, allocations: 384 kB / 5.641 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008246/13.63, allocations: 247.8 kB / 5.641 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/13.63, allocations: 3.625 kB / 5.641 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008233/13.64, allocations: 5.304 MB / 5.647 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.906e-05/13.64, allocations: 35.19 kB / 5.647 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/13.65, allocations: 0.7247 MB / 5.647 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/13.65, allocations: 0.8907 MB / 5.648 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/13.65, allocations: 2.459 MB / 5.651 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005166/13.66, allocations: 376.9 kB / 5.651 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/13.66, allocations: 239.4 kB / 5.651 GB, free: 2.898 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 () * 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.00164/13.66, allocations: 371.9 kB / 5.652 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000809/13.66, allocations: 304.4 kB / 5.652 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008456/13.67, allocations: 5.871 MB / 5.658 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/13.67, allocations: 32.14 kB / 5.658 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/13.67, allocations: 2.625 kB / 5.658 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/13.67, allocations: 16.53 kB / 5.658 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/13.68, allocations: 8.262 MB / 5.666 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/13.68, allocations: 3.703 kB / 5.666 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/13.68, allocations: 0.5309 MB / 5.666 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/13.69, allocations: 0.9149 MB / 5.667 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/13.69, allocations: 110.8 kB / 5.667 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/13.69, allocations: 2.344 MB / 5.669 GB, free: 16.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/13.69, allocations: 4.969 kB / 5.669 GB, free: 16.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008494/13.7, allocations: 6.557 MB / 5.676 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/13.7, allocations: 0.8809 MB / 5.677 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005233/13.7, allocations: 74.72 kB / 5.677 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/13.7, allocations: 285.6 kB / 5.677 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/13.7, allocations: 194.3 kB / 5.677 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000316/13.7, allocations: 153 kB / 5.677 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00234/13.71, allocations: 1.678 MB / 5.679 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.8e-07/13.71, allocations: 0 / 5.679 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01395/13.72, allocations: 3.938 MB / 5.683 GB, free: 14.38 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 () * 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.01317/13.73, allocations: 4.544 MB / 5.687 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01278/13.75, allocations: 7.787 MB / 5.695 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/13.75, allocations: 4.312 kB / 5.695 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/13.75, allocations: 2.11 MB / 5.697 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006067/13.75, allocations: 1.322 MB / 5.698 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/13.77, allocations: 6.328 MB / 5.704 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/13.77, allocations: 2.286 MB / 5.707 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007913/13.78, allocations: 2.759 MB / 5.709 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/13.78, allocations: 305.4 kB / 5.71 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/13.78, allocations: 0 / 5.71 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of Templates: time 0.6213/14.4, allocations: 137.8 MB / 5.844 GB, free: 70.6 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/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