Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.002062, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006867/0.0006867, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009137/0.0016, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.917/0.917, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0783/0.9953, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6536/0.6536, allocations: 118.7 MB / 362.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08244/0.736, allocations: 35.84 MB / 398.7 MB, free: 13.09 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.239e-05, allocations: 5.266 kB / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2821/0.2821, allocations: 130.3 MB / 0.5179 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2834, allocations: 1.079 MB / 0.5189 GB, free: 492 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.2836, allocations: 39.62 kB / 0.519 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.2839, allocations: 141.8 kB / 0.5191 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.2843, allocations: 315 kB / 0.5194 GB, free: 0 / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.2846, allocations: 182.5 kB / 0.5196 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.2851, allocations: 0.7541 MB / 0.5203 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2853, allocations: 91.67 kB / 0.5204 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.2858, allocations: 486.9 kB / 0.5209 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.2861, allocations: 263.3 kB / 0.5211 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.2861, allocations: 24 kB / 0.5211 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.2863, allocations: 139.8 kB / 0.5213 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.2864, allocations: 67.56 kB / 0.5213 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.2865, allocations: 127.7 kB / 0.5215 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.2869, allocations: 422.3 kB / 0.5219 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.2869, allocations: 0 / 0.5219 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2869, allocations: 0 / 0.5219 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.2869, allocations: 0 / 0.5219 GB, free: 13.48 MB / 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.0007755/0.2877, allocations: 0.8762 MB / 0.5227 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.505e-05/0.2877, allocations: 11.97 kB / 0.5227 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.2878, allocations: 60.88 kB / 0.5228 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.2882, allocations: 423.5 kB / 0.5232 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2882, allocations: 17.03 kB / 0.5232 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.2882, allocations: 36.36 kB / 0.5232 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.2885, allocations: 270.3 kB / 0.5235 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2885, allocations: 3.938 kB / 0.5235 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2885, allocations: 15.94 kB / 0.5235 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.2885, allocations: 8 kB / 0.5235 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.2886, allocations: 80.33 kB / 0.5236 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.2894, allocations: 1.231 MB / 0.5248 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.2896, allocations: 117.9 kB / 0.5249 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.2897, allocations: 34.58 kB / 0.525 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.2898, allocations: 48.02 kB / 0.525 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.2899, allocations: 42.7 kB / 0.525 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.2899, allocations: 4 kB / 0.525 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002753/0.2901, allocations: 154.6 kB / 0.5252 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2902, allocations: 106.8 kB / 0.5253 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.2904, allocations: 371.2 kB / 0.5256 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2904, allocations: 29.7 kB / 0.5257 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.2905, allocations: 209.8 kB / 0.5259 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.2905, allocations: 55.47 kB / 0.5259 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.2905, allocations: 49.67 kB / 0.526 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.2906, allocations: 358.6 kB / 0.5263 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.2906, allocations: 20 kB / 0.5263 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-05/0.2907, allocations: 69.91 kB / 0.5264 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.2908, allocations: 109.9 kB / 0.5265 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2908, allocations: 0 / 0.5265 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001493/0.2909, allocations: 151.4 kB / 0.5267 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2909, allocations: 12.03 kB / 0.5267 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2909, allocations: 0 / 0.5267 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.611e-05/0.291, allocations: 20.84 kB / 0.5267 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2912, allocations: 58.25 kB / 0.5267 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005205/0.2917, allocations: 1.171 MB / 0.5279 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.2917, allocations: 15.89 kB / 0.5279 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2917, allocations: 8 kB / 0.5279 GB, free: 6.875 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.197e-05/0.2918, allocations: 128.5 kB / 0.528 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.2919, allocations: 35.95 kB / 0.5281 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.2921, allocations: 162.6 kB / 0.5282 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2921, allocations: 4 kB / 0.5282 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2921, allocations: 1 kB / 0.5282 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2921, allocations: 7.938 kB / 0.5282 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2923, allocations: 181.6 kB / 0.5284 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2923, allocations: 0 / 0.5284 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.2924, allocations: 48.69 kB / 0.5284 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.2924, allocations: 43.78 kB / 0.5285 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.408e-05/0.2925, allocations: 28.83 kB / 0.5285 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2925, allocations: 4.875 kB / 0.5285 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004568/0.2929, allocations: 1.16 MB / 0.5297 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2929, allocations: 0.8594 kB / 0.5297 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.2931, allocations: 328.5 kB / 0.53 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.2932, allocations: 7.938 kB / 0.53 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.2932, allocations: 4 kB / 0.53 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2933, allocations: 15.97 kB / 0.53 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.2933, allocations: 4 kB / 0.53 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001045/0.2934, allocations: 168.4 kB / 0.5302 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.2934, allocations: 3.938 kB / 0.5302 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002288/0.2936, allocations: 99.78 kB / 0.5303 GB, free: 4.32 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001322/0.2937, allocations: 102.2 kB / 0.5304 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.294, allocations: 198.8 kB / 0.5305 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.294, allocations: 8 kB / 0.5306 GB, free: 4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.2941, allocations: 167.4 kB / 0.5307 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.2947, allocations: 0.9008 MB / 0.5316 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.2996, allocations: 0.7392 MB / 0.5323 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.509e-05/0.2997, allocations: 109.1 kB / 0.5324 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.2998, allocations: 49.56 kB / 0.5325 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.2999, allocations: 137.3 kB / 0.5326 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.2999, allocations: 0 / 0.5326 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of Templates: time 0.007217/0.3072, allocations: 5.364 MB / 0.5378 GB, free: 12.48 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4567569326609373]