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.0007984/0.0007984, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001844, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007272/0.0007272, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009326/0.00166, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9277/0.9277, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09056/1.018, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.7011/0.7011, allocations: 118.7 MB / 362.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06822/0.7694, allocations: 35.84 MB / 398.5 MB, free: 13.36 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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="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="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 4.308e-06/4.308e-06, allocations: 4 kB / 399.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.557e-05, allocations: 6.312 kB / 399.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.3317/0.3317, allocations: 133.2 MB / 0.5205 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005858/0.3375, allocations: 4.039 MB / 0.5245 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.3383, allocations: 59.44 kB / 0.5245 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007311/0.339, allocations: 405.6 kB / 0.5249 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.3405, allocations: 0.8887 MB / 0.5258 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.3418, allocations: 0.6357 MB / 0.5264 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.3436, allocations: 2.208 MB / 0.5286 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.3439, allocations: 219.2 kB / 0.5288 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.3458, allocations: 1.389 MB / 0.5301 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.347, allocations: 1.072 MB / 0.5312 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.3472, allocations: 128 kB / 0.5313 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.3481, allocations: 479.2 kB / 0.5317 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.3484, allocations: 315 kB / 0.5321 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.3489, allocations: 443.1 kB / 0.5325 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.3507, allocations: 1.487 MB / 0.5339 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.3507, allocations: 0 / 0.5339 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3507, allocations: 0 / 0.5339 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.029e-05/0.3507, allocations: 0 / 0.5339 GB, free: 1.32 MB / 0.4948 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.003578/0.3543, allocations: 2.355 MB / 0.5362 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3543, allocations: 12.03 kB / 0.5362 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005823/0.3549, allocations: 198.8 kB / 0.5364 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.3561, allocations: 0.8315 MB / 0.5372 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.334e-05/0.3562, allocations: 126.1 kB / 0.5374 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3563, allocations: 111.8 kB / 0.5375 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/0.3572, allocations: 0.915 MB / 0.5384 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.3572, allocations: 0 / 0.5384 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.3573, allocations: 36 kB / 0.5384 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.3573, allocations: 49.98 kB / 0.5384 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007261/0.3581, allocations: 0.6054 MB / 0.539 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.3615, allocations: 2.703 MB / 0.5417 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.3622, allocations: 0.6219 MB / 0.5423 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.3625, allocations: 331.7 kB / 0.5426 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.364, allocations: 1.077 MB / 0.5436 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.364, allocations: 43.56 kB / 0.5437 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 2.304e-06/0.364, allocations: 0 / 0.5437 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.003155/0.3672, allocations: 2.298 MB / 0.5459 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3672, allocations: 64.41 kB / 0.546 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.3676, allocations: 0.7316 MB / 0.5467 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.3677, allocations: 45.7 kB / 0.5468 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.3679, allocations: 367.6 kB / 0.5471 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.3681, allocations: 452 kB / 0.5475 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.3683, allocations: 238.6 kB / 0.5478 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.3684, allocations: 349.8 kB / 0.5481 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.3686, allocations: 186.5 kB / 0.5483 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.3689, allocations: 0.4904 MB / 0.5488 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.3695, allocations: 0.6218 MB / 0.5494 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3695, allocations: 0 / 0.5494 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001002/0.3705, allocations: 0.8669 MB / 0.5502 GB, free: 224 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3705, allocations: 8 kB / 0.5502 GB, free: 216 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3706, allocations: 0 / 0.5502 GB, free: 216 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.371, allocations: 274.8 kB / 0.5505 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.3716, allocations: 307.4 kB / 0.5508 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.3737, allocations: 2.483 MB / 0.5532 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.374, allocations: 38.05 kB / 0.5532 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.3741, allocations: 43.94 kB / 0.5533 GB, free: 12.98 MB / 0.5261 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.000209/0.3743, allocations: 172.4 kB / 0.5534 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.3745, allocations: 119.9 kB / 0.5535 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.3758, allocations: 1.278 MB / 0.5548 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3758, allocations: 12 kB / 0.5548 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3758, allocations: 8 kB / 0.5548 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3758, allocations: 11.97 kB / 0.5548 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.3778, allocations: 1.795 MB / 0.5566 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3778, allocations: 12 kB / 0.5566 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.3783, allocations: 246 kB / 0.5568 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.3786, allocations: 199 kB / 0.557 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/0.379, allocations: 331.4 kB / 0.5573 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.3791, allocations: 48.98 kB / 0.5574 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.381, allocations: 2.508 MB / 0.5598 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.381, allocations: 7.938 kB / 0.5598 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3823, allocations: 1.363 MB / 0.5612 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.3824, allocations: 32 kB / 0.5612 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.3827, allocations: 23.98 kB / 0.5612 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3828, allocations: 116.7 kB / 0.5613 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.3829, allocations: 45.61 kB / 0.5614 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002403/0.3831, allocations: 377.8 kB / 0.5617 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.3831, allocations: 0 / 0.5617 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006976/0.3838, allocations: 435.7 kB / 0.5622 GB, free: 3.613 MB / 0.5261 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.001122/0.3849, allocations: 0.5893 MB / 0.5627 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.3861, allocations: 1.066 MB / 0.5638 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-05/0.3861, allocations: 19.98 kB / 0.5638 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.3869, allocations: 0.7776 MB / 0.5645 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.388, allocations: 0.6375 MB / 0.5652 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.4026, allocations: 2.443 MB / 0.5676 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.4028, allocations: 290.3 kB / 0.5678 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005858/0.4034, allocations: 224.7 kB / 0.568 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.4041, allocations: 409 kB / 0.5684 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.283e-06/0.4041, allocations: 0 / 0.5684 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.02775/0.4319, allocations: 27.88 MB / 0.5957 GB, free: 1.789 MB / 0.5573 GB " [Timeout remaining time 660] 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 -ignoreHideResult -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.171775210648775]