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.001516/0.001516, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001786/0.001786, allocations: 213.9 kB / 23 MB, free: 5.113 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7323/0.7323, allocations: 100.3 MB / 413.5 MB, free: 3.637 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="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_dev_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_dev_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.002411/0.002411, allocations: 88.31 kB / 0.5645 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1126, allocations: 74.47 MB / 0.6372 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.446/0.5586, allocations: 162.9 MB / 0.7962 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.5718, allocations: 12.94 MB / 0.8089 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.573, allocations: 54.78 kB / 0.8089 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.5748, allocations: 0.6682 MB / 0.8096 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.5782, allocations: 1.224 MB / 0.8108 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.5808, allocations: 0.9201 MB / 0.8117 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002526/0.5833, allocations: 1.945 MB / 0.8136 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.5838, allocations: 218.8 kB / 0.8138 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.5853, allocations: 0.8998 MB / 0.8147 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.587, allocations: 1.115 MB / 0.8157 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003481/0.5873, allocations: 126.8 kB / 0.8159 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.5908, allocations: 1.569 MB / 0.8174 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/0.5913, allocations: 381.8 kB / 0.8178 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.5923, allocations: 0.7241 MB / 0.8185 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.5964, allocations: 2.202 MB / 0.8206 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5964, allocations: 3.984 kB / 0.8206 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5964, allocations: 0 / 0.8206 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.605e-05/0.5965, allocations: 0 / 0.8206 GB, free: 9.492 MB / 0.5919 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.004862/0.6013, allocations: 2.009 MB / 0.8226 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.6014, allocations: 10.47 kB / 0.8226 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/0.6017, allocations: 158.8 kB / 0.8228 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.6036, allocations: 0.8973 MB / 0.8236 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.6037, allocations: 123.6 kB / 0.8237 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.6039, allocations: 101.1 kB / 0.8238 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.6062, allocations: 1.485 MB / 0.8253 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.6062, allocations: 0 / 0.8253 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/0.6063, allocations: 39.88 kB / 0.8253 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.6064, allocations: 58.23 kB / 0.8254 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.6095, allocations: 2.081 MB / 0.8274 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008668/0.6181, allocations: 5.126 MB / 0.8324 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.62, allocations: 1.244 MB / 0.8336 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.6211, allocations: 0.8152 MB / 0.8344 GB, free: 452 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004864/0.6259, allocations: 2.446 MB / 0.8368 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.626, allocations: 48.25 kB / 0.8369 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=119): time 2.825e-06/0.626, allocations: 0 / 0.8369 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121): time 0.009017/0.635, allocations: 4.714 MB / 0.8415 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.635, allocations: 62.5 kB / 0.8415 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.6363, allocations: 0.9324 MB / 0.8424 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.504e-05/0.6364, allocations: 46.73 kB / 0.8425 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.6368, allocations: 472.1 kB / 0.8429 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.6371, allocations: 443.2 kB / 0.8434 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003853/0.6375, allocations: 241.7 kB / 0.8436 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6377, allocations: 356.3 kB / 0.8439 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009618/0.6387, allocations: 0.6292 MB / 0.8445 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.6399, allocations: 0.7683 MB / 0.8453 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.6423, allocations: 1.48 MB / 0.8467 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.391e-06/0.6423, allocations: 4 kB / 0.8467 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003672/0.646, allocations: 1.984 MB / 0.8487 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.646, allocations: 4 kB / 0.8487 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.646, allocations: 4 kB / 0.8487 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009676/0.647, allocations: 352.6 kB / 0.849 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.648, allocations: 227.6 kB / 0.8492 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005455/0.6535, allocations: 3.793 MB / 0.8529 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/0.6544, allocations: 35.98 kB / 0.853 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.6546, allocations: 55.94 kB / 0.853 GB, free: 1.137 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.0006247/0.6552, allocations: 334.6 kB / 0.8534 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/0.6555, allocations: 131.2 kB / 0.8535 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/0.6601, allocations: 2.768 MB / 0.8562 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.6601, allocations: 12 kB / 0.8562 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.6601, allocations: 8.625 kB / 0.8562 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6601, allocations: 3.984 kB / 0.8562 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00578/0.6659, allocations: 3.392 MB / 0.8595 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6659, allocations: 4 kB / 0.8595 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.6667, allocations: 182.4 kB / 0.8597 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009287/0.6677, allocations: 400.8 kB / 0.8601 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.6678, allocations: 51.86 kB / 0.8601 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005316/0.6731, allocations: 3.783 MB / 0.8638 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6731, allocations: 3.938 kB / 0.8638 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004703/0.6778, allocations: 2.824 MB / 0.8666 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007463/0.6786, allocations: 275 kB / 0.8668 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.6788, allocations: 23.95 kB / 0.8669 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/0.6795, allocations: 27.98 kB / 0.8669 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.6797, allocations: 100.8 kB / 0.867 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.6798, allocations: 51.88 kB / 0.867 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001049/0.6809, allocations: 0.7081 MB / 0.8677 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6809, allocations: 3.938 kB / 0.8677 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001487/0.6823, allocations: 487.4 kB / 0.8682 GB, free: 1.359 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.001979/0.6843, allocations: 0.7294 MB / 0.8689 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003427/0.6877, allocations: 1.827 MB / 0.8707 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6878, allocations: 0 / 0.8707 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.6898, allocations: 1.156 MB / 0.8718 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.6918, allocations: 439 kB / 0.8722 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.6975, allocations: 3.122 MB / 0.8753 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009257/0.6984, allocations: 1.172 MB / 0.8764 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.6989, allocations: 171.2 kB / 0.8766 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.6989, allocations: 0 / 0.8766 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of Templates: time 0.04106/0.74, allocations: 29 MB / 0.9049 GB, free: 11.87 MB / 0.67 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 10.724097648169845]