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.000821/0.0008211, allocations: 168.2 kB / 16.1 MB, free: 5.695 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.177/1.177, allocations: 205 MB / 221.9 MB, free: 9.148 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.0007029/0.0007029, allocations: 84.95 kB / 269.9 MB, free: 8.668 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.5983/0.5983, allocations: 90.52 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002723, allocations: 11.94 kB / 484.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2259, allocations: 65.81 MB / 0.5378 GB, free: 34.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1204/0.3464, allocations: 143.2 MB / 0.6776 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.3494, allocations: 3.107 MB / 0.6806 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3495, allocations: 7.938 kB / 0.6806 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.35, allocations: 187 kB / 0.6808 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005546/0.3506, allocations: 342.1 kB / 0.6811 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.3513, allocations: 398.6 kB / 0.6815 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.3519, allocations: 0.8133 MB / 0.6823 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3521, allocations: 100.1 kB / 0.6824 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.3527, allocations: 422.2 kB / 0.6828 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.353, allocations: 290.9 kB / 0.6831 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.3531, allocations: 16 kB / 0.6831 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009402/0.354, allocations: 0.686 MB / 0.6838 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.3541, allocations: 51.64 kB / 0.6838 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3543, allocations: 171.1 kB / 0.684 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.355, allocations: 481 kB / 0.6844 GB, free: 224 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.355, allocations: 4 kB / 0.6844 GB, free: 220 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.355, allocations: 0 / 0.6844 GB, free: 220 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.355, allocations: 0 / 0.6844 GB, free: 220 kB / 0.4948 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.173/0.528, allocations: 0.643 MB / 0.6851 GB, free: 145 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.528, allocations: 9.797 kB / 0.6851 GB, free: 145 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.5281, allocations: 43.16 kB / 0.6851 GB, free: 145 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.5284, allocations: 292.4 kB / 0.6854 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.5285, allocations: 20.84 kB / 0.6854 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.5285, allocations: 25.66 kB / 0.6854 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.529, allocations: 311.4 kB / 0.6857 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5291, allocations: 0 / 0.6857 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.5291, allocations: 10.09 kB / 0.6858 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5291, allocations: 9.453 kB / 0.6858 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.5296, allocations: 219.8 kB / 0.686 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.531, allocations: 1.554 MB / 0.6875 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.5315, allocations: 250.8 kB / 0.6877 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.5317, allocations: 110.4 kB / 0.6878 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/0.5323, allocations: 468.8 kB / 0.6883 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.5323, allocations: 39.3 kB / 0.6883 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.5323, allocations: 0 / 0.6883 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0009319/0.5333, allocations: 463.5 kB / 0.6888 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.5333, allocations: 105.9 kB / 0.6889 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.5336, allocations: 294.2 kB / 0.6891 GB, free: 142 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.5336, allocations: 30.73 kB / 0.6892 GB, free: 142 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.5337, allocations: 198.7 kB / 0.6894 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.5337, allocations: 81.7 kB / 0.6894 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.5337, allocations: 11.12 kB / 0.6895 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.5338, allocations: 339 kB / 0.6898 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.534, allocations: 91.28 kB / 0.6899 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.5342, allocations: 156.3 kB / 0.69 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.5346, allocations: 251.6 kB / 0.6903 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5346, allocations: 0.75 kB / 0.6903 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005673/0.5352, allocations: 324.9 kB / 0.6906 GB, free: 141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5352, allocations: 5.656 kB / 0.6906 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5352, allocations: 6.406 kB / 0.6906 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.5354, allocations: 27.14 kB / 0.6906 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.5356, allocations: 55.28 kB / 0.6907 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006603/0.5362, allocations: 1.291 MB / 0.6919 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.5364, allocations: 32.73 kB / 0.6919 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.5365, allocations: 12.47 kB / 0.692 GB, free: 139.7 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.5366, allocations: 153.1 kB / 0.6921 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.5367, allocations: 35.3 kB / 0.6921 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.5373, allocations: 311.7 kB / 0.6924 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.5373, allocations: 8.172 kB / 0.6924 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5374, allocations: 5.5 kB / 0.6924 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5374, allocations: 1.406 kB / 0.6924 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.5378, allocations: 351.5 kB / 0.6928 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5378, allocations: 0.75 kB / 0.6928 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.538, allocations: 44.66 kB / 0.6928 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.511e-05/0.5381, allocations: 19.08 kB / 0.6928 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.5381, allocations: 7.828 kB / 0.6929 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005437/0.5387, allocations: 1.295 MB / 0.6941 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5387, allocations: 0.9688 kB / 0.6941 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.5394, allocations: 0.6388 MB / 0.6947 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.5394, allocations: 110.5 kB / 0.6948 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.5395, allocations: 6.906 kB / 0.6949 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.5397, allocations: 24.59 kB / 0.6949 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.5398, allocations: 14.98 kB / 0.6949 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5398, allocations: 10.31 kB / 0.6949 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001691/0.54, allocations: 212.1 kB / 0.6951 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/0.54, allocations: 4 kB / 0.6951 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004591/0.5405, allocations: 105.6 kB / 0.6952 GB, free: 137 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002668/0.5407, allocations: 203.1 kB / 0.6954 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006871/0.5414, allocations: 375.7 kB / 0.6958 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5415, allocations: 0.7812 kB / 0.6958 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.5418, allocations: 263.6 kB / 0.696 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.5426, allocations: 79.33 kB / 0.6961 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.5439, allocations: 0.9097 MB / 0.697 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.5442, allocations: 0.7811 MB / 0.6977 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.5442, allocations: 25.06 kB / 0.6978 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of SimCode: time 2.01e-07/0.5442, allocations: 384 / 0.6978 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.007045/0.5513, allocations: 6.525 MB / 0.7041 GB, free: 132.4 MB / 0.4948 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