Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001035/0.001035, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009874/0.0009874, 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.9393/0.9393, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6867/0.6867, allocations: 118.6 MB / 378.6 MB, free: 1.492 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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.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_dev_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_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.604e-05, allocations: 2.312 kB / 483.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1344/0.1344, allocations: 133.8 MB / 0.603 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004253/0.1387, allocations: 3.974 MB / 0.6068 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.1391, allocations: 55.5 kB / 0.6069 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.1397, allocations: 397.6 kB / 0.6073 GB, free: 6 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.1408, allocations: 0.8926 MB / 0.6081 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.1417, allocations: 0.6463 MB / 0.6088 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.1432, allocations: 2.206 MB / 0.6109 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.1435, allocations: 207.9 kB / 0.6111 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.145, allocations: 1.324 MB / 0.6124 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009479/0.146, allocations: 1.087 MB / 0.6135 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.1461, allocations: 128 kB / 0.6136 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000609/0.1467, allocations: 475.2 kB / 0.614 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.147, allocations: 422.5 kB / 0.6145 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.1473, allocations: 0.5339 MB / 0.615 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1487, allocations: 1.635 MB / 0.6166 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1487, allocations: 4 kB / 0.6166 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1487, allocations: 0 / 0.6166 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.1488, allocations: 0 / 0.6166 GB, free: 12.44 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.002476/0.1512, allocations: 2.146 MB / 0.6187 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1513, allocations: 8.031 kB / 0.6187 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.1517, allocations: 263.8 kB / 0.6189 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.1527, allocations: 0.978 MB / 0.6199 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/0.1528, allocations: 130 kB / 0.62 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1529, allocations: 107.9 kB / 0.6201 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1541, allocations: 1.003 MB / 0.6211 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1541, allocations: 3.938 kB / 0.6211 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.1542, allocations: 39.98 kB / 0.6211 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.484e-05/0.1543, allocations: 45.98 kB / 0.6212 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.1556, allocations: 1.014 MB / 0.6222 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.1599, allocations: 3.609 MB / 0.6257 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.1608, allocations: 0.7792 MB / 0.6265 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.1613, allocations: 449.4 kB / 0.6269 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/0.163, allocations: 1.374 MB / 0.6282 GB, free: 276 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.163, allocations: 54.33 kB / 0.6283 GB, free: 212 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 2.285e-06/0.163, allocations: 4 kB / 0.6283 GB, free: 208 kB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.00447/0.1675, allocations: 3.05 MB / 0.6313 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.1675, allocations: 68.34 kB / 0.6313 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.1682, allocations: 0.846 MB / 0.6321 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/0.1682, allocations: 53.7 kB / 0.6322 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.1685, allocations: 0.5551 MB / 0.6327 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.1687, allocations: 456.1 kB / 0.6332 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.169, allocations: 264.4 kB / 0.6334 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1691, allocations: 0.5199 MB / 0.6339 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.1695, allocations: 282.4 kB / 0.6342 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.1701, allocations: 0.6517 MB / 0.6348 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/0.171, allocations: 0.8217 MB / 0.6356 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.171, allocations: 4 kB / 0.6356 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001648/0.1727, allocations: 1.28 MB / 0.6369 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1727, allocations: 11.94 kB / 0.6369 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1727, allocations: 4 kB / 0.6369 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.1733, allocations: 296.4 kB / 0.6372 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/0.1738, allocations: 235.6 kB / 0.6374 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.1766, allocations: 3.355 MB / 0.6407 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.1771, allocations: 48.03 kB / 0.6407 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.1772, allocations: 59.94 kB / 0.6408 GB, free: 3 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.0002393/0.1774, allocations: 216.3 kB / 0.641 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.1777, allocations: 179.1 kB / 0.6412 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.1796, allocations: 1.658 MB / 0.6428 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1796, allocations: 12 kB / 0.6428 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1796, allocations: 15.94 kB / 0.6428 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1796, allocations: 7.922 kB / 0.6428 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2341/0.4138, allocations: 2.606 MB / 0.6454 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.4138, allocations: 5.562 kB / 0.6454 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/0.4143, allocations: 198.7 kB / 0.6456 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00068/0.415, allocations: 339.5 kB / 0.6459 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.4151, allocations: 56.5 kB / 0.6459 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.4176, allocations: 3.376 MB / 0.6492 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4176, allocations: 9.25 kB / 0.6493 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.4199, allocations: 1.869 MB / 0.6511 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.4203, allocations: 269.1 kB / 0.6513 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4204, allocations: 29.69 kB / 0.6514 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.4207, allocations: 38.64 kB / 0.6514 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.4209, allocations: 121.3 kB / 0.6515 GB, free: 45.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.4209, allocations: 56.22 kB / 0.6516 GB, free: 45.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003987/0.4213, allocations: 0.5307 MB / 0.6521 GB, free: 45.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4213, allocations: 0.875 kB / 0.6521 GB, free: 45.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008149/0.4221, allocations: 427.2 kB / 0.6525 GB, free: 45.58 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.0008384/0.423, allocations: 474.3 kB / 0.6529 GB, free: 45.49 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.4245, allocations: 1.324 MB / 0.6542 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4245, allocations: 0.8438 kB / 0.6542 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000894/0.4254, allocations: 0.9374 MB / 0.6552 GB, free: 44.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.4266, allocations: 0.5149 MB / 0.6557 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.4295, allocations: 2.633 MB / 0.6582 GB, free: 43.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.4297, allocations: 283.3 kB / 0.6585 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000581/0.4302, allocations: 295.5 kB / 0.6588 GB, free: 43.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.4305, allocations: 149.5 kB / 0.6589 GB, free: 43.59 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.4305, allocations: 0 / 0.6589 GB, free: 43.59 MB / 0.5573 GB Notification: Performance of Templates: time 0.02982/0.4603, allocations: 26.76 MB / 0.6851 GB, free: 37.98 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.524872190784663]