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.001189/0.001189, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.645/1.645, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009913/0.0009912, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2061/0.2061, allocations: 43.57 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004705, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.53/9.706, allocations: 3.633 GB / 4.112 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/9.706, allocations: 86.73 kB / 4.112 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.428/17.13, allocations: 1.464 GB / 5.576 GB, free: 31.65 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.977e-06/17.13, allocations: 4.438 kB / 5.576 GB, free: 31.65 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004728/17.13, allocations: 56.2 kB / 5.576 GB, free: 31.64 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.04943/17.18, allocations: 7.547 MB / 5.584 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/17.18, allocations: 9.438 kB / 5.584 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/17.19, allocations: 288.9 kB / 5.584 GB, free: 27.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007326/17.19, allocations: 1.581 MB / 5.585 GB, free: 27.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/17.19, allocations: 145 kB / 5.586 GB, free: 27.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/17.2, allocations: 182.5 kB / 5.586 GB, free: 27.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/17.21, allocations: 3.156 MB / 5.589 GB, free: 27.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/17.21, allocations: 1.156 kB / 5.589 GB, free: 27.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001309/17.21, allocations: 84.62 kB / 5.589 GB, free: 27.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003929/17.21, allocations: 185 kB / 5.589 GB, free: 27.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/17.22, allocations: 3.529 MB / 5.593 GB, free: 27.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03879/17.26, allocations: 12.16 MB / 5.604 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/17.27, allocations: 1.811 MB / 5.606 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/17.27, allocations: 1.683 MB / 5.608 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.825e-05/17.27, allocations: 54.59 kB / 5.608 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003163/17.27, allocations: 371.2 kB / 5.608 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 1.554e-05/17.27, allocations: 0 / 5.608 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.03904/17.31, allocations: 9.496 MB / 5.618 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/17.31, allocations: 197.8 kB / 5.618 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/17.32, allocations: 1.804 MB / 5.619 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001106/17.32, allocations: 64.23 kB / 5.62 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/17.32, allocations: 0.9675 MB / 5.62 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/17.32, allocations: 0.5835 MB / 5.621 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008795/17.32, allocations: 43.66 kB / 5.621 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003856/17.32, allocations: 397.9 kB / 5.621 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004077/17.33, allocations: 1.316 MB / 5.623 GB, free: 18.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004323/17.33, allocations: 1.66 MB / 5.624 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/17.33, allocations: 1.562 MB / 5.626 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.889e-05/17.33, allocations: 3.312 kB / 5.626 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01584/17.35, allocations: 4.269 MB / 5.63 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001345/17.35, allocations: 3.056 MB / 5.633 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.556e-05/17.35, allocations: 9.281 kB / 5.633 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008299/17.36, allocations: 1.329 MB / 5.634 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/17.36, allocations: 0.5026 MB / 5.635 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/17.37, allocations: 2.143 MB / 5.637 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005793/17.37, allocations: 194.4 kB / 5.637 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/17.38, allocations: 168.1 kB / 5.637 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/17.38, allocations: 3.062 kB / 5.637 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01471/17.39, allocations: 3.617 MB / 5.641 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.434e-05/17.39, allocations: 6.344 kB / 5.641 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005862/17.4, allocations: 0.9747 MB / 5.642 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/17.4, allocations: 0.5029 MB / 5.642 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/17.4, allocations: 1.936 MB / 5.644 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/17.41, allocations: 183.4 kB / 5.644 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/17.41, allocations: 164.5 kB / 5.645 GB, free: 11.95 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.003761/17.41, allocations: 0.6356 MB / 5.645 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001866/17.42, allocations: 226.8 kB / 5.645 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/17.43, allocations: 4.228 MB / 5.649 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/17.43, allocations: 19.97 kB / 5.649 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/17.43, allocations: 0 / 5.649 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-05/17.43, allocations: 10.27 kB / 5.65 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/17.45, allocations: 6.097 MB / 5.655 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/17.45, allocations: 3.312 kB / 5.655 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/17.45, allocations: 338.9 kB / 5.656 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006648/17.46, allocations: 1.176 MB / 5.657 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003806/17.46, allocations: 80.56 kB / 5.657 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/17.46, allocations: 2.06 MB / 5.659 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/17.46, allocations: 6.156 kB / 5.659 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/17.47, allocations: 5.097 MB / 5.664 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/17.48, allocations: 361.2 kB / 5.664 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/17.48, allocations: 40.81 kB / 5.664 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003668/17.48, allocations: 164.6 kB / 5.665 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004324/17.48, allocations: 148.2 kB / 5.665 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005902/17.48, allocations: 139.4 kB / 5.665 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003918/17.49, allocations: 1.416 MB / 5.666 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.31e-07/17.49, allocations: 2.844 kB / 5.666 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01983/17.51, allocations: 3.241 MB / 5.669 GB, free: 7.922 MB / 0.5886 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.02/17.53, allocations: 4.232 MB / 5.674 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01975/17.55, allocations: 5.09 MB / 5.678 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-05/17.55, allocations: 5.188 kB / 5.678 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004243/17.55, allocations: 1.451 MB / 5.68 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00844/17.56, allocations: 1.253 MB / 5.681 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/17.57, allocations: 5.358 MB / 5.686 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/17.58, allocations: 1.719 MB / 5.688 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.008524/17.59, allocations: 1.212 MB / 5.689 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002087/17.59, allocations: 283.5 kB / 5.689 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of SimCode: time 2.865e-06/17.59, allocations: 0 / 5.689 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of Templates: time 0.8901/18.48, allocations: 110.6 MB / 5.797 GB, free: 52.79 MB / 0.6198 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