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.001435/0.001435, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0007952/0.0007954, allocations: 83.58 kB / 261.4 MB, free: 13.44 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.7238/0.7238, allocations: 90.36 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.923e-05, allocations: 4 kB / 472.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3816, allocations: 66.26 MB / 0.5258 GB, free: 29.08 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.509, allocations: 432.2 MB / 0.9479 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.509, allocations: 80.69 kB / 0.948 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1626/1.672, allocations: 86.78 MB / 1.033 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.262e-06/1.672, allocations: 0 / 1.033 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.346e-05/1.672, allocations: 7.984 kB / 1.033 GB, free: 120.8 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.0011/1.673, allocations: 0.6659 MB / 1.033 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.673, allocations: 8.031 kB / 1.033 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/1.673, allocations: 39.53 kB / 1.033 GB, free: 120 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/1.673, allocations: 294.3 kB / 1.034 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/1.673, allocations: 8 kB / 1.034 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/1.673, allocations: 19.98 kB / 1.034 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00025/1.674, allocations: 157.1 kB / 1.034 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/1.674, allocations: 256.2 kB / 1.034 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.674, allocations: 0 / 1.034 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/1.674, allocations: 0 / 1.034 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/1.674, allocations: 11.98 kB / 1.034 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/1.675, allocations: 1.52 MB / 1.036 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/1.676, allocations: 223.8 kB / 1.036 GB, free: 117.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/1.676, allocations: 86.69 kB / 1.036 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/1.676, allocations: 457.4 kB / 1.036 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/1.676, allocations: 38.5 kB / 1.036 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 1.684e-06/1.676, allocations: 4 kB / 1.036 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.000736/1.677, allocations: 282.1 kB / 1.037 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/1.677, allocations: 106.8 kB / 1.037 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.677, allocations: 222.3 kB / 1.037 GB, free: 116 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/1.677, allocations: 29.69 kB / 1.037 GB, free: 116 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/1.677, allocations: 192.1 kB / 1.037 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/1.677, allocations: 82.75 kB / 1.037 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/1.677, allocations: 0 / 1.037 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.686e-05/1.677, allocations: 342.8 kB / 1.038 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/1.678, allocations: 64.22 kB / 1.038 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.678, allocations: 126.2 kB / 1.038 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/1.678, allocations: 147.8 kB / 1.038 GB, free: 115 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.678, allocations: 4 kB / 1.038 GB, free: 115 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006245/1.679, allocations: 325.8 kB / 1.038 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.679, allocations: 9.094 kB / 1.038 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.679, allocations: 128 / 1.038 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/1.679, allocations: 28.84 kB / 1.038 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/1.679, allocations: 51.91 kB / 1.038 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006331/1.68, allocations: 1.241 MB / 1.04 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/1.68, allocations: 27.98 kB / 1.04 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/1.68, allocations: 11.95 kB / 1.04 GB, free: 113.2 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.998e-05/1.68, allocations: 120.7 kB / 1.04 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/1.68, allocations: 31.61 kB / 1.04 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/1.681, allocations: 328.2 kB / 1.04 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.681, allocations: 8 kB / 1.04 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1.681, allocations: 0 / 1.04 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.681, allocations: 3.953 kB / 1.04 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/1.681, allocations: 301.9 kB / 1.04 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.681, allocations: 0 / 1.04 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/1.681, allocations: 47.91 kB / 1.04 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.886e-05/1.681, allocations: 28.78 kB / 1.04 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/1.682, allocations: 0 / 1.04 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005457/1.682, allocations: 1.241 MB / 1.042 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.682, allocations: 4.031 kB / 1.042 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/1.683, allocations: 0.6464 MB / 1.042 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/1.683, allocations: 112.7 kB / 1.042 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/1.683, allocations: 0 / 1.042 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/1.683, allocations: 15.94 kB / 1.042 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/1.683, allocations: 19.97 kB / 1.042 GB, free: 110 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/1.683, allocations: 11.98 kB / 1.042 GB, free: 110 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001031/1.683, allocations: 166 kB / 1.043 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/1.683, allocations: 0 / 1.043 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005193/1.684, allocations: 115.7 kB / 1.043 GB, free: 109.8 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.0003946/1.684, allocations: 339.4 kB / 1.043 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004268/1.685, allocations: 321.7 kB / 1.043 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.685, allocations: 4.25 kB / 1.043 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/1.685, allocations: 235.7 kB / 1.044 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/1.686, allocations: 60.86 kB / 1.044 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/1.686, allocations: 0.5673 MB / 1.044 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/1.687, allocations: 0.7914 MB / 1.045 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00013/1.687, allocations: 33.95 kB / 1.045 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/1.687, allocations: 23.42 kB / 1.045 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/1.687, allocations: 0 / 1.045 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.008381/1.695, allocations: 5.102 MB / 1.05 GB, free: 102.3 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