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.001558/0.001558, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001752/0.001752, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7217/0.7217, allocations: 94.57 MB / 407.8 MB, free: 9.23 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 87.3 kB / 0.5562 GB, free: 38.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1146, allocations: 73.05 MB / 0.6275 GB, free: 24 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5061/0.6207, allocations: 162.9 MB / 0.7866 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.6331, allocations: 12.94 MB / 0.7992 GB, free: 1.648 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.6343, allocations: 50.88 kB / 0.7992 GB, free: 1.648 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.6359, allocations: 0.6758 MB / 0.7999 GB, free: 1.621 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.6391, allocations: 1.223 MB / 0.8011 GB, free: 1.566 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.6416, allocations: 0.9217 MB / 0.802 GB, free: 1.527 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.6435, allocations: 1.935 MB / 0.8039 GB, free: 1.527 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.6439, allocations: 222.8 kB / 0.8041 GB, free: 1.477 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.645, allocations: 0.8985 MB / 0.805 GB, free: 1.473 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.6462, allocations: 1.112 MB / 0.8061 GB, free: 1.43 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.6464, allocations: 125.9 kB / 0.8062 GB, free: 1.43 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.6493, allocations: 1.561 MB / 0.8077 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.6496, allocations: 386.9 kB / 0.8081 GB, free: 1.34 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0006074/0.6502, allocations: 0.718 MB / 0.8088 GB, free: 1.125 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.6534, allocations: 2.219 MB / 0.811 GB, free: 0.7773 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6534, allocations: 0 / 0.811 GB, free: 0.7773 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6534, allocations: 0 / 0.811 GB, free: 0.7773 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 3.115e-05/0.6534, allocations: 0 / 0.811 GB, free: 0.7773 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004101/0.6575, allocations: 1.999 MB / 0.8129 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.6575, allocations: 7.562 kB / 0.8129 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.6579, allocations: 166.5 kB / 0.8131 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.6594, allocations: 0.896 MB / 0.8139 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.6595, allocations: 126.3 kB / 0.8141 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.6596, allocations: 102.5 kB / 0.8142 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.6618, allocations: 1.488 MB / 0.8156 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.6618, allocations: 0 / 0.8156 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.6619, allocations: 36.19 kB / 0.8156 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.662, allocations: 53.88 kB / 0.8157 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.665, allocations: 2.083 MB / 0.8177 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008485/0.6735, allocations: 5.124 MB / 0.8227 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.6753, allocations: 1.242 MB / 0.824 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.6764, allocations: 0.82 MB / 0.8248 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004648/0.6811, allocations: 2.457 MB / 0.8272 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.6811, allocations: 46.5 kB / 0.8272 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=119): time 2.725e-06/0.6811, allocations: 4 kB / 0.8272 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.008547/0.6897, allocations: 4.702 MB / 0.8318 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6897, allocations: 65.09 kB / 0.8319 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.6909, allocations: 0.9163 MB / 0.8327 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.135e-05/0.691, allocations: 46.39 kB / 0.8328 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.6914, allocations: 484.2 kB / 0.8333 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.6918, allocations: 445.8 kB / 0.8337 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.6921, allocations: 235.7 kB / 0.8339 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6923, allocations: 357.5 kB / 0.8342 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.6934, allocations: 0.634 MB / 0.8349 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.6946, allocations: 0.7653 MB / 0.8356 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.6969, allocations: 1.484 MB / 0.8371 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6969, allocations: 4 kB / 0.8371 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003707/0.7006, allocations: 1.975 MB / 0.839 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7006, allocations: 12 kB / 0.839 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.7007, allocations: 3.938 kB / 0.839 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000928/0.7016, allocations: 348.6 kB / 0.8393 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.7026, allocations: 232.5 kB / 0.8396 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/0.708, allocations: 3.79 MB / 0.8433 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/0.7089, allocations: 31.98 kB / 0.8433 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.709, allocations: 59.94 kB / 0.8434 GB, free: 10.63 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (112): * Single equations (assignments): 110 * 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.0007505/0.7098, allocations: 334.5 kB / 0.8437 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.71, allocations: 131.2 kB / 0.8438 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.7145, allocations: 2.76 MB / 0.8465 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.7145, allocations: 11.94 kB / 0.8465 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.7145, allocations: 11.98 kB / 0.8465 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7145, allocations: 3.984 kB / 0.8465 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.7203, allocations: 3.402 MB / 0.8498 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.7203, allocations: 4 kB / 0.8498 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/0.7211, allocations: 167.5 kB / 0.85 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009688/0.7221, allocations: 408.4 kB / 0.8504 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.7222, allocations: 43.94 kB / 0.8504 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.7276, allocations: 3.788 MB / 0.8541 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.7276, allocations: 4 kB / 0.8541 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004936/0.7326, allocations: 2.821 MB / 0.8569 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007633/0.7333, allocations: 279 kB / 0.8572 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.7336, allocations: 27.98 kB / 0.8572 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/0.7344, allocations: 23.98 kB / 0.8572 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.7346, allocations: 96.8 kB / 0.8573 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.7347, allocations: 54.02 kB / 0.8574 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001131/0.7358, allocations: 0.712 MB / 0.858 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7358, allocations: 0 / 0.858 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001504/0.7373, allocations: 479.4 kB / 0.8585 GB, free: 10.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 77 * 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.002001/0.7393, allocations: 0.7328 MB / 0.8592 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003537/0.7428, allocations: 1.84 MB / 0.861 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.7429, allocations: 0 / 0.861 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003166/0.746, allocations: 1.145 MB / 0.8621 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.7491, allocations: 439.4 kB / 0.8626 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/0.7563, allocations: 3.132 MB / 0.8656 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.7574, allocations: 1.172 MB / 0.8668 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/0.758, allocations: 163.3 kB / 0.8669 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.758, allocations: 0 / 0.8669 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of Templates: time 0.04248/0.8005, allocations: 29.01 MB / 0.8952 GB, free: 5.578 MB / 0.6544 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.010140103055164]