Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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/ThermofluidStream 0.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/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(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008545/0.0008546, allocations: 175.2 kB / 16.12 MB, free: 5.699 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.318/1.318, allocations: 205.4 MB / 222.3 MB, free: 9.035 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.000761/0.0007609, allocations: 91.91 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6717/0.6717, allocations: 89.62 MB / 408.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003531, allocations: 12 kB / 485.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3002, allocations: 66 MB / 0.5383 GB, free: 34.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8994/1.2, allocations: 432.8 MB / 0.961 GB, free: 194.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.2, allocations: 87.94 kB / 0.9611 GB, free: 194.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1541/1.354, allocations: 86.75 MB / 1.046 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.365e-06/1.354, allocations: 0 / 1.046 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.478e-05/1.354, allocations: 8 kB / 1.046 GB, free: 106.7 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001321/1.355, allocations: 0.7014 MB / 1.046 GB, free: 106 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.356, allocations: 8.031 kB / 1.046 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.894e-05/1.356, allocations: 40.47 kB / 1.047 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/1.356, allocations: 315.4 kB / 1.047 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.356, allocations: 20.94 kB / 1.047 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/1.356, allocations: 24.38 kB / 1.047 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/1.357, allocations: 308.1 kB / 1.047 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.357, allocations: 4 kB / 1.047 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/1.357, allocations: 12 kB / 1.047 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/1.357, allocations: 11.98 kB / 1.047 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/1.357, allocations: 215.8 kB / 1.047 GB, free: 105 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/1.359, allocations: 1.573 MB / 1.049 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/1.359, allocations: 251.8 kB / 1.049 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/1.359, allocations: 110.7 kB / 1.049 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/1.36, allocations: 457.4 kB / 1.05 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/1.36, allocations: 50.55 kB / 1.05 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 2.195e-06/1.36, allocations: 0 / 1.05 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0009605/1.361, allocations: 459 kB / 1.05 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.361, allocations: 102.8 kB / 1.05 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/1.361, allocations: 288.6 kB / 1.051 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/1.361, allocations: 37.8 kB / 1.051 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/1.361, allocations: 196 kB / 1.051 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/1.361, allocations: 82.75 kB / 1.051 GB, free: 101 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/1.361, allocations: 4 kB / 1.051 GB, free: 101 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/1.361, allocations: 342.8 kB / 1.051 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/1.361, allocations: 92.19 kB / 1.051 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/1.362, allocations: 150.4 kB / 1.051 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/1.362, allocations: 245.8 kB / 1.052 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.362, allocations: 0 / 1.052 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005782/1.363, allocations: 330.1 kB / 1.052 GB, free: 99.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.363, allocations: 16.06 kB / 1.052 GB, free: 99.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.363, allocations: 0 / 1.052 GB, free: 99.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/1.363, allocations: 24.84 kB / 1.052 GB, free: 99.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/1.363, allocations: 55.91 kB / 1.052 GB, free: 99.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007541/1.364, allocations: 1.288 MB / 1.053 GB, free: 98.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/1.364, allocations: 43.86 kB / 1.053 GB, free: 98.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/1.364, allocations: 8 kB / 1.053 GB, free: 98.23 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/1.364, allocations: 145.8 kB / 1.054 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/1.364, allocations: 31.62 kB / 1.054 GB, free: 98.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006506/1.365, allocations: 325.3 kB / 1.054 GB, free: 97.72 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.365, allocations: 4 kB / 1.054 GB, free: 97.71 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/1.365, allocations: 4 kB / 1.054 GB, free: 97.71 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.365, allocations: 4 kB / 1.054 GB, free: 97.71 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/1.365, allocations: 349.3 kB / 1.054 GB, free: 97.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.365, allocations: 0 / 1.054 GB, free: 97.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/1.366, allocations: 43.92 kB / 1.054 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.002e-05/1.366, allocations: 24.83 kB / 1.054 GB, free: 97.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/1.366, allocations: 4 kB / 1.054 GB, free: 97.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006325/1.366, allocations: 1.291 MB / 1.056 GB, free: 95.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.366, allocations: 0 / 1.056 GB, free: 95.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/1.367, allocations: 0.6409 MB / 1.056 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/1.367, allocations: 100.7 kB / 1.056 GB, free: 95.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/1.367, allocations: 11.94 kB / 1.056 GB, free: 95.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/1.367, allocations: 15.97 kB / 1.056 GB, free: 95.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/1.368, allocations: 24.09 kB / 1.056 GB, free: 94.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/1.368, allocations: 12 kB / 1.056 GB, free: 94.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001455/1.368, allocations: 207.1 kB / 1.057 GB, free: 94.78 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/1.368, allocations: 0 / 1.057 GB, free: 94.78 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005295/1.368, allocations: 119.8 kB / 1.057 GB, free: 94.66 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_rear.fore.m_flow,terminal_rear.p,terminal_fore.p) * 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 (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004279/1.369, allocations: 309.1 kB / 1.057 GB, free: 94.35 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006396/1.369, allocations: 375.7 kB / 1.057 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.369, allocations: 4 kB / 1.057 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/1.37, allocations: 268.1 kB / 1.058 GB, free: 93.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/1.37, allocations: 72.98 kB / 1.058 GB, free: 93.61 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/1.372, allocations: 0.9245 MB / 1.059 GB, free: 92.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/1.372, allocations: 0.7797 MB / 1.059 GB, free: 91.85 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001649/1.372, allocations: 46.16 kB / 1.059 GB, free: 91.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/1.372, allocations: 23.44 kB / 1.059 GB, free: 91.78 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/1.372, allocations: 384 / 1.059 GB, free: 91.78 MB / 0.5886 GB Notification: Performance of Templates: time 0.01044/1.382, allocations: 6.542 MB / 1.066 GB, free: 85.29 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches