Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001044/0.001044, 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.001544/0.001544, 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 0.9285/0.9285, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.6347/0.6347, allocations: 118.6 MB / 378.6 MB, free: 1.523 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.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_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_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.031e-05, allocations: 2.312 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.122/0.122, allocations: 133.8 MB / 0.603 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005024/0.1271, allocations: 3.965 MB / 0.6068 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.1277, allocations: 55.5 kB / 0.6069 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007693/0.1285, allocations: 397.6 kB / 0.6073 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.1301, allocations: 0.8888 MB / 0.6081 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1314, allocations: 0.6541 MB / 0.6088 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.1333, allocations: 2.203 MB / 0.6109 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.1337, allocations: 219.7 kB / 0.6111 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.1354, allocations: 1.255 MB / 0.6124 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.1365, allocations: 1.013 MB / 0.6133 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.1367, allocations: 132 kB / 0.6135 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008531/0.1376, allocations: 467.3 kB / 0.6139 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.1379, allocations: 418.5 kB / 0.6143 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.1384, allocations: 0.5378 MB / 0.6148 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.1404, allocations: 1.639 MB / 0.6164 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1404, allocations: 0 / 0.6164 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1404, allocations: 0 / 0.6164 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.037e-05/0.1404, allocations: 4 kB / 0.6164 GB, free: 12.61 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.002987/0.1434, allocations: 2.146 MB / 0.6185 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1434, allocations: 12.03 kB / 0.6186 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/0.1439, allocations: 263.8 kB / 0.6188 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.1451, allocations: 1.005 MB / 0.6198 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-05/0.1452, allocations: 129.7 kB / 0.6199 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.1453, allocations: 104 kB / 0.62 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.1466, allocations: 1.007 MB / 0.621 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1466, allocations: 0 / 0.621 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.1467, allocations: 36 kB / 0.621 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.1467, allocations: 45.98 kB / 0.6211 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.1482, allocations: 1.018 MB / 0.6221 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005075/0.1533, allocations: 3.605 MB / 0.6256 GB, free: 3.043 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1543, allocations: 0.7699 MB / 0.6263 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.1549, allocations: 449.4 kB / 0.6268 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002091/0.157, allocations: 1.394 MB / 0.6281 GB, free: 412 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.157, allocations: 46.39 kB / 0.6282 GB, free: 356 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 2.986e-06/0.1571, allocations: 0 / 0.6282 GB, free: 356 kB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.004999/0.1621, allocations: 3.05 MB / 0.6311 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1621, allocations: 68.34 kB / 0.6312 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/0.1628, allocations: 0.8538 MB / 0.632 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.1629, allocations: 45.7 kB / 0.6321 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.1632, allocations: 0.5551 MB / 0.6326 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.1634, allocations: 448.2 kB / 0.6331 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.1637, allocations: 260.4 kB / 0.6333 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1638, allocations: 0.5277 MB / 0.6338 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.1643, allocations: 286.4 kB / 0.6341 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.1649, allocations: 0.6517 MB / 0.6347 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.166, allocations: 0.8179 MB / 0.6355 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.166, allocations: 0 / 0.6355 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001825/0.1678, allocations: 1.3 MB / 0.6368 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1678, allocations: 4 kB / 0.6368 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.1678, allocations: 4 kB / 0.6368 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.1684, allocations: 288.5 kB / 0.6371 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.169, allocations: 239.6 kB / 0.6373 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.1718, allocations: 3.361 MB / 0.6406 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.1723, allocations: 35.98 kB / 0.6406 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.1723, allocations: 67.94 kB / 0.6407 GB, free: 3.141 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.0002808/0.1726, allocations: 216.4 kB / 0.6409 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.173, allocations: 183 kB / 0.6411 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.175, allocations: 1.649 MB / 0.6427 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.175, allocations: 12 kB / 0.6427 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.175, allocations: 4 kB / 0.6427 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1751, allocations: 7.969 kB / 0.6427 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1923/0.3674, allocations: 2.619 MB / 0.6453 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.3674, allocations: 5.375 kB / 0.6453 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.368, allocations: 198.2 kB / 0.6455 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006924/0.3687, allocations: 345.7 kB / 0.6458 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.817e-05/0.3688, allocations: 55.03 kB / 0.6458 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.3714, allocations: 3.374 MB / 0.6491 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.3714, allocations: 5.656 kB / 0.6491 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.374, allocations: 1.871 MB / 0.651 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.3744, allocations: 265 kB / 0.6512 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.3745, allocations: 38.92 kB / 0.6513 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.3749, allocations: 30.89 kB / 0.6513 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.375, allocations: 120.1 kB / 0.6514 GB, free: 45.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.3751, allocations: 66.17 kB / 0.6515 GB, free: 45.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004387/0.3756, allocations: 0.5328 MB / 0.652 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.3756, allocations: 0.8438 kB / 0.652 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008741/0.3764, allocations: 431.9 kB / 0.6524 GB, free: 45.59 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.0008947/0.3773, allocations: 461.3 kB / 0.6528 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.379, allocations: 1.328 MB / 0.6541 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.379, allocations: 0 / 0.6541 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000963/0.38, allocations: 0.9304 MB / 0.655 GB, free: 44.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.3813, allocations: 0.5191 MB / 0.6556 GB, free: 44.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.3847, allocations: 2.643 MB / 0.6581 GB, free: 43.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.3849, allocations: 291.8 kB / 0.6584 GB, free: 43.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007191/0.3856, allocations: 295.9 kB / 0.6587 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.3859, allocations: 148.1 kB / 0.6588 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.183e-06/0.3859, allocations: 0 / 0.6588 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.02967/0.4156, allocations: 25.03 MB / 0.6833 GB, free: 38.99 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.46220219694078]