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.001197/0.001197, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001119/0.001119, allocations: 169 kB / 23.28 MB, free: 1.219 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.9477/0.9477, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7069/0.7069, allocations: 118.7 MB / 378.9 MB, free: 1.375 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.914e-06/1.914e-06, allocations: 0 / 484 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.971e-05, allocations: 3.625 kB / 484 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1407/0.1407, allocations: 130.9 MB / 0.6005 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005371/0.1461, allocations: 3.939 MB / 0.6043 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.1467, allocations: 55.5 kB / 0.6044 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007654/0.1474, allocations: 389.6 kB / 0.6048 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.1488, allocations: 0.9043 MB / 0.6056 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1499, allocations: 0.6424 MB / 0.6063 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1518, allocations: 2.206 MB / 0.6084 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.1521, allocations: 207.9 kB / 0.6086 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.1537, allocations: 1.34 MB / 0.6099 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.1547, allocations: 1.087 MB / 0.611 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.1548, allocations: 128 kB / 0.6111 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007294/0.1556, allocations: 467.2 kB / 0.6116 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.1558, allocations: 414.5 kB / 0.612 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.1562, allocations: 0.5339 MB / 0.6125 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.1578, allocations: 1.635 MB / 0.6141 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1578, allocations: 4 kB / 0.6141 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1578, allocations: 0 / 0.6141 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.1578, allocations: 4 kB / 0.6141 GB, free: 15.21 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.002549/0.1604, allocations: 2.118 MB / 0.6162 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1604, allocations: 8.031 kB / 0.6162 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.1608, allocations: 263.8 kB / 0.6164 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/0.1618, allocations: 0.9622 MB / 0.6174 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.162, allocations: 122 kB / 0.6175 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.1621, allocations: 115.9 kB / 0.6176 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.1631, allocations: 0.905 MB / 0.6185 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.1631, allocations: 0 / 0.6185 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.1632, allocations: 36 kB / 0.6185 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.1632, allocations: 49.98 kB / 0.6185 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.1641, allocations: 0.6844 MB / 0.6192 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.1688, allocations: 3.409 MB / 0.6225 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.1696, allocations: 0.6878 MB / 0.6232 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.17, allocations: 389.3 kB / 0.6236 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/0.1717, allocations: 1.402 MB / 0.625 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1718, allocations: 46.39 kB / 0.625 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 1.924e-06/0.1718, allocations: 0 / 0.625 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.004113/0.1759, allocations: 2.595 MB / 0.6275 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.1759, allocations: 64.41 kB / 0.6276 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/0.1768, allocations: 0.8376 MB / 0.6284 GB, free: 252 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.1769, allocations: 49.7 kB / 0.6285 GB, free: 196 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.1772, allocations: 0.5472 MB / 0.629 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.1774, allocations: 468 kB / 0.6294 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.1776, allocations: 260.3 kB / 0.6297 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1778, allocations: 0.5354 MB / 0.6302 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.178, allocations: 226.4 kB / 0.6304 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.1785, allocations: 0.5814 MB / 0.631 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007438/0.1792, allocations: 0.7084 MB / 0.6317 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1792, allocations: 0 / 0.6317 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001354/0.1806, allocations: 1.147 MB / 0.6328 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1806, allocations: 8 kB / 0.6328 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1806, allocations: 3.938 kB / 0.6328 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004899/0.1811, allocations: 284.5 kB / 0.6331 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.1816, allocations: 239.6 kB / 0.6333 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.1841, allocations: 3.25 MB / 0.6365 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.1844, allocations: 39.98 kB / 0.6365 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.1845, allocations: 51.94 kB / 0.6366 GB, free: 7.578 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.0002366/0.1847, allocations: 220.3 kB / 0.6368 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.1849, allocations: 179.1 kB / 0.637 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.1866, allocations: 1.548 MB / 0.6385 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1866, allocations: 12 kB / 0.6385 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1866, allocations: 8 kB / 0.6385 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1866, allocations: 3.984 kB / 0.6385 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.1891, allocations: 2.333 MB / 0.6408 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.1891, allocations: 8 kB / 0.6408 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.1895, allocations: 195.6 kB / 0.641 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/0.19, allocations: 347.9 kB / 0.6413 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.1901, allocations: 51.94 kB / 0.6413 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2851/0.4752, allocations: 3.261 MB / 0.6445 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.4752, allocations: 8.156 kB / 0.6445 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.4781, allocations: 1.711 MB / 0.6462 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/0.4786, allocations: 255.4 kB / 0.6465 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4787, allocations: 31.41 kB / 0.6465 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.4791, allocations: 27.45 kB / 0.6465 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.4793, allocations: 119.9 kB / 0.6466 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.4794, allocations: 59.11 kB / 0.6467 GB, free: 48.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004892/0.4799, allocations: 0.5026 MB / 0.6472 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4799, allocations: 0.75 kB / 0.6472 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00126/0.4811, allocations: 425.7 kB / 0.6476 GB, free: 48.43 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.0009381/0.4821, allocations: 456.3 kB / 0.648 GB, free: 48.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.4837, allocations: 1.21 MB / 0.6492 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4837, allocations: 3.875 kB / 0.6492 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008703/0.4846, allocations: 0.8875 MB / 0.6501 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.4859, allocations: 0.5075 MB / 0.6506 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.4895, allocations: 2.628 MB / 0.6531 GB, free: 46.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.4897, allocations: 288.2 kB / 0.6534 GB, free: 46.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005891/0.4903, allocations: 227.9 kB / 0.6536 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/0.491, allocations: 472.5 kB / 0.6541 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/0.491, allocations: 0.75 kB / 0.6541 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of Templates: time 0.03245/0.5235, allocations: 27.03 MB / 0.6805 GB, free: 41.6 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.694037211127579]