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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-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.001701/0.001701, allocations: 174.9 kB / 12.73 MB, free: 2.59 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.473/1.473, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008334/0.0008335, allocations: 86.59 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8075/0.8075, allocations: 90.35 MB / 405 MB, free: 8.625 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.508e-05, allocations: 0 / 479.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3992, allocations: 66.25 MB / 0.5326 GB, free: 28.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.503, allocations: 432.9 MB / 0.9553 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.504, allocations: 82.86 kB / 0.9554 GB, free: 158.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1575/1.661, allocations: 87.24 MB / 1.041 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/1.661, allocations: 0 / 1.041 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.714e-05/1.661, allocations: 11.98 kB / 1.041 GB, free: 108.2 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.001133/1.662, allocations: 0.6581 MB / 1.041 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.662, allocations: 12.03 kB / 1.041 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/1.662, allocations: 39.53 kB / 1.041 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/1.663, allocations: 294.3 kB / 1.042 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/1.663, allocations: 28.48 kB / 1.042 GB, free: 107 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/1.663, allocations: 24 kB / 1.042 GB, free: 107 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/1.663, allocations: 284.2 kB / 1.042 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.663, allocations: 0 / 1.042 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/1.663, allocations: 8 kB / 1.042 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/1.663, allocations: 8 kB / 1.042 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/1.664, allocations: 172.3 kB / 1.042 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/1.665, allocations: 1.582 MB / 1.044 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/1.665, allocations: 239.8 kB / 1.044 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.666, allocations: 94.69 kB / 1.044 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/1.666, allocations: 449.5 kB / 1.044 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.666, allocations: 50.48 kB / 1.044 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/1.666, allocations: 0 / 1.044 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0004838/1.667, allocations: 242.1 kB / 1.045 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/1.667, allocations: 102.8 kB / 1.045 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/1.667, allocations: 258.7 kB / 1.045 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/1.667, allocations: 25.7 kB / 1.045 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/1.667, allocations: 200.2 kB / 1.045 GB, free: 103 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/1.667, allocations: 86.73 kB / 1.045 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/1.667, allocations: 4 kB / 1.045 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/1.667, allocations: 346.8 kB / 1.046 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/1.667, allocations: 68.22 kB / 1.046 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/1.667, allocations: 126.4 kB / 1.046 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/1.667, allocations: 83.97 kB / 1.046 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.667, allocations: 0 / 1.046 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003866/1.668, allocations: 293.8 kB / 1.046 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.668, allocations: 4 kB / 1.046 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.668, allocations: 4.125 kB / 1.046 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/1.668, allocations: 24.84 kB / 1.046 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/1.668, allocations: 51.91 kB / 1.046 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006506/1.669, allocations: 1.288 MB / 1.048 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/1.669, allocations: 35.67 kB / 1.048 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/1.669, allocations: 12.12 kB / 1.048 GB, free: 100.4 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 () * 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 6.624e-05/1.669, allocations: 116.9 kB / 1.048 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/1.669, allocations: 35.58 kB / 1.048 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/1.67, allocations: 281.2 kB / 1.048 GB, free: 99.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.67, allocations: 7.984 kB / 1.048 GB, free: 99.92 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/1.67, allocations: 0 / 1.048 GB, free: 99.92 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.67, allocations: 0 / 1.048 GB, free: 99.92 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/1.67, allocations: 361.2 kB / 1.048 GB, free: 99.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.67, allocations: 0 / 1.048 GB, free: 99.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/1.67, allocations: 35.98 kB / 1.048 GB, free: 99.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.997e-05/1.67, allocations: 24.84 kB / 1.048 GB, free: 99.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/1.67, allocations: 7.984 kB / 1.048 GB, free: 99.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005769/1.671, allocations: 1.295 MB / 1.05 GB, free: 98.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.671, allocations: 0 / 1.05 GB, free: 98.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/1.671, allocations: 0.5907 MB / 1.05 GB, free: 97.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/1.671, allocations: 120.7 kB / 1.05 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/1.672, allocations: 4 kB / 1.05 GB, free: 97.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/1.672, allocations: 19.84 kB / 1.05 GB, free: 97.24 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/1.672, allocations: 23.97 kB / 1.05 GB, free: 97.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/1.672, allocations: 7.984 kB / 1.05 GB, free: 97.21 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001349/1.672, allocations: 206.2 kB / 1.051 GB, free: 97.01 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/1.672, allocations: 0 / 1.051 GB, free: 97.01 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004994/1.673, allocations: 123.8 kB / 1.051 GB, free: 96.89 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 () * 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.0003732/1.673, allocations: 310.7 kB / 1.051 GB, free: 96.58 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004553/1.673, allocations: 340.9 kB / 1.051 GB, free: 96.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.673, allocations: 0 / 1.051 GB, free: 96.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/1.674, allocations: 244.5 kB / 1.052 GB, free: 95.97 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/1.674, allocations: 81.44 kB / 1.052 GB, free: 95.89 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/1.675, allocations: 0.5878 MB / 1.052 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/1.675, allocations: 0.7836 MB / 1.053 GB, free: 94.46 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001347/1.675, allocations: 45.98 kB / 1.053 GB, free: 94.42 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/1.675, allocations: 23.44 kB / 1.053 GB, free: 94.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.21e-07/1.675, allocations: 0 / 1.053 GB, free: 94.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.01023/1.686, allocations: 6.796 MB / 1.06 GB, free: 87.63 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