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.0007528/0.0007528, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.00186, 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.0007047/0.0007047, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009829/0.001688, 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.9092/0.9092, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07622/0.9854, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.6983/0.6983, allocations: 118.8 MB / 362.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05797/0.7563, allocations: 35.85 MB / 398.8 MB, free: 13.18 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.583e-06/1.583e-06, allocations: 0 / 400.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.177e-05, allocations: 6.25 kB / 400.1 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.3323/0.3323, allocations: 129 MB / 0.5167 GB, free: 3.012 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3335, allocations: 0.7508 MB / 0.5174 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.3337, allocations: 19.81 kB / 0.5174 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.334, allocations: 70.38 kB / 0.5175 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.3343, allocations: 158 kB / 0.5176 GB, free: 2.023 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3346, allocations: 114.6 kB / 0.5177 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.335, allocations: 358.3 kB / 0.5181 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3351, allocations: 52.47 kB / 0.5181 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.3357, allocations: 265.2 kB / 0.5184 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.3358, allocations: 111.7 kB / 0.5185 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.3359, allocations: 12 kB / 0.5185 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3361, allocations: 106 kB / 0.5186 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.3362, allocations: 35.31 kB / 0.5186 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.3362, allocations: 59.81 kB / 0.5187 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.3367, allocations: 235.1 kB / 0.5189 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-05/0.3367, allocations: 0 / 0.5189 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3367, allocations: 0 / 0.5189 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.3367, allocations: 0 / 0.5189 GB, free: 0.7148 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.000936/0.3376, allocations: 0.6288 MB / 0.5195 GB, free: 40 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3377, allocations: 12.03 kB / 0.5195 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.3377, allocations: 24.91 kB / 0.5196 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.3381, allocations: 277.7 kB / 0.5198 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3381, allocations: 12.31 kB / 0.5199 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.3382, allocations: 16.38 kB / 0.5199 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3384, allocations: 145.7 kB / 0.52 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3384, allocations: 4 kB / 0.52 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3384, allocations: 11.88 kB / 0.52 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.3384, allocations: 8 kB / 0.52 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.3385, allocations: 38.73 kB / 0.5201 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.3392, allocations: 0.6044 MB / 0.5207 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3393, allocations: 43.8 kB / 0.5207 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.3393, allocations: 20.78 kB / 0.5207 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.3393, allocations: 8.125 kB / 0.5207 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.3395, allocations: 67.38 kB / 0.5208 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/0.3395, allocations: 0 / 0.5208 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001507/0.3396, allocations: 73.64 kB / 0.5209 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3397, allocations: 59.34 kB / 0.5209 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3398, allocations: 258.9 kB / 0.5212 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3398, allocations: 29.7 kB / 0.5212 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.3399, allocations: 152.3 kB / 0.5213 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3399, allocations: 27.77 kB / 0.5214 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.34, allocations: 37.66 kB / 0.5214 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.3401, allocations: 342.7 kB / 0.5217 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.3401, allocations: 45.69 kB / 0.5218 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.3402, allocations: 82.58 kB / 0.5218 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.944e-05/0.3403, allocations: 110.8 kB / 0.522 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3403, allocations: 0 / 0.522 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001613/0.3405, allocations: 165 kB / 0.5221 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.3405, allocations: 33.7 kB / 0.5221 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3405, allocations: 4.812 kB / 0.5221 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3405, allocations: 0 / 0.5221 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3407, allocations: 35.98 kB / 0.5222 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3407, allocations: 7.984 kB / 0.5222 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.3408, allocations: 15.89 kB / 0.5222 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3408, allocations: 11.94 kB / 0.5222 GB, free: 13.05 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 8.732e-05/0.3409, allocations: 124.6 kB / 0.5223 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3409, allocations: 23.98 kB / 0.5224 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.341, allocations: 72.34 kB / 0.5224 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.341, allocations: 6.188 kB / 0.5224 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.341, allocations: 0 / 0.5224 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.341, allocations: 0 / 0.5224 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.3412, allocations: 125.7 kB / 0.5226 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3412, allocations: 0 / 0.5226 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.1e-05/0.3413, allocations: 19.98 kB / 0.5226 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.3413, allocations: 27.75 kB / 0.5226 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3413, allocations: 0 / 0.5226 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3413, allocations: 3.984 kB / 0.5226 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3413, allocations: 4 kB / 0.5226 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3413, allocations: 0 / 0.5226 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3415, allocations: 109 kB / 0.5227 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3415, allocations: 4 kB / 0.5227 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.3415, allocations: 11.98 kB / 0.5227 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3416, allocations: 7.969 kB / 0.5227 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3416, allocations: 4 kB / 0.5227 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.116e-05/0.3417, allocations: 104.5 kB / 0.5228 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3417, allocations: 0 / 0.5228 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002035/0.3419, allocations: 40 kB / 0.5229 GB, free: 12.32 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.0001553/0.342, allocations: 97.44 kB / 0.523 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.3422, allocations: 138.6 kB / 0.5231 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.3422, allocations: 4 kB / 0.5231 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.692e-05/0.3422, allocations: 28.73 kB / 0.5231 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3427, allocations: 0.4924 MB / 0.5236 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.3465, allocations: 434.6 kB / 0.524 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.3465, allocations: 76.33 kB / 0.5241 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.642e-05/0.3466, allocations: 33.86 kB / 0.5241 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3468, allocations: 95.34 kB / 0.5242 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.3468, allocations: 0 / 0.5242 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.00611/0.3529, allocations: 2.897 MB / 0.527 GB, free: 7.984 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.486428666859865]