Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.001091/0.001091, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002669, allocations: 435.8 kB / 10.33 MB, free: 364 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.001121/0.001121, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002513, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.8792/0.8792, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08526/0.9645, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.6675/0.6675, allocations: 118.7 MB / 362.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.065/0.7325, allocations: 35.85 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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.857e-06/3.857e-06, allocations: 4 kB / 399.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/2.043e-05, allocations: 2.312 kB / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.322/0.322, allocations: 136.3 MB / 0.5236 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005285/0.3273, allocations: 3.824 MB / 0.5273 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006786/0.3279, allocations: 95.12 kB / 0.5274 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.3287, allocations: 0.5743 MB / 0.5279 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.3303, allocations: 1.316 MB / 0.5292 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009909/0.3313, allocations: 0.6551 MB / 0.5299 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.3334, allocations: 2.899 MB / 0.5327 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.3337, allocations: 255.3 kB / 0.5329 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.3353, allocations: 1.753 MB / 0.5347 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008109/0.3361, allocations: 1.032 MB / 0.5357 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.3362, allocations: 108 kB / 0.5358 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.3366, allocations: 347.5 kB / 0.5361 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3368, allocations: 270.8 kB / 0.5364 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.3372, allocations: 498.8 kB / 0.5368 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.3385, allocations: 1.471 MB / 0.5383 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.3385, allocations: 7.922 kB / 0.5383 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3385, allocations: 0 / 0.5383 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.3385, allocations: 0 / 0.5383 GB, free: 12.84 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.001905/0.3404, allocations: 2.5 MB / 0.5407 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.25e-05/0.3405, allocations: 8.031 kB / 0.5407 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.3408, allocations: 268.5 kB / 0.541 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.3418, allocations: 1.081 MB / 0.542 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.3419, allocations: 86.41 kB / 0.5421 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.08e-05/0.3419, allocations: 124.3 kB / 0.5422 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.3426, allocations: 0.8463 MB / 0.5431 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3426, allocations: 7.875 kB / 0.5431 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.3427, allocations: 48 kB / 0.5431 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.3427, allocations: 24 kB / 0.5431 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.3431, allocations: 404.2 kB / 0.5435 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.3457, allocations: 2.953 MB / 0.5464 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.3462, allocations: 491.9 kB / 0.5469 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.3464, allocations: 207.1 kB / 0.5471 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.3477, allocations: 1.163 MB / 0.5482 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3477, allocations: 51.16 kB / 0.5483 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=108): time 1.794e-06/0.3477, allocations: 0 / 0.5483 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of matching and sorting (n=108): time 0.001025/0.3488, allocations: 0.8204 MB / 0.5491 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3488, allocations: 119.5 kB / 0.5492 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.3493, allocations: 0.9619 MB / 0.5501 GB, free: 340 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.3494, allocations: 45.7 kB / 0.5502 GB, free: 288 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.3496, allocations: 466 kB / 0.5506 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/0.3499, allocations: 396.4 kB / 0.551 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.3501, allocations: 198.8 kB / 0.5512 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.3502, allocations: 345.9 kB / 0.5515 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3503, allocations: 110.5 kB / 0.5516 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.3506, allocations: 474.1 kB / 0.5521 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.351, allocations: 477.5 kB / 0.5525 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.351, allocations: 5.625 kB / 0.5525 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001055/0.352, allocations: 0.6438 MB / 0.5531 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.352, allocations: 8.281 kB / 0.5532 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.352, allocations: 8 kB / 0.5532 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.3523, allocations: 132.2 kB / 0.5533 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.3527, allocations: 243.7 kB / 0.5535 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.3552, allocations: 5.979 MB / 0.5594 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.3555, allocations: 87.39 kB / 0.5594 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.3556, allocations: 39.97 kB / 0.5595 GB, free: 6.105 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.0002025/0.3558, allocations: 176.5 kB / 0.5596 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3559, allocations: 123.8 kB / 0.5598 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.3571, allocations: 1.333 MB / 0.5611 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3571, allocations: 8 kB / 0.5611 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3571, allocations: 11.94 kB / 0.5611 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3571, allocations: 3.984 kB / 0.5611 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.3585, allocations: 1.347 MB / 0.5624 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3585, allocations: 8.062 kB / 0.5624 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.3587, allocations: 135.8 kB / 0.5625 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.3589, allocations: 190.7 kB / 0.5627 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.3592, allocations: 144.2 kB / 0.5629 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.3592, allocations: 27.97 kB / 0.5629 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.3614, allocations: 5.969 MB / 0.5687 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3614, allocations: 8.125 kB / 0.5687 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.3622, allocations: 0.9484 MB / 0.5697 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.3622, allocations: 27.89 kB / 0.5697 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.3625, allocations: 23.98 kB / 0.5697 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.3626, allocations: 75.75 kB / 0.5698 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.3626, allocations: 19.98 kB / 0.5698 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003449/0.3629, allocations: 0.5508 MB / 0.5703 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3629, allocations: 0 / 0.5703 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006437/0.3636, allocations: 419.2 kB / 0.5707 GB, free: 9.906 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.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 (70): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001082/0.3647, allocations: 0.5389 MB / 0.5713 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007506/0.3654, allocations: 1.021 MB / 0.5723 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/0.3654, allocations: 20 kB / 0.5723 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.3659, allocations: 0.8042 MB / 0.5731 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.3671, allocations: 0.7076 MB / 0.5737 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.3832, allocations: 2.516 MB / 0.5762 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3834, allocations: 265.1 kB / 0.5765 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006541/0.3841, allocations: 272.9 kB / 0.5767 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006199/0.3847, allocations: 423.1 kB / 0.5771 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of SimCode: time 1.393e-06/0.3847, allocations: 0 / 0.5771 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of Templates: time 0.02988/0.4146, allocations: 24.66 MB / 0.6012 GB, free: 11.15 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_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: 4.026400963775814]