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.00214/0.00214, allocations: 93.06 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.0009714/0.0009714, allocations: 169 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.9024/0.9024, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7165/0.7165, allocations: 118.6 MB / 378.6 MB, free: 1.484 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.643e-06/1.643e-06, allocations: 0 / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.929e-05, allocations: 2.312 kB / 483.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1351/0.1351, allocations: 137 MB / 0.606 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006291/0.1414, allocations: 3.699 MB / 0.6096 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.1431, allocations: 107.1 kB / 0.6098 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.1447, allocations: 0.5509 MB / 0.6103 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.1484, allocations: 1.323 MB / 0.6116 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1501, allocations: 0.6662 MB / 0.6122 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.1537, allocations: 2.906 MB / 0.6151 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.1542, allocations: 249.3 kB / 0.6153 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.1572, allocations: 1.656 MB / 0.6169 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.1585, allocations: 1.075 MB / 0.618 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.1588, allocations: 108 kB / 0.6181 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008018/0.1596, allocations: 343.4 kB / 0.6184 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.1599, allocations: 350.3 kB / 0.6187 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000635/0.1605, allocations: 0.561 MB / 0.6193 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.1629, allocations: 1.568 MB / 0.6208 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1629, allocations: 0 / 0.6208 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1629, allocations: 0 / 0.6208 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.966e-05/0.1629, allocations: 8 kB / 0.6208 GB, free: 8.051 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.002753/0.1657, allocations: 2.179 MB / 0.623 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1657, allocations: 12.03 kB / 0.623 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/0.1662, allocations: 339.4 kB / 0.6233 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.1678, allocations: 1.213 MB / 0.6245 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.1678, allocations: 86.41 kB / 0.6246 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1679, allocations: 108.4 kB / 0.6247 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.169, allocations: 0.9535 MB / 0.6256 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.169, allocations: 0 / 0.6256 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.1691, allocations: 44 kB / 0.6256 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.1691, allocations: 24 kB / 0.6257 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.1698, allocations: 0.5637 MB / 0.6262 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.1741, allocations: 4.228 MB / 0.6303 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008726/0.175, allocations: 0.6021 MB / 0.6309 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.1753, allocations: 277.7 kB / 0.6312 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/0.1771, allocations: 1.598 MB / 0.6327 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1772, allocations: 46.05 kB / 0.6328 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 3.647e-06/0.1772, allocations: 0 / 0.6328 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.002021/0.1792, allocations: 1.169 MB / 0.6339 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1792, allocations: 123.3 kB / 0.634 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.1801, allocations: 1.089 MB / 0.6351 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.1801, allocations: 41.7 kB / 0.6352 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.1805, allocations: 0.7255 MB / 0.6359 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.1807, allocations: 392.6 kB / 0.6362 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1809, allocations: 204.5 kB / 0.6364 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.181, allocations: 0.5199 MB / 0.6369 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.1813, allocations: 170.5 kB / 0.6371 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.1818, allocations: 0.5769 MB / 0.6377 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.1825, allocations: 0.5989 MB / 0.6382 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1825, allocations: 4 kB / 0.6383 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001234/0.1837, allocations: 0.9559 MB / 0.6392 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1837, allocations: 7.984 kB / 0.6392 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1837, allocations: 4 kB / 0.6392 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.1841, allocations: 158.4 kB / 0.6393 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.1845, allocations: 207.7 kB / 0.6395 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2394/0.424, allocations: 8.88 MB / 0.6482 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.4248, allocations: 85.73 kB / 0.6483 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4249, allocations: 48.72 kB / 0.6483 GB, free: 44.02 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.0004546/0.4254, allocations: 218.8 kB / 0.6486 GB, free: 43.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.4257, allocations: 197.4 kB / 0.6487 GB, free: 43.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.428, allocations: 1.594 MB / 0.6503 GB, free: 43.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.428, allocations: 11.88 kB / 0.6503 GB, free: 43.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4281, allocations: 3.031 kB / 0.6503 GB, free: 43.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.4281, allocations: 5.281 kB / 0.6503 GB, free: 43.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.4306, allocations: 1.964 MB / 0.6522 GB, free: 42.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4306, allocations: 3.594 kB / 0.6522 GB, free: 42.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.4309, allocations: 123.5 kB / 0.6524 GB, free: 42.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003534/0.4313, allocations: 166.3 kB / 0.6525 GB, free: 42.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/0.4313, allocations: 30.11 kB / 0.6525 GB, free: 42.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.4343, allocations: 8.89 MB / 0.6612 GB, free: 34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.4343, allocations: 6.469 kB / 0.6612 GB, free: 34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.4359, allocations: 1.383 MB / 0.6626 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.4362, allocations: 239.5 kB / 0.6628 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4363, allocations: 37.7 kB / 0.6628 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.4366, allocations: 17.09 kB / 0.6629 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4367, allocations: 75.27 kB / 0.6629 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.4367, allocations: 33.73 kB / 0.663 GB, free: 33.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000652/0.4374, allocations: 0.7337 MB / 0.6637 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4374, allocations: 0 / 0.6637 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001041/0.4384, allocations: 420.5 kB / 0.6641 GB, free: 32.99 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.0009372/0.4393, allocations: 406.6 kB / 0.6645 GB, free: 32.85 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.4405, allocations: 1.403 MB / 0.6658 GB, free: 31.98 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4405, allocations: 0 / 0.6658 GB, free: 31.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.4411, allocations: 1.126 MB / 0.6669 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.4425, allocations: 0.5694 MB / 0.6675 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.4459, allocations: 2.606 MB / 0.67 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.4461, allocations: 260.8 kB / 0.6703 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000685/0.4468, allocations: 268.8 kB / 0.6706 GB, free: 29.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.447, allocations: 132.6 kB / 0.6707 GB, free: 29.56 MB / 0.5573 GB Notification: Performance of SimCode: time 1.714e-06/0.447, allocations: 0.9688 kB / 0.6707 GB, free: 29.56 MB / 0.5573 GB Notification: Performance of Templates: time 0.03238/0.4794, allocations: 23.47 MB / 0.6936 GB, free: 25.61 MB / 0.5573 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 -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.566719518974423]