Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001143/0.001143, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.002881, 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.001064/0.001064, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002469, 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.9334/0.9334, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08463/1.018, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.6729/0.6729, allocations: 118.7 MB / 362.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05568/0.7286, allocations: 35.85 MB / 398.7 MB, free: 13.08 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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.169e-05, allocations: 6.25 kB / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.3217/0.3217, allocations: 131.4 MB / 0.5189 GB, free: 480 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3242, allocations: 1.944 MB / 0.5208 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.3245, allocations: 39.62 kB / 0.5209 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.3248, allocations: 178.6 kB / 0.521 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007292/0.3255, allocations: 0.5275 MB / 0.5216 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.326, allocations: 267.2 kB / 0.5218 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008594/0.3268, allocations: 1.113 MB / 0.5229 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.327, allocations: 107.7 kB / 0.523 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007701/0.3278, allocations: 0.6519 MB / 0.5236 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.3282, allocations: 418.8 kB / 0.524 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.3283, allocations: 44 kB / 0.5241 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.3286, allocations: 231.6 kB / 0.5243 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.3287, allocations: 91.56 kB / 0.5244 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.3288, allocations: 195.6 kB / 0.5246 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.3293, allocations: 0.5954 MB / 0.5252 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.3294, allocations: 3.938 kB / 0.5252 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3294, allocations: 0 / 0.5252 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3294, allocations: 0 / 0.5252 GB, free: 10.09 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.001014/0.3304, allocations: 1.11 MB / 0.5262 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.3304, allocations: 8.031 kB / 0.5263 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.3307, allocations: 136.6 kB / 0.5264 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.3312, allocations: 481.4 kB / 0.5268 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3312, allocations: 29.38 kB / 0.5269 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.3312, allocations: 44.36 kB / 0.5269 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.3316, allocations: 364.7 kB / 0.5273 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3316, allocations: 5.5 kB / 0.5273 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3316, allocations: 16.38 kB / 0.5273 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3316, allocations: 15.94 kB / 0.5273 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.3318, allocations: 173.6 kB / 0.5275 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.3329, allocations: 1.147 MB / 0.5286 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.3333, allocations: 200.5 kB / 0.5288 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.05e-05/0.3333, allocations: 94.31 kB / 0.5289 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008492/0.3342, allocations: 0.6372 MB / 0.5295 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3342, allocations: 39 kB / 0.5295 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.483e-06/0.3342, allocations: 0 / 0.5295 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.0005252/0.3347, allocations: 367.5 kB / 0.5299 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.3348, allocations: 67.78 kB / 0.5299 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.335, allocations: 403.2 kB / 0.5303 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.335, allocations: 33.7 kB / 0.5304 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.3351, allocations: 225.9 kB / 0.5306 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.3352, allocations: 170.5 kB / 0.5307 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.3353, allocations: 86.16 kB / 0.5308 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.3354, allocations: 370.7 kB / 0.5312 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.3354, allocations: 44.97 kB / 0.5312 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.3355, allocations: 105.7 kB / 0.5313 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.3357, allocations: 190.1 kB / 0.5315 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3357, allocations: 0 / 0.5315 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003128/0.336, allocations: 284 kB / 0.5318 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.336, allocations: 4 kB / 0.5318 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.336, allocations: 1.062 kB / 0.5318 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.3362, allocations: 61.78 kB / 0.5318 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.3364, allocations: 99.88 kB / 0.5319 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.3375, allocations: 2.394 MB / 0.5343 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3376, allocations: 27.78 kB / 0.5343 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.3376, allocations: 16.06 kB / 0.5343 GB, free: 284 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 0.0001055/0.3377, allocations: 137.3 kB / 0.5344 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.3378, allocations: 51.89 kB / 0.5345 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.3383, allocations: 0.5037 MB / 0.535 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3383, allocations: 8 kB / 0.535 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3383, allocations: 0 / 0.535 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3383, allocations: 3.984 kB / 0.535 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.339, allocations: 0.6512 MB / 0.5356 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.339, allocations: 0 / 0.5356 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.3391, allocations: 83.84 kB / 0.5357 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.3392, allocations: 68.41 kB / 0.5358 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.3394, allocations: 65.77 kB / 0.5358 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3394, allocations: 12 kB / 0.5358 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.3404, allocations: 2.406 MB / 0.5382 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3404, allocations: 3.984 kB / 0.5382 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.3408, allocations: 441 kB / 0.5386 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3408, allocations: 9.688 kB / 0.5386 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3409, allocations: 20.03 kB / 0.5386 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.341, allocations: 39.81 kB / 0.5387 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.341, allocations: 15.98 kB / 0.5387 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001241/0.3411, allocations: 188.4 kB / 0.5389 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.3411, allocations: 0 / 0.5389 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000323/0.3414, allocations: 183.7 kB / 0.5391 GB, free: 11.13 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.0001832/0.3416, allocations: 112.3 kB / 0.5392 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.342, allocations: 444 kB / 0.5396 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.342, allocations: 11.94 kB / 0.5396 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.3423, allocations: 391.3 kB / 0.54 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009153/0.3432, allocations: 1.4 MB / 0.5413 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.3502, allocations: 1.062 MB / 0.5424 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.516e-05/0.3503, allocations: 134 kB / 0.5425 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.3505, allocations: 108.3 kB / 0.5426 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.3508, allocations: 213.1 kB / 0.5428 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of SimCode: time 1.303e-06/0.3508, allocations: 0 / 0.5428 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of Templates: time 0.01189/0.3627, allocations: 10.92 MB / 0.5535 GB, free: 12.32 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.752495201304555]