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.0008524/0.0008524, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002008, 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.0007085/0.0007085, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009281/0.001637, 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.9574/0.9574, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09521/1.053, 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-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.6814/0.6814, allocations: 118.8 MB / 362.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05652/0.7379, allocations: 35.85 MB / 398.8 MB, free: 13.21 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 1.473e-06/1.473e-06, allocations: 0 / 400.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.845e-05, allocations: 2.312 kB / 400.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.3143/0.3144, allocations: 136.3 MB / 0.5238 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006049/0.3204, allocations: 3.809 MB / 0.5276 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.3215, allocations: 103.1 kB / 0.5277 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.3228, allocations: 0.582 MB / 0.5282 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.3263, allocations: 1.308 MB / 0.5295 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.3282, allocations: 0.6596 MB / 0.5301 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.3318, allocations: 2.905 MB / 0.533 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.3323, allocations: 251.4 kB / 0.5332 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.3356, allocations: 1.765 MB / 0.5349 GB, free: 280 kB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.3374, allocations: 1.029 MB / 0.5359 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.3377, allocations: 108 kB / 0.536 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.3387, allocations: 347.3 kB / 0.5364 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.339, allocations: 270.7 kB / 0.5366 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006828/0.3397, allocations: 494.9 kB / 0.5371 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.3418, allocations: 1.471 MB / 0.5385 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.641e-05/0.3419, allocations: 3.984 kB / 0.5386 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3419, allocations: 0 / 0.5386 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.286e-05/0.3419, allocations: 0 / 0.5386 GB, free: 12.57 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.00323/0.3451, allocations: 2.512 MB / 0.541 GB, free: 10 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3452, allocations: 8.031 kB / 0.541 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.3457, allocations: 260.5 kB / 0.5413 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.3476, allocations: 1.097 MB / 0.5423 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.3476, allocations: 78.47 kB / 0.5424 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.3478, allocations: 116.3 kB / 0.5425 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3489, allocations: 0.854 MB / 0.5434 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.3489, allocations: 5 kB / 0.5434 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.349, allocations: 44 kB / 0.5434 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.349, allocations: 28 kB / 0.5434 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.3496, allocations: 404.2 kB / 0.5438 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.3538, allocations: 2.949 MB / 0.5467 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.3546, allocations: 491 kB / 0.5472 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.3549, allocations: 211.3 kB / 0.5474 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002472/0.3574, allocations: 1.16 MB / 0.5485 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.3574, allocations: 56.89 kB / 0.5485 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=108): time 4.759e-06/0.3574, allocations: 0 / 0.5485 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of matching and sorting (n=108): time 0.001319/0.3587, allocations: 0.818 MB / 0.5493 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3588, allocations: 115.5 kB / 0.5495 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.3594, allocations: 0.9658 MB / 0.5504 GB, free: 52 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.3594, allocations: 45.7 kB / 0.5504 GB, free: 0 / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.3597, allocations: 466 kB / 0.5509 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.3599, allocations: 416.3 kB / 0.5513 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.36, allocations: 190.8 kB / 0.5515 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.3601, allocations: 345.9 kB / 0.5518 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3603, allocations: 110.6 kB / 0.5519 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.3605, allocations: 466.2 kB / 0.5523 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.361, allocations: 491.2 kB / 0.5528 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.361, allocations: 4 kB / 0.5528 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0006548/0.3616, allocations: 0.6341 MB / 0.5534 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3616, allocations: 7.938 kB / 0.5534 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3616, allocations: 4 kB / 0.5534 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.3619, allocations: 140.3 kB / 0.5536 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.3623, allocations: 243.7 kB / 0.5538 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.3648, allocations: 5.986 MB / 0.5597 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.3652, allocations: 87.39 kB / 0.5597 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.3653, allocations: 31.98 kB / 0.5598 GB, free: 5.812 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.0002009/0.3655, allocations: 180.4 kB / 0.5599 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.3656, allocations: 127.9 kB / 0.5601 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3668, allocations: 1.335 MB / 0.5614 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3668, allocations: 8 kB / 0.5614 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3668, allocations: 4 kB / 0.5614 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3668, allocations: 3.984 kB / 0.5614 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.368, allocations: 1.346 MB / 0.5627 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3681, allocations: 4 kB / 0.5627 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.3683, allocations: 143.8 kB / 0.5628 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.3685, allocations: 178.8 kB / 0.563 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.3687, allocations: 152.5 kB / 0.5632 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.3688, allocations: 23.98 kB / 0.5632 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.371, allocations: 5.983 MB / 0.569 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.371, allocations: 7.938 kB / 0.569 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/0.3718, allocations: 0.9407 MB / 0.5699 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.3719, allocations: 31.88 kB / 0.57 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.3721, allocations: 23.94 kB / 0.57 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.3722, allocations: 71.75 kB / 0.5701 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3723, allocations: 23.97 kB / 0.5701 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003658/0.3726, allocations: 0.547 MB / 0.5706 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.3726, allocations: 0 / 0.5706 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007157/0.3733, allocations: 423.3 kB / 0.571 GB, free: 9.598 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.001144/0.3745, allocations: 0.5272 MB / 0.5715 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007938/0.3753, allocations: 1.044 MB / 0.5726 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.267e-05/0.3753, allocations: 20 kB / 0.5726 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.3758, allocations: 0.8556 MB / 0.5734 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.378, allocations: 3.735 MB / 0.5771 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.3937, allocations: 2.511 MB / 0.5795 GB, free: 224 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3939, allocations: 265.1 kB / 0.5798 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005251/0.3944, allocations: 272.8 kB / 0.58 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/0.395, allocations: 423 kB / 0.5804 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/0.395, allocations: 0 / 0.5804 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.0286/0.4236, allocations: 24.86 MB / 0.6047 GB, free: 6.859 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.156309233047068]