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.001021/0.001021, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001064/0.001064, allocations: 165 kB / 24.06 MB, free: 448 kB / 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.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.7385/0.7385, allocations: 118.6 MB / 379.7 MB, free: 1.328 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.144e-06/2.144e-06, allocations: 0 / 484.8 MB, free: 8.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.798e-05, allocations: 2.312 kB / 484.8 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1387/0.1388, allocations: 130.9 MB / 0.6013 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006174/0.1449, allocations: 3.934 MB / 0.6051 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.1463, allocations: 55.5 kB / 0.6052 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.1474, allocations: 393.6 kB / 0.6055 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.1493, allocations: 0.9004 MB / 0.6064 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.1509, allocations: 0.6424 MB / 0.607 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.1534, allocations: 2.203 MB / 0.6092 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.1538, allocations: 211.8 kB / 0.6094 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.1562, allocations: 1.333 MB / 0.6107 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.1574, allocations: 1.087 MB / 0.6118 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.1577, allocations: 128 kB / 0.6119 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009064/0.1586, allocations: 467.3 kB / 0.6123 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.1589, allocations: 414.5 kB / 0.6127 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005707/0.1594, allocations: 0.5339 MB / 0.6132 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.1615, allocations: 1.643 MB / 0.6148 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1615, allocations: 0 / 0.6148 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1615, allocations: 0 / 0.6148 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.1615, allocations: 0 / 0.6148 GB, free: 15.16 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.002829/0.1644, allocations: 2.114 MB / 0.6169 GB, free: 13 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1644, allocations: 12.03 kB / 0.6169 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.1648, allocations: 263.8 kB / 0.6172 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.1661, allocations: 0.9506 MB / 0.6181 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.1662, allocations: 133.9 kB / 0.6182 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.1663, allocations: 103.9 kB / 0.6183 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.1676, allocations: 0.9089 MB / 0.6192 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.1676, allocations: 0 / 0.6192 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.1677, allocations: 40 kB / 0.6193 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/0.1678, allocations: 49.92 kB / 0.6193 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.169, allocations: 0.6845 MB / 0.62 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005601/0.1746, allocations: 3.401 MB / 0.6233 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.1756, allocations: 0.6994 MB / 0.624 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.1761, allocations: 385.3 kB / 0.6243 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002277/0.1784, allocations: 1.37 MB / 0.6257 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1784, allocations: 50.38 kB / 0.6257 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 2.695e-06/0.1784, allocations: 0 / 0.6257 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.004913/0.1833, allocations: 2.595 MB / 0.6283 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1834, allocations: 68.41 kB / 0.6283 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/0.1842, allocations: 0.8414 MB / 0.6291 GB, free: 200 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.1843, allocations: 49.7 kB / 0.6292 GB, free: 144 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.1846, allocations: 0.5511 MB / 0.6297 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005162/0.1852, allocations: 460 kB / 0.6302 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.1855, allocations: 264.3 kB / 0.6304 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1857, allocations: 0.5276 MB / 0.6309 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.1861, allocations: 226.4 kB / 0.6312 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.1867, allocations: 0.5853 MB / 0.6317 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.1878, allocations: 0.7084 MB / 0.6324 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1878, allocations: 0 / 0.6324 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002029/0.1898, allocations: 1.147 MB / 0.6335 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1898, allocations: 8 kB / 0.6335 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.1898, allocations: 7.938 kB / 0.6336 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007052/0.1906, allocations: 284.5 kB / 0.6338 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/0.1913, allocations: 239.6 kB / 0.6341 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.1948, allocations: 3.25 MB / 0.6372 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.1955, allocations: 37.86 kB / 0.6373 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.1956, allocations: 51.94 kB / 0.6373 GB, free: 7.531 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.0008557/0.1965, allocations: 220.3 kB / 0.6375 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.1969, allocations: 171.2 kB / 0.6377 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.1992, allocations: 1.548 MB / 0.6392 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.1992, allocations: 12 kB / 0.6392 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.1992, allocations: 4 kB / 0.6392 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.1992, allocations: 7.969 kB / 0.6392 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.2028, allocations: 2.329 MB / 0.6415 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.2028, allocations: 12.12 kB / 0.6415 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.2035, allocations: 199.6 kB / 0.6417 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007092/0.2042, allocations: 339.3 kB / 0.642 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.2043, allocations: 59.94 kB / 0.6421 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2787/0.4829, allocations: 3.247 MB / 0.6452 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4829, allocations: 9.25 kB / 0.6453 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.4856, allocations: 1.716 MB / 0.6469 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.4861, allocations: 256.5 kB / 0.6472 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.4862, allocations: 30.19 kB / 0.6472 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.4867, allocations: 26.06 kB / 0.6472 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.4869, allocations: 121.4 kB / 0.6473 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/0.4869, allocations: 53.58 kB / 0.6474 GB, free: 48.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004676/0.4874, allocations: 0.504 MB / 0.6479 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4874, allocations: 1 kB / 0.6479 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001214/0.4886, allocations: 425.2 kB / 0.6483 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.0009933/0.4896, allocations: 471.8 kB / 0.6487 GB, free: 48.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.4915, allocations: 1.217 MB / 0.6499 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.4915, allocations: 0 / 0.6499 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.4926, allocations: 0.8812 MB / 0.6508 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.494, allocations: 0.5144 MB / 0.6513 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.4975, allocations: 2.622 MB / 0.6539 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.4978, allocations: 286.2 kB / 0.6541 GB, free: 46.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008213/0.4986, allocations: 226.4 kB / 0.6543 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007447/0.4993, allocations: 470.7 kB / 0.6548 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of SimCode: time 1.863e-06/0.4993, allocations: 0 / 0.6548 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of Templates: time 0.0388/0.5381, allocations: 27.54 MB / 0.6817 GB, free: 41.28 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: 4.779591770842671]