Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 196.7 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008921, allocations: 100.4 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3779/0.3779, allocations: 44.83 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002863, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4559, allocations: 62.96 MB / 0.5184 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.976/9.432, allocations: 3.457 GB / 3.975 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004049/9.432, allocations: 95.94 kB / 3.976 GB, free: 44.93 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.502/16.93, allocations: 1.552 GB / 5.528 GB, free: 29.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.697e-06/16.93, allocations: 3.938 kB / 5.528 GB, free: 29.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003158/16.93, allocations: 86.52 kB / 5.528 GB, free: 29.44 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.04457/16.98, allocations: 8.689 MB / 5.536 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/16.98, allocations: 9.406 kB / 5.536 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/16.98, allocations: 392.6 kB / 5.537 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0071/16.99, allocations: 2.16 MB / 5.539 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005763/16.99, allocations: 0.4974 MB / 5.539 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/16.99, allocations: 284.6 kB / 5.54 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/17, allocations: 4.901 MB / 5.544 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/17, allocations: 15.84 kB / 5.544 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/17, allocations: 131.3 kB / 5.544 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003378/17, allocations: 257.4 kB / 5.545 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009857/17.01, allocations: 4.965 MB / 5.55 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03733/17.05, allocations: 20.73 MB / 5.57 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005563/17.06, allocations: 2.602 MB / 5.572 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/17.06, allocations: 1.594 MB / 5.574 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003934/17.06, allocations: 3.304 MB / 5.577 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/17.06, allocations: 72.72 kB / 5.577 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 6.843e-06/17.06, allocations: 0 / 5.577 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.8202/17.88, allocations: 16.5 MB / 5.593 GB, free: 46.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/17.88, allocations: 238.6 kB / 5.594 GB, free: 46.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005547/17.89, allocations: 2.486 MB / 5.596 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009321/17.89, allocations: 79.95 kB / 5.596 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/17.89, allocations: 1.46 MB / 5.597 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001909/17.89, allocations: 0.9499 MB / 5.598 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/17.89, allocations: 81.41 kB / 5.598 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003896/17.9, allocations: 463 kB / 5.599 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005268/17.9, allocations: 2.004 MB / 5.601 GB, free: 45.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006648/17.91, allocations: 3.221 MB / 5.604 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/17.92, allocations: 5.371 MB / 5.609 GB, free: 42.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.262e-05/17.92, allocations: 12.97 kB / 5.609 GB, free: 42.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01819/17.94, allocations: 6.159 MB / 5.615 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001462/17.94, allocations: 1.281 MB / 5.617 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/17.94, allocations: 36.34 kB / 5.617 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00448/17.94, allocations: 0.9811 MB / 5.618 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00521/17.95, allocations: 0.8995 MB / 5.618 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/17.95, allocations: 2.792 MB / 5.621 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007262/17.96, allocations: 386.1 kB / 5.621 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002229/17.96, allocations: 245.9 kB / 5.622 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/17.96, allocations: 3.125 kB / 5.622 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01522/17.98, allocations: 5.783 MB / 5.627 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/17.98, allocations: 37.22 kB / 5.627 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/17.98, allocations: 0.9783 MB / 5.628 GB, free: 38.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004732/17.99, allocations: 0.889 MB / 5.629 GB, free: 38.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/17.99, allocations: 2.794 MB / 5.632 GB, free: 36.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00614/18, allocations: 374.1 kB / 5.632 GB, free: 36.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/18, allocations: 240.4 kB / 5.633 GB, free: 36.77 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.00353/18, allocations: 0.9703 MB / 5.633 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/18, allocations: 304.2 kB / 5.634 GB, free: 36.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/18.02, allocations: 6.316 MB / 5.64 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.059e-05/18.02, allocations: 38.55 kB / 5.64 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/18.02, allocations: 1.25 kB / 5.64 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.478e-05/18.02, allocations: 13.73 kB / 5.64 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.019/18.04, allocations: 8.614 MB / 5.648 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/18.04, allocations: 0 / 5.648 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/18.04, allocations: 0.5345 MB / 5.649 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005002/18.04, allocations: 1.165 MB / 5.65 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007173/18.05, allocations: 111.1 kB / 5.65 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003718/18.05, allocations: 2.674 MB / 5.653 GB, free: 34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/18.05, allocations: 6.906 kB / 5.653 GB, free: 34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/18.06, allocations: 7.058 MB / 5.66 GB, free: 33.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/18.07, allocations: 0.8463 MB / 5.661 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/18.07, allocations: 73.94 kB / 5.661 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003558/18.07, allocations: 280.5 kB / 5.661 GB, free: 33.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/18.07, allocations: 196.4 kB / 5.661 GB, free: 33.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004144/18.07, allocations: 146.9 kB / 5.661 GB, free: 33.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003019/18.08, allocations: 1.709 MB / 5.663 GB, free: 33.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/18.08, allocations: 0 / 5.663 GB, free: 33.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02032/18.1, allocations: 3.968 MB / 5.667 GB, free: 33.07 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.01734/18.11, allocations: 4.548 MB / 5.671 GB, free: 32.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02452/18.14, allocations: 8.253 MB / 5.679 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.991e-05/18.14, allocations: 4.688 kB / 5.679 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005943/18.14, allocations: 2.286 MB / 5.681 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/18.16, allocations: 1.351 MB / 5.683 GB, free: 31.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/18.17, allocations: 8.777 MB / 5.691 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/18.18, allocations: 2.229 MB / 5.694 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.009053/18.18, allocations: 2.605 MB / 5.696 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/18.19, allocations: 335.6 kB / 5.696 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of SimCode: time 1.774e-06/18.19, allocations: 0 / 5.696 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of Templates: time 0.2071/18.39, allocations: 130.3 MB / 5.824 GB, free: 2.828 MB / 0.6667 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches