Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 106.6 kB / 18.67 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008762/0.008762, allocations: 193.8 kB / 21.92 MB, free: 5.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7863/0.7863, allocations: 94.59 MB / 400.4 MB, free: 15.8 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 82.19 kB / 0.5464 GB, free: 42.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1054, allocations: 71.85 MB / 0.6166 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4709/0.5763, allocations: 173.5 MB / 0.786 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.5877, allocations: 11.44 MB / 0.7972 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.5892, allocations: 69.31 kB / 0.7973 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.5911, allocations: 0.8973 MB / 0.7982 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.5951, allocations: 1.719 MB / 0.7998 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.5981, allocations: 1.32 MB / 0.8011 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.601, allocations: 2.56 MB / 0.8036 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.6015, allocations: 245.3 kB / 0.8039 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.604, allocations: 1.459 MB / 0.8053 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.6055, allocations: 1.16 MB / 0.8064 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002025/0.6057, allocations: 107.8 kB / 0.8065 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.6094, allocations: 1.879 MB / 0.8084 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.6097, allocations: 333.5 kB / 0.8087 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007806/0.6105, allocations: 0.8087 MB / 0.8095 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.6141, allocations: 2.509 MB / 0.8119 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6141, allocations: 1.375 kB / 0.8119 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6141, allocations: 0 / 0.8119 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.158e-05/0.6141, allocations: 2.938 kB / 0.8119 GB, free: 1.613 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003458/0.6176, allocations: 2.166 MB / 0.814 GB, free: 260 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6176, allocations: 9.891 kB / 0.814 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.6179, allocations: 204 kB / 0.8142 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.6199, allocations: 1.239 MB / 0.8154 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.62, allocations: 78.25 kB / 0.8155 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.6201, allocations: 117 kB / 0.8156 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.6219, allocations: 1.174 MB / 0.8168 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.6219, allocations: 2.906 kB / 0.8168 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.622, allocations: 42.61 kB / 0.8168 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.6221, allocations: 26.59 kB / 0.8168 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.6237, allocations: 1.075 MB / 0.8179 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006732/0.6304, allocations: 5.261 MB / 0.823 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.6318, allocations: 0.691 MB / 0.8237 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.6324, allocations: 394.5 kB / 0.8241 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004914/0.6373, allocations: 3.902 MB / 0.8279 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.6374, allocations: 51.91 kB / 0.8279 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.296e-06/0.6374, allocations: 4.781 kB / 0.828 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003797/0.6412, allocations: 1.842 MB / 0.8298 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.6412, allocations: 118.5 kB / 0.8299 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.6429, allocations: 1.275 MB / 0.8311 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.643, allocations: 49.33 kB / 0.8312 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/0.6437, allocations: 0.6235 MB / 0.8318 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.644, allocations: 395.9 kB / 0.8321 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.6443, allocations: 197.3 kB / 0.8323 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6445, allocations: 342.4 kB / 0.8327 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.6451, allocations: 295.1 kB / 0.8329 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/0.6458, allocations: 453.1 kB / 0.8334 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.6471, allocations: 0.7717 MB / 0.8341 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6471, allocations: 4.688 kB / 0.8341 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002283/0.6494, allocations: 1.169 MB / 0.8353 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6494, allocations: 9.781 kB / 0.8353 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.6494, allocations: 5.094 kB / 0.8353 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/0.65, allocations: 152.5 kB / 0.8354 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.6508, allocations: 209.4 kB / 0.8356 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00647/0.6572, allocations: 7.251 MB / 0.8427 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.6582, allocations: 105.5 kB / 0.8428 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.6583, allocations: 47.33 kB / 0.8429 GB, free: 9.625 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000652/0.659, allocations: 316.8 kB / 0.8432 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.6593, allocations: 176 kB / 0.8433 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.6625, allocations: 1.71 MB / 0.845 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.6625, allocations: 5.297 kB / 0.845 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6625, allocations: 2.531 kB / 0.845 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/0.6631, allocations: 338.4 kB / 0.8453 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.6633, allocations: 32.83 kB / 0.8454 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.6637, allocations: 13.84 kB / 0.8454 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.6639, allocations: 69.36 kB / 0.8454 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002472/0.6663, allocations: 1.097 MB / 0.8465 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002289/0.6686, allocations: 1.463 MB / 0.8479 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005113/0.6691, allocations: 282.2 kB / 0.8482 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001541/0.6707, allocations: 0.9684 MB / 0.8492 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of Backend: time 5.61e-07/0.6707, allocations: 0.8438 kB / 0.8492 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005592/0.6763, allocations: 2.048 MB / 0.8512 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of SimCode: time 0.005867/0.6821, allocations: 3.359 MB / 0.8544 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of Templates: time 0.05408/0.7362, allocations: 29 MB / 0.8827 GB, free: 2.09 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.475789915013593]