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.001146/0.001146, 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.00098/0.00098, allocations: 169.3 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 1.084/1.084, 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.7319/0.7319, allocations: 118.6 MB / 378.6 MB, free: 1.496 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 2.315e-06/2.315e-06, allocations: 0 / 483.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/3.949e-05, allocations: 2.312 kB / 483.6 MB, free: 8.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1535/0.1536, allocations: 133.8 MB / 0.6029 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006173/0.1597, allocations: 3.965 MB / 0.6068 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1608, allocations: 55.5 kB / 0.6069 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009616/0.1618, allocations: 397.6 kB / 0.6073 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.1638, allocations: 0.8927 MB / 0.6081 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1654, allocations: 0.6501 MB / 0.6088 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.1677, allocations: 2.206 MB / 0.6109 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.1682, allocations: 207.9 kB / 0.6111 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.1702, allocations: 1.266 MB / 0.6123 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.1713, allocations: 1.013 MB / 0.6133 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.1715, allocations: 128 kB / 0.6135 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009123/0.1725, allocations: 467.3 kB / 0.6139 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.1727, allocations: 426.5 kB / 0.6143 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.1733, allocations: 0.53 MB / 0.6148 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.1753, allocations: 1.647 MB / 0.6164 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1753, allocations: 0 / 0.6164 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1753, allocations: 0 / 0.6164 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.514e-05/0.1754, allocations: 0 / 0.6164 GB, free: 12.57 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.003346/0.1787, allocations: 2.142 MB / 0.6185 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1788, allocations: 8.031 kB / 0.6185 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.1793, allocations: 263.8 kB / 0.6188 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.1806, allocations: 1.007 MB / 0.6198 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.1807, allocations: 125.7 kB / 0.6199 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.1809, allocations: 103.9 kB / 0.62 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.1822, allocations: 1.007 MB / 0.621 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.1822, allocations: 0 / 0.621 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.1823, allocations: 36 kB / 0.621 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.1824, allocations: 53.98 kB / 0.6211 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.1839, allocations: 1.01 MB / 0.622 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.1892, allocations: 3.597 MB / 0.6256 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1903, allocations: 0.7838 MB / 0.6263 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.1908, allocations: 453.3 kB / 0.6268 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.193, allocations: 1.386 MB / 0.6281 GB, free: 380 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.193, allocations: 50.39 kB / 0.6282 GB, free: 320 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 3.747e-06/0.193, allocations: 0 / 0.6282 GB, free: 320 kB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.00512/0.1981, allocations: 3.054 MB / 0.6311 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1982, allocations: 68.34 kB / 0.6312 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.199, allocations: 0.8538 MB / 0.632 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.199, allocations: 45.7 kB / 0.6321 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.1995, allocations: 0.5512 MB / 0.6326 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.1998, allocations: 448.2 kB / 0.6331 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.2001, allocations: 260.4 kB / 0.6333 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2002, allocations: 0.5238 MB / 0.6338 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.2007, allocations: 286.4 kB / 0.6341 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.2013, allocations: 0.6517 MB / 0.6347 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.2023, allocations: 0.8179 MB / 0.6355 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2023, allocations: 0 / 0.6355 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001938/0.2043, allocations: 1.3 MB / 0.6368 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.2043, allocations: 14.75 kB / 0.6368 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.2043, allocations: 4 kB / 0.6368 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/0.205, allocations: 292.5 kB / 0.6371 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.2057, allocations: 239.6 kB / 0.6373 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/0.2092, allocations: 3.354 MB / 0.6406 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/0.2099, allocations: 43.97 kB / 0.6406 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/0.21, allocations: 55.94 kB / 0.6407 GB, free: 3.109 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.0004162/0.2104, allocations: 212.4 kB / 0.6409 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.2108, allocations: 187 kB / 0.6411 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.213, allocations: 1.646 MB / 0.6427 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.213, allocations: 16 kB / 0.6427 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.213, allocations: 4 kB / 0.6427 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.2131, allocations: 11.97 kB / 0.6427 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3186/0.5317, allocations: 2.617 MB / 0.6453 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/0.5317, allocations: 6.375 kB / 0.6453 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/0.5324, allocations: 199.5 kB / 0.6455 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008466/0.5333, allocations: 345.1 kB / 0.6458 GB, free: 41.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.5334, allocations: 58.55 kB / 0.6458 GB, free: 41.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.5368, allocations: 3.373 MB / 0.6491 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.5368, allocations: 4.469 kB / 0.6491 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.5398, allocations: 1.873 MB / 0.651 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.5404, allocations: 270.6 kB / 0.6512 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5405, allocations: 30.69 kB / 0.6513 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.5409, allocations: 34.67 kB / 0.6513 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.5411, allocations: 124.1 kB / 0.6514 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.5412, allocations: 55.09 kB / 0.6515 GB, free: 39.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005575/0.5417, allocations: 0.5423 MB / 0.652 GB, free: 38.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.5417, allocations: 1.641 kB / 0.652 GB, free: 38.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001098/0.5428, allocations: 428 kB / 0.6524 GB, free: 38.89 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.001115/0.5439, allocations: 452.8 kB / 0.6528 GB, free: 38.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.5459, allocations: 1.318 MB / 0.6541 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.5459, allocations: 3.594 kB / 0.6541 GB, free: 38.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.547, allocations: 0.9376 MB / 0.655 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.5483, allocations: 0.5264 MB / 0.6555 GB, free: 38.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.5523, allocations: 2.634 MB / 0.6581 GB, free: 37.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.5526, allocations: 287.5 kB / 0.6584 GB, free: 36.99 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008573/0.5534, allocations: 297 kB / 0.6587 GB, free: 36.92 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.5537, allocations: 143.9 kB / 0.6588 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/0.5537, allocations: 0.8125 kB / 0.6588 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.0369/0.5907, allocations: 25.05 MB / 0.6833 GB, free: 32.69 MB / 0.5573 GB " [Timeout remaining time 659] 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: 5.019780118018389]