Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.0008078, allocations: 86.64 kB / 261.8 MB, free: 1.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2072/0.2072, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.566e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.495/7.625, allocations: 3.632 GB / 4.098 GB, free: 48.37 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/7.625, allocations: 88.02 kB / 4.098 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.548/13.17, allocations: 1.449 GB / 5.547 GB, free: 26.01 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.292e-06/13.17, allocations: 0 / 5.547 GB, free: 26.01 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002833/13.17, allocations: 64.45 kB / 5.547 GB, free: 25.99 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.02859/13.2, allocations: 7.277 MB / 5.554 GB, free: 21.83 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/13.2, allocations: 11 kB / 5.554 GB, free: 21.83 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/13.2, allocations: 284 kB / 5.554 GB, free: 21.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/13.21, allocations: 1.565 MB / 5.556 GB, free: 21.24 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/13.21, allocations: 73.22 kB / 5.556 GB, free: 21.24 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008718/13.21, allocations: 108.1 kB / 5.556 GB, free: 21.24 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005733/13.22, allocations: 3.099 MB / 5.559 GB, free: 21.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007145/13.22, allocations: 2.817 MB / 5.562 GB, free: 21 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.965e-05/13.22, allocations: 0 / 5.562 GB, free: 21 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005134/13.22, allocations: 5.781 kB / 5.562 GB, free: 21 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/13.22, allocations: 187.1 kB / 5.562 GB, free: 20.99 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02309/13.25, allocations: 11.77 MB / 5.573 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/13.25, allocations: 1.608 MB / 5.575 GB, free: 14.92 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/13.25, allocations: 1.065 MB / 5.576 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/13.25, allocations: 1.679 MB / 5.578 GB, free: 12.76 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/13.25, allocations: 59.34 kB / 5.578 GB, free: 12.7 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001925/13.25, allocations: 282.5 kB / 5.578 GB, free: 12.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=153): time 5.54e-06/13.25, allocations: 0 / 5.578 GB, free: 12.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=165): time 0.02467/13.28, allocations: 7.161 MB / 5.585 GB, free: 7.445 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/13.28, allocations: 205.2 kB / 5.585 GB, free: 7.199 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/13.28, allocations: 1.238 MB / 5.586 GB, free: 6.07 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003624/13.28, allocations: 29.7 kB / 5.586 GB, free: 6.035 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/13.28, allocations: 1 MB / 5.587 GB, free: 5.125 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006335/13.28, allocations: 0.5597 MB / 5.588 GB, free: 4.609 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/13.28, allocations: 0 / 5.588 GB, free: 4.609 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001572/13.28, allocations: 392.6 kB / 5.588 GB, free: 4.246 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/13.28, allocations: 1.195 MB / 5.589 GB, free: 3.168 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/13.29, allocations: 1.536 MB / 5.591 GB, free: 1.66 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01659/13.3, allocations: 3.979 MB / 5.595 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/13.3, allocations: 4 kB / 5.595 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.02482/13.33, allocations: 6.287 MB / 5.601 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001246/13.33, allocations: 2.97 MB / 5.604 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/13.33, allocations: 8 kB / 5.604 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004381/13.33, allocations: 0.8888 MB / 5.605 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003214/13.34, allocations: 0.5037 MB / 5.605 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/13.34, allocations: 2.176 MB / 5.607 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/13.34, allocations: 153.2 kB / 5.607 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005072/13.34, allocations: 164.5 kB / 5.608 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/13.34, allocations: 4 kB / 5.608 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02264/13.37, allocations: 5.884 MB / 5.613 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/13.37, allocations: 8 kB / 5.613 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/13.37, allocations: 0.8239 MB / 5.614 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/13.37, allocations: 0.4993 MB / 5.615 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/13.38, allocations: 1.869 MB / 5.616 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/13.38, allocations: 147.8 kB / 5.617 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004277/13.38, allocations: 163.9 kB / 5.617 GB, free: 9.883 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: junction.port_2.m_flow:VARIABLE(flow=true min = max(-(if junction1.portFlowDirection_1 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59), if junction.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59) max = min(-(if junction1.portFlowDirection_1 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59), if junction.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59) unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.001039/13.38, allocations: 175 kB / 5.617 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006416/13.38, allocations: 185.8 kB / 5.617 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009452/13.39, allocations: 3.918 MB / 5.621 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/13.39, allocations: 27.94 kB / 5.621 GB, free: 5.535 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/13.39, allocations: 0 / 5.621 GB, free: 5.535 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/13.39, allocations: 7.969 kB / 5.621 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/13.4, allocations: 5.339 MB / 5.626 GB, free: 88 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/13.4, allocations: 4 kB / 5.626 GB, free: 84 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4544/13.86, allocations: 303.2 kB / 5.626 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003514/13.86, allocations: 0.7545 MB / 5.627 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005405/13.86, allocations: 43.55 kB / 5.627 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/13.86, allocations: 2.049 MB / 5.629 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/13.86, allocations: 7.281 kB / 5.629 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/13.87, allocations: 4.315 MB / 5.633 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/13.87, allocations: 355.2 kB / 5.634 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000363/13.87, allocations: 15.47 kB / 5.634 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/13.88, allocations: 124.6 kB / 5.634 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/13.88, allocations: 139.7 kB / 5.634 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003309/13.88, allocations: 117.4 kB / 5.634 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00178/13.88, allocations: 1.044 MB / 5.635 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/13.88, allocations: 0 / 5.635 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0143/13.89, allocations: 3.062 MB / 5.638 GB, free: 56.92 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01471/13.91, allocations: 4.542 MB / 5.643 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008615/13.92, allocations: 4.559 MB / 5.647 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/13.92, allocations: 4.375 kB / 5.647 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/13.92, allocations: 1.159 MB / 5.648 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/13.92, allocations: 0.9222 MB / 5.649 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/13.93, allocations: 3.439 MB / 5.652 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/13.93, allocations: 1.715 MB / 5.654 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.005388/13.94, allocations: 1.174 MB / 5.655 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009222/13.94, allocations: 237.8 kB / 5.656 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/13.94, allocations: 0 / 5.656 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.1227/14.06, allocations: 88.71 MB / 5.742 GB, free: 48.76 MB / 0.6042 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionTraceSubstances/TestJunctionTraceSubstances.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches