Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001217/0.001217, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001012/0.001012, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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.9532/0.9532, allocations: 177.1 MB / 203.4 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6677/0.6677, allocations: 118.6 MB / 378.6 MB, free: 1.473 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 483.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.057e-05, allocations: 5.406 kB / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1296/0.1296, allocations: 133.8 MB / 0.603 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005017/0.1346, allocations: 3.974 MB / 0.6068 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.1352, allocations: 55.5 kB / 0.6069 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007564/0.1359, allocations: 397.6 kB / 0.6073 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.1372, allocations: 0.8965 MB / 0.6081 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1383, allocations: 0.6385 MB / 0.6088 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.1399, allocations: 2.203 MB / 0.6109 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.1402, allocations: 211.9 kB / 0.6111 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.1418, allocations: 1.332 MB / 0.6124 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.1429, allocations: 1.084 MB / 0.6135 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.143, allocations: 132 kB / 0.6136 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.1437, allocations: 467.3 kB / 0.6141 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.1439, allocations: 422.5 kB / 0.6145 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003806/0.1443, allocations: 0.5339 MB / 0.615 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1457, allocations: 1.639 MB / 0.6166 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1457, allocations: 0 / 0.6166 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1457, allocations: 0 / 0.6166 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.1457, allocations: 0 / 0.6166 GB, free: 12.49 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002529/0.1482, allocations: 2.15 MB / 0.6187 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1483, allocations: 8.031 kB / 0.6187 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.1487, allocations: 263.8 kB / 0.6189 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009665/0.1496, allocations: 0.978 MB / 0.6199 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-05/0.1497, allocations: 126 kB / 0.62 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.1499, allocations: 107.9 kB / 0.6201 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.151, allocations: 1.003 MB / 0.6211 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.151, allocations: 3.984 kB / 0.6211 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.1511, allocations: 36 kB / 0.6211 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.1511, allocations: 45.98 kB / 0.6212 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1524, allocations: 1.018 MB / 0.6222 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.1566, allocations: 3.613 MB / 0.6257 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009335/0.1575, allocations: 0.7728 MB / 0.6264 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.158, allocations: 445.4 kB / 0.6269 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.1597, allocations: 1.382 MB / 0.6282 GB, free: 328 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1597, allocations: 46.39 kB / 0.6283 GB, free: 272 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 2.294e-06/0.1597, allocations: 0 / 0.6283 GB, free: 272 kB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.004409/0.1641, allocations: 3.058 MB / 0.6313 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1642, allocations: 72.33 kB / 0.6313 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/0.1648, allocations: 0.846 MB / 0.6321 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.1648, allocations: 45.7 kB / 0.6322 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.1651, allocations: 0.559 MB / 0.6327 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.1653, allocations: 464.1 kB / 0.6332 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.1656, allocations: 256.4 kB / 0.6334 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1657, allocations: 0.5238 MB / 0.6339 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.1661, allocations: 282.4 kB / 0.6342 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.1666, allocations: 0.6556 MB / 0.6348 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/0.1676, allocations: 0.8218 MB / 0.6356 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1676, allocations: 4 kB / 0.6357 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001679/0.1693, allocations: 1.288 MB / 0.6369 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1693, allocations: 11.94 kB / 0.6369 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1694, allocations: 0 / 0.6369 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.17, allocations: 288.5 kB / 0.6372 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.1705, allocations: 235.6 kB / 0.6374 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.1734, allocations: 3.362 MB / 0.6407 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.1737, allocations: 47.91 kB / 0.6408 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.1738, allocations: 59.94 kB / 0.6408 GB, free: 3.043 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002457/0.1741, allocations: 216.4 kB / 0.641 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.1743, allocations: 179.1 kB / 0.6412 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.1762, allocations: 1.653 MB / 0.6428 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1762, allocations: 12 kB / 0.6428 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1762, allocations: 4 kB / 0.6428 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.1762, allocations: 3.984 kB / 0.6428 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2764/0.4526, allocations: 2.618 MB / 0.6454 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.4526, allocations: 6.25 kB / 0.6454 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.4532, allocations: 198.4 kB / 0.6456 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.4539, allocations: 343.1 kB / 0.6459 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.454, allocations: 54.91 kB / 0.6459 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.4568, allocations: 3.371 MB / 0.6492 GB, free: 46.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4568, allocations: 8.062 kB / 0.6492 GB, free: 46.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.4596, allocations: 1.876 MB / 0.6511 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.46, allocations: 262.6 kB / 0.6513 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.4601, allocations: 32.52 kB / 0.6514 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.4605, allocations: 41.48 kB / 0.6514 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.4606, allocations: 119.8 kB / 0.6515 GB, free: 45.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/0.4607, allocations: 61.33 kB / 0.6516 GB, free: 45.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004711/0.4612, allocations: 0.5324 MB / 0.6521 GB, free: 45.65 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4612, allocations: 0.9375 kB / 0.6521 GB, free: 45.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001039/0.4622, allocations: 427.3 kB / 0.6525 GB, free: 45.65 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009322/0.4631, allocations: 466.8 kB / 0.6529 GB, free: 45.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.4647, allocations: 1.319 MB / 0.6542 GB, free: 45.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4647, allocations: 2.656 kB / 0.6542 GB, free: 45.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009203/0.4657, allocations: 0.934 MB / 0.6552 GB, free: 45.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.4669, allocations: 0.5196 MB / 0.6557 GB, free: 44.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.47, allocations: 2.643 MB / 0.6582 GB, free: 43.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4702, allocations: 286 kB / 0.6585 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005727/0.4708, allocations: 286.9 kB / 0.6588 GB, free: 43.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.471, allocations: 148.6 kB / 0.6589 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/0.471, allocations: 0 / 0.6589 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.02865/0.4997, allocations: 26.76 MB / 0.6851 GB, free: 38.09 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.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.525036996696144]