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.001808/0.001808, allocations: 85.48 kB / 19.44 MB, free: 344 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.002011/0.002011, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.07/1.07, allocations: 118.6 MB / 378.2 MB, free: 1.5 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.673e-06/1.673e-06, allocations: 0 / 482.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.899e-05, allocations: 4.062 kB / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.2294/0.2294, allocations: 157.3 MB / 0.6252 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02008/0.2495, allocations: 12.49 MB / 0.6374 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.2508, allocations: 59.44 kB / 0.6374 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.2528, allocations: 0.6369 MB / 0.638 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.2571, allocations: 1.335 MB / 0.6394 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.2604, allocations: 0.9727 MB / 0.6403 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003439/0.2639, allocations: 2.202 MB / 0.6425 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.2644, allocations: 211.8 kB / 0.6427 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.2674, allocations: 1.266 MB / 0.6439 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2924/0.5598, allocations: 1.005 MB / 0.6449 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0008786/0.5607, allocations: 129.4 kB / 0.645 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.5651, allocations: 1.343 MB / 0.6463 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009769/0.5661, allocations: 424.3 kB / 0.6467 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.5683, allocations: 0.5346 MB / 0.6472 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004827/0.5731, allocations: 2.403 MB / 0.6496 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5731, allocations: 0 / 0.6496 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5731, allocations: 0 / 0.6496 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.5731, allocations: 0 / 0.6496 GB, free: 15.78 MB / 0.5573 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.004303/0.5774, allocations: 2.285 MB / 0.6518 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5775, allocations: 9.938 kB / 0.6518 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.578, allocations: 270.5 kB / 0.6521 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.5797, allocations: 0.9903 MB / 0.653 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.5798, allocations: 130.5 kB / 0.6532 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.5799, allocations: 101.6 kB / 0.6533 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.5819, allocations: 1.317 MB / 0.6546 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.5819, allocations: 9 kB / 0.6546 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.582, allocations: 38.73 kB / 0.6546 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.5821, allocations: 48.05 kB / 0.6546 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.5845, allocations: 1.533 MB / 0.6561 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008546/0.593, allocations: 4.167 MB / 0.6602 GB, free: 29.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.5947, allocations: 0.9645 MB / 0.6612 GB, free: 29.25 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.5957, allocations: 0.5945 MB / 0.6617 GB, free: 29.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00415/0.5999, allocations: 1.594 MB / 0.6633 GB, free: 28.84 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.5999, allocations: 46.88 kB / 0.6633 GB, free: 28.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=120): time 2.936e-06/0.5999, allocations: 0.9688 kB / 0.6633 GB, free: 28.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=122): time 0.009391/0.6093, allocations: 3.849 MB / 0.6671 GB, free: 28.28 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.136e-05/0.6094, allocations: 64.53 kB / 0.6672 GB, free: 28.21 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.6109, allocations: 1.041 MB / 0.6682 GB, free: 28 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6111, allocations: 49.17 kB / 0.6682 GB, free: 27.97 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.6115, allocations: 0.5845 MB / 0.6688 GB, free: 27.73 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.6118, allocations: 476.1 kB / 0.6692 GB, free: 27.43 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/0.6123, allocations: 285.5 kB / 0.6695 GB, free: 27.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000311/0.6126, allocations: 0.5409 MB / 0.67 GB, free: 26.92 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000953/0.6136, allocations: 457.2 kB / 0.6705 GB, free: 26.92 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.6148, allocations: 0.8395 MB / 0.6713 GB, free: 26.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.617, allocations: 1.23 MB / 0.6725 GB, free: 26.41 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.617, allocations: 0.75 kB / 0.6725 GB, free: 26.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003185/0.6202, allocations: 1.681 MB / 0.6741 GB, free: 26.26 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6202, allocations: 5.438 kB / 0.6741 GB, free: 26.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.6202, allocations: 10.62 kB / 0.6742 GB, free: 26.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.6212, allocations: 349 kB / 0.6745 GB, free: 26.24 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.6222, allocations: 242.2 kB / 0.6747 GB, free: 26.24 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.6273, allocations: 4.209 MB / 0.6788 GB, free: 24.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.6284, allocations: 41.69 kB / 0.6789 GB, free: 24.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.6286, allocations: 58.56 kB / 0.6789 GB, free: 24.21 MB / 0.573 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.0005961/0.6292, allocations: 314.3 kB / 0.6792 GB, free: 24.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/0.6296, allocations: 177.8 kB / 0.6794 GB, free: 23.97 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/0.6335, allocations: 2.839 MB / 0.6822 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6335, allocations: 12.5 kB / 0.6822 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6335, allocations: 9.375 kB / 0.6822 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6335, allocations: 3.188 kB / 0.6822 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.6378, allocations: 2.708 MB / 0.6848 GB, free: 23.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.6378, allocations: 5.125 kB / 0.6848 GB, free: 23.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/0.6386, allocations: 177.1 kB / 0.685 GB, free: 23.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009563/0.6396, allocations: 399.2 kB / 0.6854 GB, free: 23.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.6397, allocations: 51.23 kB / 0.6854 GB, free: 23.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.6447, allocations: 4.21 MB / 0.6896 GB, free: 21.14 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6447, allocations: 5.875 kB / 0.6896 GB, free: 21.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/0.6487, allocations: 2.264 MB / 0.6918 GB, free: 20.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007804/0.6495, allocations: 259.2 kB / 0.692 GB, free: 20.68 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.6497, allocations: 25.81 kB / 0.692 GB, free: 20.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.6505, allocations: 29.23 kB / 0.6921 GB, free: 20.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.6507, allocations: 99.38 kB / 0.6922 GB, free: 20.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.6508, allocations: 56.5 kB / 0.6922 GB, free: 20.68 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009562/0.6518, allocations: 0.692 MB / 0.6929 GB, free: 20.52 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.6518, allocations: 1.031 kB / 0.6929 GB, free: 20.52 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001651/0.6534, allocations: 499.3 kB / 0.6934 GB, free: 20.49 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (78): * Single equations (assignments): 76 * 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.003051/0.6565, allocations: 0.7389 MB / 0.6941 GB, free: 20.29 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003152/0.6596, allocations: 1.638 MB / 0.6957 GB, free: 20 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6596, allocations: 0.9375 kB / 0.6957 GB, free: 20 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.6614, allocations: 1.065 MB / 0.6967 GB, free: 19.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.664, allocations: 0.5231 MB / 0.6972 GB, free: 19.67 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.6684, allocations: 2.671 MB / 0.6999 GB, free: 18.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.6689, allocations: 0.5891 MB / 0.7004 GB, free: 18.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001205/0.6701, allocations: 309.5 kB / 0.7007 GB, free: 18.39 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.6705, allocations: 144.8 kB / 0.7009 GB, free: 18.38 MB / 0.573 GB Notification: Performance of SimCode: time 1.874e-06/0.6705, allocations: 0 / 0.7009 GB, free: 18.38 MB / 0.573 GB Notification: Performance of Templates: time 0.04193/0.7125, allocations: 28.41 MB / 0.7286 GB, free: 7.672 MB / 0.573 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=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","/var/lib/jenkins/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: 7.743464184110053]