Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 198.7 kB / 16.79 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 226.5 MB / 244.1 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009182/0.0009178, allocations: 95.03 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4134/0.4134, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.000271, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4034, allocations: 62.95 MB / 0.5165 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.636/8.039, allocations: 3.457 GB / 3.974 GB, free: 44.27 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/8.039, allocations: 91.95 kB / 3.974 GB, free: 44.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.901/13.94, allocations: 1.552 GB / 5.526 GB, free: 29.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.537e-06/13.94, allocations: 0 / 5.526 GB, free: 29.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004276/13.94, allocations: 81.86 kB / 5.526 GB, free: 29.73 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.0409/13.98, allocations: 8.677 MB / 5.534 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/13.98, allocations: 14.56 kB / 5.534 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/13.99, allocations: 395.1 kB / 5.535 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008274/13.99, allocations: 2.157 MB / 5.537 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008597/14, allocations: 0.5035 MB / 5.537 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002562/14, allocations: 279.7 kB / 5.538 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/14.01, allocations: 4.904 MB / 5.542 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002136/14.01, allocations: 19.72 kB / 5.542 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001719/14.02, allocations: 124 kB / 5.542 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003997/14.02, allocations: 257.8 kB / 5.543 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/14.03, allocations: 4.968 MB / 5.548 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04067/14.07, allocations: 20.73 MB / 5.568 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006427/14.08, allocations: 2.603 MB / 5.57 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003785/14.08, allocations: 1.594 MB / 5.572 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00382/14.08, allocations: 3.312 MB / 5.575 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/14.08, allocations: 68.11 kB / 5.575 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 1.126e-05/14.08, allocations: 0 / 5.575 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.5731/14.66, allocations: 16.51 MB / 5.591 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/14.66, allocations: 237.4 kB / 5.592 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/14.66, allocations: 2.476 MB / 5.594 GB, free: 46.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0008038/14.66, allocations: 82.08 kB / 5.594 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/14.66, allocations: 1.469 MB / 5.596 GB, free: 46.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/14.66, allocations: 0.9472 MB / 5.596 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/14.66, allocations: 78.28 kB / 5.597 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002104/14.66, allocations: 463.7 kB / 5.597 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/14.67, allocations: 2.008 MB / 5.599 GB, free: 45.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/14.67, allocations: 3.223 MB / 5.602 GB, free: 44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009621/14.68, allocations: 5.369 MB / 5.607 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.053e-05/14.68, allocations: 10.84 kB / 5.607 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01425/14.7, allocations: 6.155 MB / 5.613 GB, free: 42.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008555/14.7, allocations: 1.281 MB / 5.615 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-05/14.7, allocations: 34.16 kB / 5.615 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004225/14.7, allocations: 0.9794 MB / 5.616 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/14.71, allocations: 0.9033 MB / 5.616 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/14.71, allocations: 2.787 MB / 5.619 GB, free: 38.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005659/14.72, allocations: 391.1 kB / 5.62 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009855/14.72, allocations: 242.3 kB / 5.62 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/14.72, allocations: 3.812 kB / 5.62 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01216/14.73, allocations: 5.788 MB / 5.625 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/14.73, allocations: 37.03 kB / 5.625 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004048/14.73, allocations: 0.9765 MB / 5.626 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/14.74, allocations: 0.8916 MB / 5.627 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/14.74, allocations: 2.793 MB / 5.63 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/14.75, allocations: 375.4 kB / 5.63 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008162/14.75, allocations: 240.6 kB / 5.631 GB, free: 37.12 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.002934/14.75, allocations: 0.9786 MB / 5.632 GB, free: 36.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008998/14.75, allocations: 301 kB / 5.632 GB, free: 36.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/14.76, allocations: 6.312 MB / 5.638 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/14.76, allocations: 34.66 kB / 5.638 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/14.76, allocations: 4.359 kB / 5.638 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/14.76, allocations: 13.17 kB / 5.638 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/14.78, allocations: 8.611 MB / 5.646 GB, free: 35.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/14.78, allocations: 2.5 kB / 5.646 GB, free: 35.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/14.78, allocations: 0.5287 MB / 5.647 GB, free: 35.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005276/14.79, allocations: 1.166 MB / 5.648 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005288/14.79, allocations: 109.4 kB / 5.648 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00365/14.79, allocations: 2.675 MB / 5.651 GB, free: 34.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/14.79, allocations: 1.375 kB / 5.651 GB, free: 34.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/14.81, allocations: 7.063 MB / 5.658 GB, free: 33.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002783/14.81, allocations: 0.8456 MB / 5.659 GB, free: 33.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007819/14.81, allocations: 70.33 kB / 5.659 GB, free: 33.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/14.81, allocations: 280.9 kB / 5.659 GB, free: 33.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/14.81, allocations: 195.5 kB / 5.659 GB, free: 33.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003743/14.81, allocations: 150 kB / 5.659 GB, free: 33.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002753/14.82, allocations: 1.709 MB / 5.661 GB, free: 33.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.222e-06/14.82, allocations: 0 / 5.661 GB, free: 33.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01784/14.83, allocations: 3.966 MB / 5.665 GB, free: 33.42 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.01684/14.85, allocations: 4.561 MB / 5.669 GB, free: 32.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02293/14.87, allocations: 8.249 MB / 5.677 GB, free: 32.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/14.87, allocations: 3.938 kB / 5.677 GB, free: 32.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005902/14.88, allocations: 2.283 MB / 5.68 GB, free: 32.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/14.89, allocations: 1.346 MB / 5.681 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/14.91, allocations: 8.974 MB / 5.69 GB, free: 29.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/14.91, allocations: 2.23 MB / 5.692 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002877/14.92, allocations: 382.5 kB / 5.692 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of SimCode: time 1.653e-06/14.92, allocations: 0 / 5.692 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.1785/15.09, allocations: 129.3 MB / 5.818 GB, free: 5.867 MB / 0.6667 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches