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.001166/0.001166, allocations: 177 kB / 16.76 MB, free: 4.941 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.614/1.614, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007731/0.0007733, allocations: 92.78 kB / 271.3 MB, free: 8.242 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.387/0.387, allocations: 43.57 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 15.98 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 58.83 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.867/8.005, allocations: 3.633 GB / 4.113 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/8.005, allocations: 87.95 kB / 4.113 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.88/13.89, allocations: 1.452 GB / 5.565 GB, free: 32.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.645e-06/13.89, allocations: 0 / 5.565 GB, free: 32.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002869/13.89, allocations: 68.42 kB / 5.565 GB, free: 32.08 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.03376/13.92, allocations: 7.515 MB / 5.573 GB, free: 27.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.711e-05/13.92, allocations: 11.31 kB / 5.573 GB, free: 27.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/13.92, allocations: 282.5 kB / 5.573 GB, free: 27.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005272/13.93, allocations: 1.626 MB / 5.575 GB, free: 26.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/13.93, allocations: 156.2 kB / 5.575 GB, free: 26.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/13.93, allocations: 179.6 kB / 5.575 GB, free: 26.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008961/13.94, allocations: 3.181 MB / 5.578 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/13.94, allocations: 0 / 5.578 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004253/13.94, allocations: 79.97 kB / 5.578 GB, free: 24.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002574/13.94, allocations: 180.9 kB / 5.578 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005883/13.95, allocations: 3.537 MB / 5.582 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02135/13.97, allocations: 12.07 MB / 5.594 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/13.97, allocations: 1.813 MB / 5.595 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/13.97, allocations: 1.157 MB / 5.596 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003167/13.97, allocations: 3.321 MB / 5.6 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.846e-05/13.97, allocations: 59.88 kB / 5.6 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002832/13.98, allocations: 369.4 kB / 5.6 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 6.261e-06/13.98, allocations: 0 / 5.6 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.03396/14.01, allocations: 9.603 MB / 5.61 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/14.01, allocations: 197.9 kB / 5.61 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/14.02, allocations: 2.017 MB / 5.612 GB, free: 7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0008647/14.02, allocations: 61.7 kB / 5.612 GB, free: 6.934 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/14.02, allocations: 0.9663 MB / 5.613 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/14.02, allocations: 0.5892 MB / 5.613 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005413/14.02, allocations: 48 kB / 5.613 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003053/14.02, allocations: 386.2 kB / 5.614 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/14.02, allocations: 1.324 MB / 5.615 GB, free: 3.598 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/14.03, allocations: 1.675 MB / 5.617 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4909/14.52, allocations: 2.943 MB / 5.619 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-05/14.52, allocations: 3.859 kB / 5.619 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01215/14.53, allocations: 4.275 MB / 5.624 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/14.53, allocations: 379.1 kB / 5.624 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/14.53, allocations: 7.016 kB / 5.624 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007016/14.54, allocations: 1.321 MB / 5.625 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/14.54, allocations: 0.5048 MB / 5.626 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/14.54, allocations: 2.139 MB / 5.628 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/14.55, allocations: 197.5 kB / 5.628 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008822/14.55, allocations: 163.6 kB / 5.628 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/14.55, allocations: 3.375 kB / 5.628 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009682/14.56, allocations: 3.619 MB / 5.632 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/14.56, allocations: 8.641 kB / 5.632 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004801/14.56, allocations: 0.9743 MB / 5.633 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/14.57, allocations: 0.5094 MB / 5.633 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/14.57, allocations: 1.926 MB / 5.635 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/14.57, allocations: 191.8 kB / 5.635 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006431/14.57, allocations: 168.7 kB / 5.635 GB, free: 46.87 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.00221/14.57, allocations: 0.6301 MB / 5.636 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009618/14.57, allocations: 229.1 kB / 5.636 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009529/14.58, allocations: 4.209 MB / 5.64 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/14.58, allocations: 19.66 kB / 5.64 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/14.58, allocations: 1.969 kB / 5.64 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.581e-05/14.58, allocations: 10.36 kB / 5.64 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/14.6, allocations: 6.061 MB / 5.646 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/14.6, allocations: 2.938 kB / 5.646 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/14.6, allocations: 343.6 kB / 5.647 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005726/14.6, allocations: 1.183 MB / 5.648 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005543/14.61, allocations: 83.75 kB / 5.648 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/14.61, allocations: 2.058 MB / 5.65 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/14.61, allocations: 8.688 kB / 5.65 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/14.62, allocations: 4.828 MB / 5.655 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/14.62, allocations: 363.9 kB / 5.655 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/14.62, allocations: 48.17 kB / 5.655 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/14.63, allocations: 164.5 kB / 5.655 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/14.63, allocations: 154.3 kB / 5.655 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005068/14.63, allocations: 134.2 kB / 5.655 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00325/14.63, allocations: 1.413 MB / 5.657 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/14.63, allocations: 2.219 kB / 5.657 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01784/14.65, allocations: 3.238 MB / 5.66 GB, free: 44.07 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.01854/14.67, allocations: 4.236 MB / 5.664 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01403/14.68, allocations: 5.085 MB / 5.669 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.23e-05/14.68, allocations: 5.312 kB / 5.669 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/14.68, allocations: 1.451 MB / 5.671 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/14.69, allocations: 1.283 MB / 5.672 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/14.71, allocations: 5.358 MB / 5.677 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/14.71, allocations: 1.677 MB / 5.679 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.008533/14.72, allocations: 1.236 MB / 5.68 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/14.72, allocations: 267.2 kB / 5.68 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of SimCode: time 1.824e-06/14.72, allocations: 0 / 5.68 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.1807/14.9, allocations: 112 MB / 5.789 GB, free: 24.64 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/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_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches