Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001341/0.001341, 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.001012/0.001012, 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.8785/0.8785, allocations: 177.1 MB / 203.4 MB, free: 5.594 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.7137/0.7137, allocations: 118.6 MB / 378.6 MB, free: 1.488 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.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_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_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 1.125 kB / 483.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.603e-05, allocations: 2.312 kB / 483.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1363/0.1364, allocations: 137 MB / 0.606 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006172/0.1425, allocations: 3.699 MB / 0.6096 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.1439, allocations: 99.06 kB / 0.6097 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.145, allocations: 0.5587 MB / 0.6103 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003012/0.148, allocations: 1.323 MB / 0.6116 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.1496, allocations: 0.6662 MB / 0.6122 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003147/0.1527, allocations: 2.917 MB / 0.6151 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000557/0.1533, allocations: 241.4 kB / 0.6153 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003329/0.1566, allocations: 1.654 MB / 0.6169 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.158, allocations: 1.067 MB / 0.618 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.1583, allocations: 108 kB / 0.6181 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008692/0.1591, allocations: 351.4 kB / 0.6184 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.1594, allocations: 346.3 kB / 0.6187 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0008069/0.1602, allocations: 0.5649 MB / 0.6193 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.1625, allocations: 1.572 MB / 0.6208 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1625, allocations: 0 / 0.6208 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1625, allocations: 0 / 0.6208 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.794e-05/0.1625, allocations: 0 / 0.6208 GB, free: 8.082 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.002723/0.1653, allocations: 2.179 MB / 0.623 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1653, allocations: 8.031 kB / 0.623 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.1658, allocations: 351.3 kB / 0.6233 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.1673, allocations: 1.213 MB / 0.6245 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.1674, allocations: 82.47 kB / 0.6246 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1675, allocations: 108.4 kB / 0.6247 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1685, allocations: 0.9535 MB / 0.6256 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1685, allocations: 4 kB / 0.6256 GB, free: 3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.1686, allocations: 40 kB / 0.6256 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.1686, allocations: 28 kB / 0.6257 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.1694, allocations: 0.5559 MB / 0.6262 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.1737, allocations: 4.22 MB / 0.6303 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1747, allocations: 0.6014 MB / 0.6309 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.1751, allocations: 281.7 kB / 0.6312 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002139/0.1773, allocations: 1.594 MB / 0.6327 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.1773, allocations: 50.05 kB / 0.6328 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 3.827e-06/0.1773, allocations: 0 / 0.6328 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.002266/0.1796, allocations: 1.177 MB / 0.6339 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1796, allocations: 115.5 kB / 0.634 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1807, allocations: 1.089 MB / 0.6351 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.1808, allocations: 45.64 kB / 0.6352 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.1812, allocations: 0.7255 MB / 0.6359 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.1815, allocations: 396.6 kB / 0.6362 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.1817, allocations: 204.5 kB / 0.6364 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1819, allocations: 0.5121 MB / 0.6369 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.1822, allocations: 170.5 kB / 0.6371 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.1827, allocations: 0.5747 MB / 0.6377 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/0.1836, allocations: 0.5996 MB / 0.6382 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1836, allocations: 0 / 0.6382 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001477/0.1851, allocations: 0.9519 MB / 0.6392 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1851, allocations: 8 kB / 0.6392 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1851, allocations: 4.344 kB / 0.6392 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.1856, allocations: 162.2 kB / 0.6393 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.1861, allocations: 211.7 kB / 0.6395 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2608/0.4469, allocations: 8.877 MB / 0.6482 GB, free: 44.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000855/0.4478, allocations: 95.31 kB / 0.6483 GB, free: 44.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4479, allocations: 44.02 kB / 0.6483 GB, free: 44.09 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.0004724/0.4484, allocations: 219.1 kB / 0.6486 GB, free: 43.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003907/0.4487, allocations: 197.7 kB / 0.6487 GB, free: 43.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.4513, allocations: 1.596 MB / 0.6503 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4513, allocations: 13.28 kB / 0.6503 GB, free: 43.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.4513, allocations: 2.344 kB / 0.6503 GB, free: 43.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.4513, allocations: 5.125 kB / 0.6503 GB, free: 43.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.4539, allocations: 1.964 MB / 0.6522 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4539, allocations: 3.031 kB / 0.6522 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.4542, allocations: 125.7 kB / 0.6524 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.4546, allocations: 163.9 kB / 0.6525 GB, free: 42.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.4546, allocations: 29.56 kB / 0.6525 GB, free: 42.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/0.4578, allocations: 8.887 MB / 0.6612 GB, free: 34.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.4578, allocations: 7.281 kB / 0.6612 GB, free: 34.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.4594, allocations: 1.39 MB / 0.6626 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.4598, allocations: 235.6 kB / 0.6628 GB, free: 33.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.4599, allocations: 39.17 kB / 0.6628 GB, free: 33.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.4602, allocations: 11.81 kB / 0.6629 GB, free: 33.22 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4603, allocations: 80.25 kB / 0.6629 GB, free: 33.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.4603, allocations: 39.45 kB / 0.663 GB, free: 33.21 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006567/0.461, allocations: 0.7296 MB / 0.6637 GB, free: 33.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/0.461, allocations: 0.9688 kB / 0.6637 GB, free: 33.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001084/0.4621, allocations: 423.1 kB / 0.6641 GB, free: 33.04 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.000977/0.4631, allocations: 397.7 kB / 0.6645 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.4645, allocations: 1.401 MB / 0.6658 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4645, allocations: 0 / 0.6658 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.4651, allocations: 1.123 MB / 0.6669 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.4666, allocations: 0.5861 MB / 0.6675 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.4702, allocations: 2.591 MB / 0.67 GB, free: 29.78 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.4704, allocations: 259.9 kB / 0.6703 GB, free: 29.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007187/0.4711, allocations: 271.8 kB / 0.6705 GB, free: 29.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.4713, allocations: 132.6 kB / 0.6707 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of SimCode: time 1.603e-06/0.4713, allocations: 0 / 0.6707 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of Templates: time 0.03307/0.5044, allocations: 23.47 MB / 0.6936 GB, free: 25.6 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.462625666987151]