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.001086/0.001086, allocations: 182.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007799/0.0007801, allocations: 96.39 kB / 267 MB, free: 9.277 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.3606/0.3606, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.05e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.234/7.362, allocations: 3.633 GB / 4.106 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/7.363, allocations: 83.95 kB / 4.106 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.434/12.8, allocations: 1.462 GB / 5.568 GB, free: 32.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/12.8, allocations: 4 kB / 5.568 GB, free: 32.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001699/12.8, allocations: 62.02 kB / 5.568 GB, free: 32.8 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.03018/12.83, allocations: 7.284 MB / 5.575 GB, free: 28.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/12.83, allocations: 11.12 kB / 5.575 GB, free: 28.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/12.83, allocations: 281.9 kB / 5.575 GB, free: 28.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/12.83, allocations: 1.562 MB / 5.577 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/12.83, allocations: 151.2 kB / 5.577 GB, free: 27.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/12.83, allocations: 189.7 kB / 5.577 GB, free: 27.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004678/12.84, allocations: 3.08 MB / 5.58 GB, free: 27.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/12.84, allocations: 11.22 kB / 5.58 GB, free: 27.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/12.84, allocations: 83.8 kB / 5.58 GB, free: 27.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/12.84, allocations: 181.8 kB / 5.58 GB, free: 27.65 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/12.84, allocations: 3.392 MB / 5.583 GB, free: 27.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/12.86, allocations: 12.16 MB / 5.595 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/12.86, allocations: 1.755 MB / 5.597 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/12.86, allocations: 1.107 MB / 5.598 GB, free: 17.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/12.86, allocations: 1.69 MB / 5.6 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/12.86, allocations: 55.88 kB / 5.6 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002135/12.87, allocations: 371.7 kB / 5.6 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 4.569e-06/12.87, allocations: 0 / 5.6 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.01836/12.88, allocations: 7.396 MB / 5.607 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/12.88, allocations: 201.9 kB / 5.608 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/12.89, allocations: 1.783 MB / 5.609 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/12.89, allocations: 61.7 kB / 5.609 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/12.89, allocations: 0.9628 MB / 5.61 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/12.89, allocations: 0.5911 MB / 5.611 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/12.89, allocations: 44 kB / 5.611 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/12.89, allocations: 386.2 kB / 5.611 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/12.89, allocations: 1.219 MB / 5.613 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/12.89, allocations: 1.574 MB / 5.614 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/12.89, allocations: 1.473 MB / 5.615 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/12.89, allocations: 0 / 5.615 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.008725/12.9, allocations: 4.044 MB / 5.619 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/12.9, allocations: 3.056 MB / 5.622 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/12.9, allocations: 8 kB / 5.622 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006607/12.91, allocations: 1.23 MB / 5.624 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/12.91, allocations: 0.5016 MB / 5.624 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/12.92, allocations: 2.033 MB / 5.626 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/12.92, allocations: 195.7 kB / 5.626 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006035/12.92, allocations: 163.9 kB / 5.626 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/12.92, allocations: 4 kB / 5.626 GB, free: 6.902 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008048/12.93, allocations: 3.382 MB / 5.63 GB, free: 3.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/12.93, allocations: 8 kB / 5.63 GB, free: 3.492 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004543/12.93, allocations: 0.8828 MB / 5.631 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/12.94, allocations: 0.5033 MB / 5.631 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/12.94, allocations: 1.826 MB / 5.633 GB, free: 232 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/12.94, allocations: 183.8 kB / 5.633 GB, free: 48 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4326/13.37, allocations: 164.2 kB / 5.633 GB, free: 49.62 MB / 0.6042 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 () * 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.001039/13.38, allocations: 217.9 kB / 5.633 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007676/13.38, allocations: 225.8 kB / 5.634 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008799/13.38, allocations: 4.013 MB / 5.638 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/13.38, allocations: 18.88 kB / 5.638 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/13.38, allocations: 0 / 5.638 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/13.38, allocations: 10.41 kB / 5.638 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/13.4, allocations: 6.194 MB / 5.644 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/13.4, allocations: 5.438 kB / 5.644 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/13.4, allocations: 338.2 kB / 5.644 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005032/13.4, allocations: 1.079 MB / 5.645 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005631/13.41, allocations: 77.81 kB / 5.645 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/13.41, allocations: 1.931 MB / 5.647 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/13.41, allocations: 10.94 kB / 5.647 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007389/13.41, allocations: 4.793 MB / 5.652 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/13.42, allocations: 359.5 kB / 5.652 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003936/13.42, allocations: 46.8 kB / 5.652 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/13.42, allocations: 163.7 kB / 5.652 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/13.42, allocations: 157.1 kB / 5.652 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002913/13.42, allocations: 130.6 kB / 5.652 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002096/13.42, allocations: 1.394 MB / 5.654 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/13.42, allocations: 0 / 5.654 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01188/13.43, allocations: 3.239 MB / 5.657 GB, free: 46.61 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 (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.01365/13.45, allocations: 4.249 MB / 5.661 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009796/13.46, allocations: 4.87 MB / 5.666 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/13.46, allocations: 3.531 kB / 5.666 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00232/13.46, allocations: 1.36 MB / 5.667 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006097/13.46, allocations: 1.25 MB / 5.668 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/13.47, allocations: 3.749 MB / 5.672 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/13.47, allocations: 1.724 MB / 5.674 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.006058/13.48, allocations: 1.435 MB / 5.675 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009813/13.48, allocations: 263.5 kB / 5.675 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.333e-06/13.48, allocations: 0 / 5.675 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.1495/13.63, allocations: 119.1 MB / 5.792 GB, free: 32.94 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