Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.001069/0.001069, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002571, 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.001094/0.001094, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.00247, 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.8839/0.8839, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07909/0.963, allocations: 53.66 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.6267/0.6267, allocations: 118.7 MB / 362.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05184/0.6786, allocations: 35.83 MB / 398.5 MB, free: 13.35 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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.875e-06/8.977e-06, allocations: 2.312 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.2982/0.2982, allocations: 129 MB / 0.5164 GB, free: 3.285 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.2992, allocations: 0.7508 MB / 0.5171 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.2993, allocations: 23.81 kB / 0.5171 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.2995, allocations: 70.38 kB / 0.5172 GB, free: 2.445 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.2998, allocations: 149.2 kB / 0.5174 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2999, allocations: 118.6 kB / 0.5175 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.3002, allocations: 362.3 kB / 0.5178 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3003, allocations: 48.47 kB / 0.5179 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.3007, allocations: 262.4 kB / 0.5181 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3008, allocations: 111.7 kB / 0.5182 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3008, allocations: 12 kB / 0.5182 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.301, allocations: 105.4 kB / 0.5183 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.301, allocations: 31.81 kB / 0.5184 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.3011, allocations: 59.81 kB / 0.5184 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.3014, allocations: 235.1 kB / 0.5186 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.3014, allocations: 8 kB / 0.5186 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3014, allocations: 0 / 0.5186 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.3014, allocations: 0 / 0.5186 GB, free: 0.9844 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007954/0.3022, allocations: 0.6248 MB / 0.5193 GB, free: 320 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.3023, allocations: 8.031 kB / 0.5193 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.3023, allocations: 32.91 kB / 0.5193 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.3026, allocations: 273.9 kB / 0.5196 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3026, allocations: 12.36 kB / 0.5196 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3026, allocations: 12.38 kB / 0.5196 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3028, allocations: 149.7 kB / 0.5197 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3028, allocations: 0 / 0.5197 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3028, allocations: 11.94 kB / 0.5197 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3028, allocations: 0 / 0.5197 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.3028, allocations: 34.75 kB / 0.5198 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.3034, allocations: 0.6246 MB / 0.5204 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.3035, allocations: 46.48 kB / 0.5204 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.3035, allocations: 20.97 kB / 0.5204 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.3035, allocations: 7.984 kB / 0.5204 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.3036, allocations: 59.38 kB / 0.5205 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3036, allocations: 0 / 0.5205 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001237/0.3038, allocations: 73.66 kB / 0.5206 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.3038, allocations: 59.33 kB / 0.5206 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3039, allocations: 262.9 kB / 0.5209 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.304, allocations: 29.7 kB / 0.5209 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.304, allocations: 152.3 kB / 0.5211 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.304, allocations: 27.78 kB / 0.5211 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3041, allocations: 37.66 kB / 0.5211 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.3041, allocations: 346.7 kB / 0.5214 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.3042, allocations: 37.69 kB / 0.5215 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-05/0.3042, allocations: 86.44 kB / 0.5216 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.3043, allocations: 102.8 kB / 0.5217 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3043, allocations: 4 kB / 0.5217 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001147/0.3044, allocations: 167 kB / 0.5218 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.3044, allocations: 37.7 kB / 0.5219 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3044, allocations: 0 / 0.5219 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.3044, allocations: 4 kB / 0.5219 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3046, allocations: 35.97 kB / 0.5219 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.3046, allocations: 0 / 0.5219 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.3046, allocations: 27.88 kB / 0.5219 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3047, allocations: 12.09 kB / 0.5219 GB, free: 13.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.3047, allocations: 120.6 kB / 0.5221 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.3047, allocations: 11.98 kB / 0.5221 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.3048, allocations: 84.33 kB / 0.5221 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3048, allocations: 0 / 0.5221 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3048, allocations: 0 / 0.5221 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3048, allocations: 0 / 0.5221 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3051, allocations: 121.7 kB / 0.5223 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3051, allocations: 3.938 kB / 0.5223 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.3052, allocations: 15.98 kB / 0.5223 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.3052, allocations: 35.73 kB / 0.5223 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3052, allocations: 4 kB / 0.5223 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3052, allocations: 4 kB / 0.5223 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3053, allocations: 1.062 kB / 0.5223 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3053, allocations: 0 / 0.5223 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3054, allocations: 105 kB / 0.5224 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.3054, allocations: 3.984 kB / 0.5224 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.3054, allocations: 4 kB / 0.5224 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3054, allocations: 15.97 kB / 0.5224 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.3054, allocations: 0 / 0.5224 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.3055, allocations: 104.6 kB / 0.5225 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.3055, allocations: 0 / 0.5225 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001283/0.3056, allocations: 40 kB / 0.5226 GB, free: 12.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.3058, allocations: 89.28 kB / 0.5227 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.3059, allocations: 139.8 kB / 0.5228 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.3059, allocations: 4.312 kB / 0.5228 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.3059, allocations: 28.78 kB / 0.5228 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.3061, allocations: 96.52 kB / 0.5229 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.3089, allocations: 426.7 kB / 0.5233 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.91e-05/0.309, allocations: 80.25 kB / 0.5234 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.779e-05/0.309, allocations: 33.88 kB / 0.5234 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.716e-05/0.3091, allocations: 95.34 kB / 0.5235 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.3091, allocations: 0 / 0.5235 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.004354/0.3135, allocations: 2.913 MB / 0.5264 GB, free: 8.75 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_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.2361403200775385]