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.001639/0.001639, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001974/0.001974, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.789 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.7529/0.7529, allocations: 94.61 MB / 407 MB, free: 8.84 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.002552/0.002552, allocations: 84.28 kB / 0.5554 GB, free: 38.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.116, allocations: 73.05 MB / 0.6268 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4673/0.5833, allocations: 140.6 MB / 0.7641 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.5975, allocations: 11.74 MB / 0.7756 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.5987, allocations: 51.03 kB / 0.7756 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.6004, allocations: 0.6159 MB / 0.7762 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.6038, allocations: 1.196 MB / 0.7774 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.6068, allocations: 0.9099 MB / 0.7783 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00221/0.609, allocations: 1.932 MB / 0.7801 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000511/0.6096, allocations: 211 kB / 0.7804 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.6111, allocations: 0.9018 MB / 0.7812 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.6128, allocations: 1.055 MB / 0.7823 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003787/0.6132, allocations: 129.9 kB / 0.7824 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.6162, allocations: 1.326 MB / 0.7837 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.6167, allocations: 387 kB / 0.784 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009148/0.6176, allocations: 0.6003 MB / 0.7846 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.6207, allocations: 2.183 MB / 0.7868 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6207, allocations: 0 / 0.7868 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6207, allocations: 0.9375 kB / 0.7868 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.985e-05/0.6207, allocations: 0 / 0.7868 GB, free: 2.738 MB / 0.5762 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.004266/0.625, allocations: 2.001 MB / 0.7887 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.625, allocations: 8.969 kB / 0.7887 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.6255, allocations: 180.7 kB / 0.7889 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.627, allocations: 0.9016 MB / 0.7898 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.6271, allocations: 123.6 kB / 0.7899 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.6273, allocations: 97.08 kB / 0.79 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.6293, allocations: 1.555 MB / 0.7915 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.6293, allocations: 6.234 kB / 0.7915 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.654e-05/0.6294, allocations: 36.66 kB / 0.7916 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.6295, allocations: 52.66 kB / 0.7916 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.6321, allocations: 2.064 MB / 0.7936 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007295/0.6394, allocations: 3.984 MB / 0.7975 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.641, allocations: 1.231 MB / 0.7987 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.642, allocations: 0.8238 MB / 0.7995 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003431/0.6455, allocations: 1.597 MB / 0.8011 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.6455, allocations: 45.97 kB / 0.8011 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=120): time 3.636e-06/0.6455, allocations: 0.9375 kB / 0.8011 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122): time 0.008335/0.6538, allocations: 4.711 MB / 0.8057 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.6539, allocations: 67.56 kB / 0.8058 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.6549, allocations: 0.7966 MB / 0.8066 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.655, allocations: 48.11 kB / 0.8066 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.6554, allocations: 485 kB / 0.8071 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.6558, allocations: 451.8 kB / 0.8075 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.6562, allocations: 234.8 kB / 0.8077 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6563, allocations: 354.4 kB / 0.8081 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.6573, allocations: 0.6306 MB / 0.8087 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.6585, allocations: 0.8292 MB / 0.8095 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.6609, allocations: 1.493 MB / 0.811 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6609, allocations: 7.625 kB / 0.811 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003452/0.6643, allocations: 1.971 MB / 0.8129 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6643, allocations: 5.469 kB / 0.8129 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.6644, allocations: 4.5 kB / 0.8129 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008747/0.6652, allocations: 348.3 kB / 0.8132 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009857/0.6662, allocations: 225.6 kB / 0.8134 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005152/0.6714, allocations: 3.704 MB / 0.8171 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000983/0.6723, allocations: 32.84 kB / 0.8171 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.6725, allocations: 60.94 kB / 0.8171 GB, free: 8.438 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0006673/0.6732, allocations: 330 kB / 0.8175 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.6735, allocations: 138.6 kB / 0.8176 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.6778, allocations: 2.753 MB / 0.8203 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.6778, allocations: 10.72 kB / 0.8203 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.6778, allocations: 9.719 kB / 0.8203 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.6778, allocations: 3.984 kB / 0.8203 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/0.6828, allocations: 2.86 MB / 0.8231 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.6829, allocations: 3.469 kB / 0.8231 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.6837, allocations: 169.4 kB / 0.8233 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009705/0.6847, allocations: 401.7 kB / 0.8236 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.6848, allocations: 44.66 kB / 0.8237 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.6902, allocations: 3.702 MB / 0.8273 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6902, allocations: 6.625 kB / 0.8273 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004816/0.6951, allocations: 2.812 MB / 0.8301 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007324/0.6958, allocations: 262.6 kB / 0.8303 GB, free: 356 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.696, allocations: 32.58 kB / 0.8303 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.6968, allocations: 32.58 kB / 0.8304 GB, free: 312 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.697, allocations: 99.28 kB / 0.8305 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.6971, allocations: 48.78 kB / 0.8305 GB, free: 224 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009027/0.698, allocations: 0.6081 MB / 0.8311 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.698, allocations: 0 / 0.8311 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00158/0.6996, allocations: 474.5 kB / 0.8316 GB, free: 15.6 MB / 0.6075 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.002209/0.7018, allocations: 0.7376 MB / 0.8323 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003751/0.7056, allocations: 1.829 MB / 0.8341 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.7056, allocations: 4.969 kB / 0.8341 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.7078, allocations: 1.141 MB / 0.8352 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.7095, allocations: 325.7 kB / 0.8355 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.7154, allocations: 3.049 MB / 0.8385 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.7162, allocations: 0.5899 MB / 0.839 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001186/0.7173, allocations: 315 kB / 0.8393 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.7178, allocations: 127.3 kB / 0.8395 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of SimCode: time 5.2e-07/0.7178, allocations: 0 / 0.8395 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.0437/0.7615, allocations: 25.85 MB / 0.8647 GB, free: 14.24 MB / 0.6387 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/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: 6.926080644130707]