Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.0007663/0.0007663, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001785, 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.0007102/0.0007102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009412/0.001651, 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.9366/0.9366, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09622/1.033, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.6931/0.6931, allocations: 118.7 MB / 362.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0613/0.7544, 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.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 399.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.167e-06/1.062e-05, allocations: 2.312 kB / 399.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.2933/0.2933, allocations: 131.4 MB / 0.5187 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.2954, allocations: 1.941 MB / 0.5206 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.2957, allocations: 43.62 kB / 0.5206 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.296, allocations: 178.6 kB / 0.5208 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006623/0.2967, allocations: 0.5314 MB / 0.5213 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.297, allocations: 271.1 kB / 0.5216 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007183/0.2977, allocations: 1.109 MB / 0.5227 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.2979, allocations: 107.8 kB / 0.5228 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006653/0.2986, allocations: 0.6511 MB / 0.5234 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.299, allocations: 414.9 kB / 0.5238 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.299, allocations: 48 kB / 0.5238 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.2993, allocations: 235.5 kB / 0.5241 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.2994, allocations: 87.56 kB / 0.5242 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2995, allocations: 195.6 kB / 0.5243 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.3001, allocations: 0.5993 MB / 0.5249 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.3001, allocations: 0 / 0.5249 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3001, allocations: 0 / 0.5249 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.3001, allocations: 0 / 0.5249 GB, free: 10.54 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001035/0.3011, allocations: 1.114 MB / 0.526 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.3012, allocations: 8.031 kB / 0.526 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.3014, allocations: 116.7 kB / 0.5261 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.3019, allocations: 489.3 kB / 0.5266 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3019, allocations: 37.38 kB / 0.5266 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.302, allocations: 40.38 kB / 0.5267 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3023, allocations: 372.6 kB / 0.527 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3023, allocations: 192 / 0.527 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3023, allocations: 21.62 kB / 0.5271 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3023, allocations: 15.94 kB / 0.5271 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3025, allocations: 169.6 kB / 0.5272 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.3036, allocations: 1.143 MB / 0.5283 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.3039, allocations: 208.4 kB / 0.5285 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.3041, allocations: 94.31 kB / 0.5286 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008994/0.305, allocations: 0.6333 MB / 0.5293 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.305, allocations: 43 kB / 0.5293 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.523e-06/0.305, allocations: 4 kB / 0.5293 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.0005336/0.3055, allocations: 367.5 kB / 0.5296 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.3056, allocations: 55.91 kB / 0.5297 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3058, allocations: 407.2 kB / 0.5301 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3058, allocations: 29.7 kB / 0.5301 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.3059, allocations: 225.8 kB / 0.5303 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.571e-05/0.306, allocations: 174.5 kB / 0.5305 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.3061, allocations: 78.16 kB / 0.5306 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.3062, allocations: 374.7 kB / 0.5309 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.3062, allocations: 44.98 kB / 0.531 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.3063, allocations: 101.7 kB / 0.5311 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3065, allocations: 198 kB / 0.5313 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3065, allocations: 0 / 0.5313 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002853/0.3068, allocations: 276 kB / 0.5315 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3068, allocations: 7.938 kB / 0.5315 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3068, allocations: 1.062 kB / 0.5315 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.307, allocations: 57.8 kB / 0.5316 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.3072, allocations: 107.8 kB / 0.5317 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.3083, allocations: 2.398 MB / 0.534 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.3085, allocations: 31.78 kB / 0.5341 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3085, allocations: 12.75 kB / 0.5341 GB, free: 0.7305 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.3086, allocations: 128.6 kB / 0.5342 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3086, allocations: 55.94 kB / 0.5342 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.3091, allocations: 0.5036 MB / 0.5347 GB, free: 16 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3092, allocations: 4 kB / 0.5347 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.3092, allocations: 0 / 0.5347 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3092, allocations: 3.984 kB / 0.5347 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.3098, allocations: 0.6589 MB / 0.5354 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3098, allocations: 0 / 0.5354 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.31, allocations: 76.78 kB / 0.5355 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.31, allocations: 71.53 kB / 0.5355 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.3102, allocations: 61.64 kB / 0.5356 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3102, allocations: 12.09 kB / 0.5356 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009444/0.3111, allocations: 2.409 MB / 0.538 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3111, allocations: 0 / 0.538 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3115, allocations: 445.8 kB / 0.5384 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.3115, allocations: 9.75 kB / 0.5384 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3117, allocations: 11.98 kB / 0.5384 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.3117, allocations: 39.88 kB / 0.5384 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3117, allocations: 8 kB / 0.5384 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001228/0.3118, allocations: 192.4 kB / 0.5386 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.3118, allocations: 0 / 0.5386 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002932/0.3121, allocations: 179.7 kB / 0.5388 GB, free: 11.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.m_flow) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.3123, allocations: 120.3 kB / 0.5389 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.3127, allocations: 443.7 kB / 0.5393 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.3127, allocations: 11.94 kB / 0.5394 GB, free: 11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.3129, allocations: 362.5 kB / 0.5397 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.3134, allocations: 282.6 kB / 0.54 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007133/0.3206, allocations: 1.062 MB / 0.541 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.011e-05/0.3207, allocations: 130 kB / 0.5411 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.3209, allocations: 114.5 kB / 0.5412 GB, free: 9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.3212, allocations: 205.2 kB / 0.5414 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/0.3212, allocations: 0 / 0.5414 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of Templates: time 0.01218/0.3334, allocations: 10.76 MB / 0.5519 GB, free: 14.3 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_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.636996515095234]