Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0007372/0.0007372, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001739, 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.0006865/0.0006865, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009175/0.001604, 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.8998/0.8998, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08375/0.9835, allocations: 53.66 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.6275/0.6275, allocations: 118.7 MB / 362.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0552/0.6827, allocations: 35.85 MB / 398.7 MB, free: 13.1 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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.42e-05, allocations: 5.406 kB / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.2844/0.2845, allocations: 129 MB / 0.5166 GB, free: 2.879 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.2854, allocations: 0.743 MB / 0.5173 GB, free: 2.137 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.2856, allocations: 19.81 kB / 0.5174 GB, free: 2.117 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.2859, allocations: 70.38 kB / 0.5174 GB, free: 2.051 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.2861, allocations: 153.2 kB / 0.5176 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.2864, allocations: 122.6 kB / 0.5177 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.2867, allocations: 358.4 kB / 0.518 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2868, allocations: 52.47 kB / 0.5181 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.2871, allocations: 270.4 kB / 0.5183 GB, free: 1.125 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.2873, allocations: 103.7 kB / 0.5184 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2873, allocations: 12 kB / 0.5184 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.2874, allocations: 105.5 kB / 0.5186 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.2875, allocations: 31.31 kB / 0.5186 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.2875, allocations: 63.81 kB / 0.5186 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.2878, allocations: 235.1 kB / 0.5189 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.2878, allocations: 0 / 0.5189 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2878, allocations: 0 / 0.5189 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.2879, allocations: 0 / 0.5189 GB, free: 0.5898 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.0006705/0.2885, allocations: 0.6286 MB / 0.5195 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.2886, allocations: 8.031 kB / 0.5195 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.2886, allocations: 28.91 kB / 0.5195 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.2889, allocations: 277.6 kB / 0.5198 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2889, allocations: 16.36 kB / 0.5198 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.2889, allocations: 20.33 kB / 0.5198 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.2891, allocations: 145.9 kB / 0.52 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2891, allocations: 3.938 kB / 0.52 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2891, allocations: 7.938 kB / 0.52 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2891, allocations: 4 kB / 0.52 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.2891, allocations: 42.67 kB / 0.52 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.2897, allocations: 0.6018 MB / 0.5206 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/0.2897, allocations: 54.48 kB / 0.5206 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.2898, allocations: 12.84 kB / 0.5207 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.2898, allocations: 4 kB / 0.5207 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.876e-05/0.2899, allocations: 67.5 kB / 0.5207 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2899, allocations: 0 / 0.5207 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001122/0.29, allocations: 73.58 kB / 0.5208 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.29, allocations: 55.41 kB / 0.5209 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2902, allocations: 258.9 kB / 0.5211 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2902, allocations: 33.7 kB / 0.5211 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.2902, allocations: 160.3 kB / 0.5213 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.2903, allocations: 19.83 kB / 0.5213 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.2903, allocations: 41.64 kB / 0.5213 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.2904, allocations: 338.7 kB / 0.5217 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.2904, allocations: 41.69 kB / 0.5217 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.2905, allocations: 86.58 kB / 0.5218 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.368e-05/0.2905, allocations: 114.7 kB / 0.5219 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2905, allocations: 0 / 0.5219 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001177/0.2906, allocations: 167.6 kB / 0.5221 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.2907, allocations: 33.7 kB / 0.5221 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2907, allocations: 2.188 kB / 0.5221 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2907, allocations: 0 / 0.5221 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2908, allocations: 35.92 kB / 0.5221 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2908, allocations: 7.984 kB / 0.5221 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.2909, allocations: 24.05 kB / 0.5222 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2909, allocations: 4 kB / 0.5222 GB, free: 12.93 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.783e-05/0.291, allocations: 128.6 kB / 0.5223 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.291, allocations: 15.98 kB / 0.5223 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.2911, allocations: 84.94 kB / 0.5224 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2911, allocations: 0 / 0.5224 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2911, allocations: 0 / 0.5224 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2911, allocations: 0 / 0.5224 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.293e-05/0.2912, allocations: 121.7 kB / 0.5225 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2912, allocations: 0 / 0.5225 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.2912, allocations: 23.97 kB / 0.5225 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.2913, allocations: 31.75 kB / 0.5225 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2913, allocations: 0 / 0.5225 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2913, allocations: 3.984 kB / 0.5226 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2913, allocations: 5.062 kB / 0.5226 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2913, allocations: 0 / 0.5226 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.2914, allocations: 109 kB / 0.5227 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2914, allocations: 4 kB / 0.5227 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.2914, allocations: 7.984 kB / 0.5227 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2915, allocations: 16.02 kB / 0.5227 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.2915, allocations: 0 / 0.5227 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.2915, allocations: 100.6 kB / 0.5228 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.2915, allocations: 0 / 0.5228 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001366/0.2917, allocations: 43.95 kB / 0.5228 GB, free: 12.19 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.0001256/0.2918, allocations: 89.22 kB / 0.5229 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.2919, allocations: 147 kB / 0.5231 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.2919, allocations: 4 kB / 0.5231 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.292, allocations: 28.8 kB / 0.5231 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2923, allocations: 498.5 kB / 0.5236 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.295, allocations: 438.8 kB / 0.524 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.295, allocations: 76.33 kB / 0.524 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.849e-05/0.2951, allocations: 25.88 kB / 0.5241 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2952, allocations: 95.33 kB / 0.5242 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.041e-06/0.2952, allocations: 4 kB / 0.5242 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.004596/0.2998, allocations: 2.898 MB / 0.527 GB, free: 7.852 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.242678076028824]