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.001163/0.001163, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.49/1.49, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008167/0.0008167, allocations: 88.91 kB / 271.9 MB, free: 8.254 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.3309/0.3309, allocations: 43.56 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003816, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.266/7.38, allocations: 3.633 GB / 4.113 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/7.381, allocations: 89.73 kB / 4.113 GB, free: 29.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.406/12.79, allocations: 1.452 GB / 5.565 GB, free: 31.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.026e-06/12.79, allocations: 0 / 5.565 GB, free: 31.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003859/12.79, allocations: 69.98 kB / 5.565 GB, free: 31.36 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.029/12.82, allocations: 7.516 MB / 5.573 GB, free: 26.99 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/12.82, allocations: 6.969 kB / 5.573 GB, free: 26.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/12.82, allocations: 285.6 kB / 5.573 GB, free: 26.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/12.82, allocations: 1.623 MB / 5.575 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/12.82, allocations: 146.6 kB / 5.575 GB, free: 26.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/12.82, allocations: 190.5 kB / 5.575 GB, free: 26.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007733/12.83, allocations: 3.174 MB / 5.578 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.187e-05/12.83, allocations: 4 kB / 5.578 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/12.83, allocations: 83.95 kB / 5.578 GB, free: 24.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/12.83, allocations: 183.7 kB / 5.578 GB, free: 24.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005528/12.84, allocations: 3.527 MB / 5.582 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02025/12.86, allocations: 12.06 MB / 5.594 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/12.86, allocations: 1.821 MB / 5.595 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/12.86, allocations: 1.158 MB / 5.596 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/12.87, allocations: 3.327 MB / 5.6 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/12.87, allocations: 59.81 kB / 5.6 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002179/12.87, allocations: 365.4 kB / 5.6 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 7.364e-06/12.87, allocations: 0 / 5.6 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.03139/12.9, allocations: 9.594 MB / 5.609 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/12.9, allocations: 201.9 kB / 5.61 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/12.9, allocations: 2.018 MB / 5.612 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005421/12.9, allocations: 65.7 kB / 5.612 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008619/12.9, allocations: 0.9625 MB / 5.613 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009222/12.91, allocations: 0.5853 MB / 5.613 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/12.91, allocations: 48 kB / 5.613 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002346/12.91, allocations: 382.2 kB / 5.614 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/12.91, allocations: 1.324 MB / 5.615 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/12.91, allocations: 1.675 MB / 5.617 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3915/13.3, allocations: 2.943 MB / 5.619 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/13.3, allocations: 3.438 kB / 5.619 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01197/13.32, allocations: 4.278 MB / 5.624 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002061/13.32, allocations: 375.1 kB / 5.624 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/13.32, allocations: 7.469 kB / 5.624 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006876/13.32, allocations: 1.33 MB / 5.625 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/13.33, allocations: 0.5017 MB / 5.626 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/13.33, allocations: 2.138 MB / 5.628 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/13.33, allocations: 194.9 kB / 5.628 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005618/13.33, allocations: 171.4 kB / 5.628 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/13.33, allocations: 1.625 kB / 5.628 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007568/13.34, allocations: 3.62 MB / 5.632 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/13.34, allocations: 8.375 kB / 5.632 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004518/13.34, allocations: 0.9756 MB / 5.633 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/13.35, allocations: 0.5118 MB / 5.633 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/13.35, allocations: 1.933 MB / 5.635 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/13.35, allocations: 185.6 kB / 5.635 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000496/13.35, allocations: 163.8 kB / 5.635 GB, free: 46.28 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 () * 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.001619/13.35, allocations: 0.6327 MB / 5.636 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/13.36, allocations: 226.8 kB / 5.636 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007805/13.36, allocations: 4.208 MB / 5.64 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/13.36, allocations: 20 kB / 5.64 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/13.36, allocations: 0 / 5.64 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/13.36, allocations: 10.08 kB / 5.64 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/13.37, allocations: 6.069 MB / 5.646 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/13.37, allocations: 5.469 kB / 5.646 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/13.38, allocations: 345.4 kB / 5.647 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005426/13.38, allocations: 1.178 MB / 5.648 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/13.38, allocations: 79.53 kB / 5.648 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/13.38, allocations: 2.069 MB / 5.65 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/13.38, allocations: 7.938 kB / 5.65 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008303/13.39, allocations: 4.821 MB / 5.655 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/13.39, allocations: 365.8 kB / 5.655 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/13.39, allocations: 45.94 kB / 5.655 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/13.4, allocations: 165 kB / 5.655 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/13.4, allocations: 150.8 kB / 5.655 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002685/13.4, allocations: 135.2 kB / 5.655 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002002/13.4, allocations: 1.413 MB / 5.657 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/13.4, allocations: 0.5938 kB / 5.657 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01286/13.41, allocations: 3.242 MB / 5.66 GB, free: 43.47 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,4 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01461/13.43, allocations: 4.237 MB / 5.664 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01043/13.44, allocations: 5.08 MB / 5.669 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/13.44, allocations: 4.281 kB / 5.669 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/13.44, allocations: 1.457 MB / 5.671 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006973/13.45, allocations: 1.273 MB / 5.672 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/13.45, allocations: 5.5 MB / 5.677 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/13.45, allocations: 1.672 MB / 5.679 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/13.46, allocations: 324.9 kB / 5.679 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of SimCode: time 8.21e-07/13.46, allocations: 2.625 kB / 5.679 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.1172/13.57, allocations: 90.91 MB / 5.768 GB, free: 33.16 MB / 0.6042 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