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.0007894/0.0007894, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009566/0.001746, 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.001025/0.001025, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002412/0.003437, 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.8729/0.8729, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0739/0.9468, 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.6485/0.6485, allocations: 118.8 MB / 362.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06273/0.7112, allocations: 35.86 MB / 398.8 MB, free: 13.2 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.262e-06/1.262e-06, allocations: 0 / 400 MB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.252e-05, allocations: 2.312 kB / 400.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.2985/0.2985, allocations: 131.4 MB / 0.519 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3007, allocations: 1.94 MB / 0.5209 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.301, allocations: 39.62 kB / 0.5209 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3013, allocations: 174.5 kB / 0.5211 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.302, allocations: 0.5354 MB / 0.5216 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.3024, allocations: 275.2 kB / 0.5219 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007603/0.3032, allocations: 1.105 MB / 0.5229 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3034, allocations: 103.8 kB / 0.523 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.3041, allocations: 0.6519 MB / 0.5237 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.3045, allocations: 418.9 kB / 0.5241 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.3048, allocations: 44 kB / 0.5241 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.3051, allocations: 235.5 kB / 0.5243 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.3052, allocations: 95.55 kB / 0.5244 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.3053, allocations: 195.6 kB / 0.5246 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.3059, allocations: 0.5915 MB / 0.5252 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.3059, allocations: 0 / 0.5252 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3059, allocations: 0 / 0.5252 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.3059, allocations: 0 / 0.5252 GB, free: 10.28 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.001018/0.3069, allocations: 1.114 MB / 0.5263 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.3069, allocations: 11.97 kB / 0.5263 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.3072, allocations: 124.7 kB / 0.5264 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.3077, allocations: 489.3 kB / 0.5269 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3077, allocations: 33.38 kB / 0.5269 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.3078, allocations: 40.38 kB / 0.527 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3081, allocations: 360.7 kB / 0.5273 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3081, allocations: 4.125 kB / 0.5273 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.3081, allocations: 20.38 kB / 0.5273 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3081, allocations: 17.19 kB / 0.5273 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3083, allocations: 169.6 kB / 0.5275 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3094, allocations: 1.147 MB / 0.5286 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3097, allocations: 212.5 kB / 0.5288 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.3098, allocations: 90.31 kB / 0.5289 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008094/0.3106, allocations: 0.6255 MB / 0.5295 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3106, allocations: 43 kB / 0.5296 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.443e-06/0.3107, allocations: 0 / 0.5296 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.0005019/0.3112, allocations: 371.5 kB / 0.5299 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.3112, allocations: 59.91 kB / 0.53 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.3114, allocations: 407.2 kB / 0.5304 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3114, allocations: 33.7 kB / 0.5304 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.3115, allocations: 221.9 kB / 0.5306 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.3116, allocations: 174.5 kB / 0.5308 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.3117, allocations: 78.16 kB / 0.5308 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003268/0.312, allocations: 378.6 kB / 0.5312 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.312, allocations: 52.91 kB / 0.5313 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.3121, allocations: 97.73 kB / 0.5314 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3123, allocations: 194.1 kB / 0.5315 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3123, allocations: 0 / 0.5315 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002883/0.3126, allocations: 276 kB / 0.5318 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3126, allocations: 9.25 kB / 0.5318 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3126, allocations: 1.062 kB / 0.5318 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.3128, allocations: 61.78 kB / 0.5319 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3129, allocations: 99.89 kB / 0.532 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009842/0.3139, allocations: 2.398 MB / 0.5343 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.314, allocations: 35.77 kB / 0.5343 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.314, allocations: 12.69 kB / 0.5344 GB, free: 472 kB / 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 9.501e-05/0.3141, allocations: 132.5 kB / 0.5345 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.3142, allocations: 51.95 kB / 0.5345 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.3147, allocations: 0.5084 MB / 0.535 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3147, allocations: 4 kB / 0.535 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3147, allocations: 4 kB / 0.535 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3147, allocations: 0 / 0.535 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.3153, allocations: 0.6551 MB / 0.5357 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3153, allocations: 0 / 0.5357 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.3155, allocations: 76.77 kB / 0.5357 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.3155, allocations: 79.52 kB / 0.5358 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.3157, allocations: 57.66 kB / 0.5359 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.3157, allocations: 16.02 kB / 0.5359 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.3169, allocations: 2.402 MB / 0.5382 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3169, allocations: 0 / 0.5382 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.3173, allocations: 445.1 kB / 0.5387 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3173, allocations: 13.69 kB / 0.5387 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3174, allocations: 8 kB / 0.5387 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3175, allocations: 47.8 kB / 0.5387 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3175, allocations: 4 kB / 0.5387 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001109/0.3176, allocations: 192.4 kB / 0.5389 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3176, allocations: 0 / 0.5389 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002843/0.3179, allocations: 175.7 kB / 0.5391 GB, free: 11.33 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.0001514/0.318, allocations: 128.2 kB / 0.5392 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.3184, allocations: 444.3 kB / 0.5396 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.3184, allocations: 8 kB / 0.5396 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.3186, allocations: 394.5 kB / 0.54 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.3195, allocations: 1.398 MB / 0.5414 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/0.3261, allocations: 1.061 MB / 0.5424 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.676e-05/0.3262, allocations: 126 kB / 0.5425 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.3264, allocations: 110.1 kB / 0.5426 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.3267, allocations: 213.1 kB / 0.5428 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/0.3267, allocations: 0 / 0.5428 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of Templates: time 0.01168/0.3384, allocations: 10.94 MB / 0.5535 GB, free: 12.45 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.646387997083366]