Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001058/0.001058, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002457, allocations: 435.8 kB / 10.33 MB, free: 368 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002386, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8824/0.8824, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08151/0.9639, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6906/0.6906, allocations: 118.7 MB / 362.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06587/0.7565, allocations: 35.84 MB / 398.5 MB, free: 13.36 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-main/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_dev_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_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.432e-05, allocations: 2.312 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3359/0.3359, allocations: 130.3 MB / 0.5177 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.3375, allocations: 1.075 MB / 0.5187 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.3377, allocations: 39.62 kB / 0.5187 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.338, allocations: 141.8 kB / 0.5189 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.3384, allocations: 311.1 kB / 0.5192 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.3387, allocations: 190.4 kB / 0.5194 GB, free: 252 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.3392, allocations: 0.7548 MB / 0.5201 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3394, allocations: 83.67 kB / 0.5202 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.3399, allocations: 493.1 kB / 0.5206 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.3401, allocations: 255.3 kB / 0.5209 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.3402, allocations: 28 kB / 0.5209 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.3404, allocations: 147.6 kB / 0.5211 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.3404, allocations: 59.69 kB / 0.5211 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.3405, allocations: 131.6 kB / 0.5212 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.3409, allocations: 418.3 kB / 0.5216 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.3409, allocations: 0 / 0.5216 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3409, allocations: 4 kB / 0.5216 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.341, allocations: 0 / 0.5216 GB, free: 13.9 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.0008498/0.3418, allocations: 0.8801 MB / 0.5225 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.3418, allocations: 8.031 kB / 0.5225 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.3419, allocations: 56.89 kB / 0.5226 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3423, allocations: 423.5 kB / 0.523 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3423, allocations: 21.03 kB / 0.523 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.3423, allocations: 28.31 kB / 0.523 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.3426, allocations: 274.3 kB / 0.5233 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3426, allocations: 3.938 kB / 0.5233 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3426, allocations: 15.94 kB / 0.5233 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.3426, allocations: 11.98 kB / 0.5233 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.11e-05/0.3427, allocations: 83.27 kB / 0.5234 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.3435, allocations: 1.235 MB / 0.5246 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3437, allocations: 113.9 kB / 0.5247 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.3438, allocations: 34.66 kB / 0.5247 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.344, allocations: 47.94 kB / 0.5248 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.344, allocations: 42.7 kB / 0.5248 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.344, allocations: 0 / 0.5248 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0005582/0.3445, allocations: 154.3 kB / 0.525 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3446, allocations: 106.8 kB / 0.5251 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3448, allocations: 371.2 kB / 0.5254 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3448, allocations: 29.7 kB / 0.5255 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.3449, allocations: 205.8 kB / 0.5256 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3449, allocations: 63.47 kB / 0.5257 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3449, allocations: 41.67 kB / 0.5257 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.345, allocations: 358.7 kB / 0.5261 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.345, allocations: 19.98 kB / 0.5261 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.3451, allocations: 73.92 kB / 0.5262 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.3452, allocations: 97.88 kB / 0.5263 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3452, allocations: 0 / 0.5263 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001567/0.3453, allocations: 155.7 kB / 0.5264 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.3453, allocations: 8.125 kB / 0.5264 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3453, allocations: 0 / 0.5264 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.81e-05/0.3454, allocations: 24.84 kB / 0.5265 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3456, allocations: 60.83 kB / 0.5265 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004995/0.3461, allocations: 1.167 MB / 0.5277 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.3461, allocations: 19.89 kB / 0.5277 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3461, allocations: 4 kB / 0.5277 GB, free: 7.309 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 7.834e-05/0.3462, allocations: 136.5 kB / 0.5278 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.3463, allocations: 27.97 kB / 0.5278 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.3465, allocations: 162.2 kB / 0.528 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3465, allocations: 3.938 kB / 0.528 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3465, allocations: 5 kB / 0.528 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3465, allocations: 3.938 kB / 0.528 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3467, allocations: 189.6 kB / 0.5282 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3467, allocations: 0 / 0.5282 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.3467, allocations: 39.91 kB / 0.5282 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.3468, allocations: 51.64 kB / 0.5283 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.579e-05/0.3469, allocations: 20.84 kB / 0.5283 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3469, allocations: 4 kB / 0.5283 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004512/0.3473, allocations: 1.165 MB / 0.5294 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3473, allocations: 4.781 kB / 0.5294 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.3475, allocations: 320.3 kB / 0.5297 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3475, allocations: 8.062 kB / 0.5297 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.3476, allocations: 8 kB / 0.5298 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.3476, allocations: 15.97 kB / 0.5298 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3476, allocations: 4 kB / 0.5298 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.747e-05/0.3477, allocations: 168.4 kB / 0.5299 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-08/0.3477, allocations: 0 / 0.5299 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002261/0.348, allocations: 95.78 kB / 0.53 GB, free: 4.754 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.0001198/0.3481, allocations: 108.3 kB / 0.5301 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3483, allocations: 195.1 kB / 0.5303 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.3483, allocations: 4 kB / 0.5303 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3484, allocations: 161.2 kB / 0.5305 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3488, allocations: 166.8 kB / 0.5306 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.3538, allocations: 0.7519 MB / 0.5314 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.3538, allocations: 109.1 kB / 0.5315 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.3539, allocations: 49.89 kB / 0.5315 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3541, allocations: 129.3 kB / 0.5316 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.3541, allocations: 4 kB / 0.5316 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of Templates: time 0.007245/0.3613, allocations: 5.343 MB / 0.5369 GB, free: 13.85 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4199521709233522]