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.001128/0.001128, allocations: 93.06 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.001028/0.001028, allocations: 165 kB / 23.02 MB, free: 1.555 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.9774/0.9774, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7714/0.7714, allocations: 118.6 MB / 378.6 MB, free: 1.508 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.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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.593e-06/1.593e-06, allocations: 0 / 483.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.367e-05, allocations: 2.312 kB / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1491/0.1492, allocations: 137 MB / 0.606 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00417/0.1533, allocations: 3.707 MB / 0.6096 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.1538, allocations: 103.1 kB / 0.6097 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.1546, allocations: 0.5587 MB / 0.6103 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.156, allocations: 1.308 MB / 0.6116 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.1569, allocations: 0.6662 MB / 0.6122 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.1589, allocations: 2.921 MB / 0.6151 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.1592, allocations: 241.3 kB / 0.6153 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.1605, allocations: 1.597 MB / 0.6169 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009183/0.1615, allocations: 1.064 MB / 0.6179 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.1616, allocations: 112 kB / 0.618 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.162, allocations: 339.5 kB / 0.6183 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.1623, allocations: 354.3 kB / 0.6187 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.1627, allocations: 0.5649 MB / 0.6192 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.1642, allocations: 1.564 MB / 0.6207 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1642, allocations: 0 / 0.6207 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1642, allocations: 0 / 0.6207 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.1642, allocations: 0 / 0.6207 GB, free: 8.137 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002194/0.1664, allocations: 2.175 MB / 0.6229 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1664, allocations: 12.03 kB / 0.6229 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.1669, allocations: 347.4 kB / 0.6232 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.1682, allocations: 1.238 MB / 0.6244 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/0.1682, allocations: 82.47 kB / 0.6245 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.1683, allocations: 116.4 kB / 0.6246 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1694, allocations: 0.9418 MB / 0.6255 GB, free: 3.039 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1694, allocations: 7.938 kB / 0.6255 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.1695, allocations: 44 kB / 0.6256 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.1695, allocations: 28 kB / 0.6256 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007365/0.1702, allocations: 0.5442 MB / 0.6261 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.1743, allocations: 4.224 MB / 0.6303 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/0.1751, allocations: 0.6098 MB / 0.6309 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.1755, allocations: 282.5 kB / 0.6311 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/0.177, allocations: 1.594 MB / 0.6327 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1771, allocations: 50.05 kB / 0.6327 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 2.144e-06/0.1771, allocations: 0 / 0.6327 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.002055/0.1791, allocations: 1.174 MB / 0.6339 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.1792, allocations: 119.5 kB / 0.634 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.1801, allocations: 1.085 MB / 0.635 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.1801, allocations: 41.7 kB / 0.6351 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/0.1805, allocations: 0.7256 MB / 0.6358 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.1807, allocations: 396.5 kB / 0.6362 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.1809, allocations: 208.5 kB / 0.6364 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1811, allocations: 0.516 MB / 0.6369 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1814, allocations: 174.5 kB / 0.637 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.1818, allocations: 0.5824 MB / 0.6376 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/0.1826, allocations: 0.5948 MB / 0.6382 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1826, allocations: 0 / 0.6382 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001196/0.1838, allocations: 0.9745 MB / 0.6391 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1838, allocations: 8 kB / 0.6391 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1838, allocations: 4 kB / 0.6392 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.1842, allocations: 154.3 kB / 0.6393 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.1846, allocations: 207.7 kB / 0.6395 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.335/0.5197, allocations: 8.873 MB / 0.6482 GB, free: 44.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.5206, allocations: 91.69 kB / 0.6483 GB, free: 44.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/0.5207, allocations: 48.66 kB / 0.6483 GB, free: 44.15 MB / 0.5573 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.0003691/0.5211, allocations: 213.5 kB / 0.6485 GB, free: 43.99 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.5214, allocations: 198.8 kB / 0.6487 GB, free: 43.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.5235, allocations: 1.591 MB / 0.6502 GB, free: 43.53 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5235, allocations: 11.94 kB / 0.6503 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5235, allocations: 10.34 kB / 0.6503 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.5235, allocations: 5.219 kB / 0.6503 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.5258, allocations: 1.958 MB / 0.6522 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.5258, allocations: 3.25 kB / 0.6522 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.5261, allocations: 130.8 kB / 0.6523 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003385/0.5265, allocations: 166.8 kB / 0.6525 GB, free: 42.72 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.5265, allocations: 26.94 kB / 0.6525 GB, free: 42.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.5293, allocations: 8.895 MB / 0.6612 GB, free: 34.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5293, allocations: 6.578 kB / 0.6612 GB, free: 34.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.5307, allocations: 1.385 MB / 0.6625 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.5309, allocations: 243.7 kB / 0.6628 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.531, allocations: 38.42 kB / 0.6628 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.5313, allocations: 18 kB / 0.6628 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.5314, allocations: 69.41 kB / 0.6629 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.5314, allocations: 38.17 kB / 0.6629 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006339/0.5321, allocations: 0.735 MB / 0.6636 GB, free: 33.15 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5321, allocations: 0 / 0.6636 GB, free: 33.15 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001012/0.5331, allocations: 421 kB / 0.664 GB, free: 33.12 MB / 0.5573 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.001013/0.5341, allocations: 401.9 kB / 0.6644 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.5354, allocations: 1.397 MB / 0.6658 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5354, allocations: 0 / 0.6658 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006461/0.5361, allocations: 1.123 MB / 0.6669 GB, free: 31.24 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.5376, allocations: 0.569 MB / 0.6674 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.5413, allocations: 2.598 MB / 0.67 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.5415, allocations: 260.6 kB / 0.6702 GB, free: 29.78 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006711/0.5422, allocations: 274.5 kB / 0.6705 GB, free: 29.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.5424, allocations: 140.2 kB / 0.6706 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of SimCode: time 1.272e-06/0.5424, allocations: 1.031 kB / 0.6706 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of Templates: time 0.03792/0.5803, allocations: 21.71 MB / 0.6918 GB, free: 26.65 MB / 0.5573 GB " [Timeout remaining time 659] 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 -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.985492354724556]