Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002271/0.002271, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 88.42 kB / 270.9 MB, free: 8.391 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.5017/0.5017, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 12 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.22/11.34, allocations: 3.633 GB / 4.112 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/11.34, allocations: 92.52 kB / 4.112 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 8.82/20.17, allocations: 1.464 GB / 5.576 GB, free: 30.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.003e-06/20.17, allocations: 0 / 5.576 GB, free: 30.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002943/20.17, allocations: 68.66 kB / 5.576 GB, free: 30.87 MB / 0.5886 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.03416/20.2, allocations: 7.536 MB / 5.584 GB, free: 26.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/20.2, allocations: 12.31 kB / 5.584 GB, free: 26.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/20.2, allocations: 281.4 kB / 5.584 GB, free: 26.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/20.21, allocations: 1.568 MB / 5.585 GB, free: 26.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003067/20.21, allocations: 148.1 kB / 5.586 GB, free: 26.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/20.21, allocations: 186.7 kB / 5.586 GB, free: 26.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/20.22, allocations: 3.165 MB / 5.589 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.525e-05/20.22, allocations: 3.438 kB / 5.589 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006227/20.22, allocations: 82.58 kB / 5.589 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003614/20.22, allocations: 181.3 kB / 5.589 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/20.23, allocations: 3.526 MB / 5.593 GB, free: 26.13 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03692/20.27, allocations: 12.16 MB / 5.604 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005782/20.28, allocations: 1.812 MB / 5.606 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/20.28, allocations: 1.677 MB / 5.608 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/20.28, allocations: 62.41 kB / 5.608 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003724/20.28, allocations: 367.5 kB / 5.608 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 9.608e-06/20.28, allocations: 5.812 kB / 5.608 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.05412/20.34, allocations: 9.504 MB / 5.618 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/20.34, allocations: 199.5 kB / 5.618 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/20.34, allocations: 1.803 MB / 5.619 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000813/20.34, allocations: 58.8 kB / 5.62 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007796/20.34, allocations: 0.9 MB / 5.62 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/20.34, allocations: 0.5894 MB / 5.621 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/20.34, allocations: 44.16 kB / 5.621 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001708/20.34, allocations: 397.7 kB / 5.621 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/20.35, allocations: 1.317 MB / 5.623 GB, free: 17.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004993/20.35, allocations: 1.662 MB / 5.624 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/20.36, allocations: 1.564 MB / 5.626 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/20.36, allocations: 0 / 5.626 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01913/20.38, allocations: 4.146 MB / 5.63 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000671/20.38, allocations: 2.937 MB / 5.633 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/20.38, allocations: 8.938 kB / 5.633 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01348/20.39, allocations: 1.324 MB / 5.634 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/20.4, allocations: 0.5029 MB / 5.635 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/20.4, allocations: 2.138 MB / 5.637 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00546/20.41, allocations: 192.2 kB / 5.637 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/20.41, allocations: 167.5 kB / 5.637 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/20.41, allocations: 5.75 kB / 5.637 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01474/20.42, allocations: 3.619 MB / 5.641 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.276e-05/20.42, allocations: 5.719 kB / 5.641 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009412/20.43, allocations: 0.9726 MB / 5.641 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004668/20.44, allocations: 0.5027 MB / 5.642 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/20.44, allocations: 1.919 MB / 5.644 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/20.45, allocations: 184.7 kB / 5.644 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000819/20.45, allocations: 166.7 kB / 5.644 GB, free: 11.17 MB / 0.5886 GB 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 () * Number of clocked 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,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.002381/20.45, allocations: 0.6279 MB / 5.645 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009087/20.45, allocations: 232 kB / 5.645 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/20.47, allocations: 4.224 MB / 5.649 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/20.47, allocations: 17.06 kB / 5.649 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/20.47, allocations: 2.75 kB / 5.649 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.983e-05/20.47, allocations: 10.59 kB / 5.649 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/20.48, allocations: 6.092 MB / 5.655 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/20.48, allocations: 3.75 kB / 5.655 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003067/20.49, allocations: 345.5 kB / 5.655 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/20.5, allocations: 1.187 MB / 5.657 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007013/20.5, allocations: 75.25 kB / 5.657 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/20.5, allocations: 2.052 MB / 5.659 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/20.5, allocations: 7.219 kB / 5.659 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/20.52, allocations: 5.095 MB / 5.664 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/20.52, allocations: 358.5 kB / 5.664 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/20.52, allocations: 49.28 kB / 5.664 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004416/20.53, allocations: 165 kB / 5.664 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007236/20.53, allocations: 149.2 kB / 5.664 GB, free: 22.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005118/20.53, allocations: 134.6 kB / 5.664 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003387/20.53, allocations: 1.411 MB / 5.666 GB, free: 22.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.51e-07/20.53, allocations: 0 / 5.666 GB, free: 22.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01459/20.55, allocations: 3.242 MB / 5.669 GB, free: 21.27 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 164 * 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.01641/20.56, allocations: 4.234 MB / 5.673 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01757/20.58, allocations: 5.081 MB / 5.678 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/20.58, allocations: 5.125 kB / 5.678 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005107/20.58, allocations: 1.447 MB / 5.68 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/20.6, allocations: 1.265 MB / 5.681 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/20.61, allocations: 5.485 MB / 5.686 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/20.61, allocations: 1.715 MB / 5.688 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002815/20.62, allocations: 329 kB / 5.688 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of SimCode: time 1.803e-06/20.62, allocations: 0 / 5.688 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of Templates: time 0.7305/21.35, allocations: 91.88 MB / 5.778 GB, free: 55.77 MB / 0.6199 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches