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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002928/0.002928, allocations: 179.9 kB / 7.458 MB, free: 2.496 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.073/1.073, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0008082/0.0008081, allocations: 92.31 kB / 261.1 MB, free: 13.54 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.5718/0.5718, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.702e-06, allocations: 0 / 471.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3265, allocations: 66.25 MB / 0.5253 GB, free: 28.94 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9129/1.239, allocations: 432.1 MB / 0.9473 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.24, allocations: 80.44 kB / 0.9474 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.1627/1.403, allocations: 87.14 MB / 1.032 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.363e-05/1.403, allocations: 8 kB / 1.032 GB, free: 119.3 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.001441/1.404, allocations: 0.6736 MB / 1.033 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.404, allocations: 8.031 kB / 1.033 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.197e-05/1.404, allocations: 39.53 kB / 1.033 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/1.405, allocations: 306.8 kB / 1.033 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/1.405, allocations: 8 kB / 1.033 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/1.405, allocations: 12 kB / 1.033 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003081/1.405, allocations: 161.1 kB / 1.034 GB, free: 118 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/1.405, allocations: 248.7 kB / 1.034 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.405, allocations: 3.938 kB / 1.034 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/1.406, allocations: 3.984 kB / 1.034 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.406, allocations: 8 kB / 1.034 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.407, allocations: 1.519 MB / 1.035 GB, free: 116 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/1.407, allocations: 162.1 kB / 1.036 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/1.407, allocations: 90.72 kB / 1.036 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/1.408, allocations: 461.5 kB / 1.036 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/1.408, allocations: 38.56 kB / 1.036 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/1.408, allocations: 0 / 1.036 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0007862/1.409, allocations: 301.9 kB / 1.036 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/1.409, allocations: 106.8 kB / 1.036 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/1.409, allocations: 223.5 kB / 1.037 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/1.409, allocations: 29.7 kB / 1.037 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/1.409, allocations: 152.1 kB / 1.037 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/1.409, allocations: 86.75 kB / 1.037 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/1.409, allocations: 0 / 1.037 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.616e-05/1.409, allocations: 338.8 kB / 1.037 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/1.409, allocations: 64.22 kB / 1.037 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/1.409, allocations: 123.6 kB / 1.037 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/1.41, allocations: 160 kB / 1.038 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.41, allocations: 3.938 kB / 1.038 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006406/1.41, allocations: 349.9 kB / 1.038 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.41, allocations: 4 kB / 1.038 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.41, allocations: 0 / 1.038 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/1.411, allocations: 28.75 kB / 1.038 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/1.411, allocations: 56.03 kB / 1.038 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007109/1.411, allocations: 1.229 MB / 1.039 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/1.412, allocations: 31.92 kB / 1.039 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/1.412, allocations: 20.09 kB / 1.039 GB, free: 111.7 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 7.451e-05/1.412, allocations: 108.7 kB / 1.039 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/1.412, allocations: 31.62 kB / 1.039 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007759/1.413, allocations: 367.6 kB / 1.04 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.413, allocations: 4 kB / 1.04 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.413, allocations: 128 / 1.04 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.413, allocations: 3.984 kB / 1.04 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/1.413, allocations: 309.9 kB / 1.04 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.413, allocations: 0 / 1.04 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/1.413, allocations: 43.89 kB / 1.04 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.171e-05/1.413, allocations: 20.84 kB / 1.04 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/1.413, allocations: 7.984 kB / 1.04 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005863/1.414, allocations: 1.232 MB / 1.041 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.414, allocations: 0 / 1.041 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007632/1.415, allocations: 0.662 MB / 1.042 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/1.415, allocations: 104.7 kB / 1.042 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/1.415, allocations: 0 / 1.042 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/1.415, allocations: 15.98 kB / 1.042 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/1.415, allocations: 23.97 kB / 1.042 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/1.415, allocations: 4 kB / 1.042 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.000103/1.415, allocations: 175 kB / 1.042 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000499/1.416, allocations: 119.7 kB / 1.042 GB, free: 108.3 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.0004481/1.416, allocations: 319.2 kB / 1.043 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004583/1.417, allocations: 326.5 kB / 1.043 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.417, allocations: 0 / 1.043 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/1.417, allocations: 227.5 kB / 1.043 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/1.418, allocations: 62.23 kB / 1.043 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009856/1.419, allocations: 0.5671 MB / 1.044 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/1.419, allocations: 0.8218 MB / 1.045 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/1.419, allocations: 0 / 1.045 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.00914/1.428, allocations: 5.481 MB / 1.05 GB, free: 100.4 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