Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.001574/0.001574, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001733/0.001733, allocations: 165.6 kB / 22.46 MB, free: 5.363 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.398/1.398, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7381/0.7381, allocations: 80.19 MB / 339.4 MB, free: 10.86 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.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_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_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.204e-05, allocations: 5.656 kB / 0.4929 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1755/0.1755, allocations: 151 MB / 0.6403 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.1903, allocations: 10.65 MB / 0.6507 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.1917, allocations: 99.06 kB / 0.6508 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.194, allocations: 0.8772 MB / 0.6517 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00489/0.1989, allocations: 1.89 MB / 0.6535 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.2026, allocations: 1.389 MB / 0.6549 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003761/0.2063, allocations: 2.863 MB / 0.6577 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.2069, allocations: 233.2 kB / 0.6579 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.2106, allocations: 1.912 MB / 0.6597 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.2124, allocations: 1.06 MB / 0.6608 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.2126, allocations: 112 kB / 0.6609 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.216, allocations: 1.578 MB / 0.6624 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00036/0.2164, allocations: 338.4 kB / 0.6628 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007881/0.2172, allocations: 0.5532 MB / 0.6633 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.2211, allocations: 2.531 MB / 0.6658 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2211, allocations: 0 / 0.6658 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2211, allocations: 4 kB / 0.6658 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.785e-05/0.2211, allocations: 0 / 0.6658 GB, free: 13.94 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.003736/0.2249, allocations: 2.088 MB / 0.6678 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2249, allocations: 17.45 kB / 0.6678 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/0.2255, allocations: 231.6 kB / 0.668 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.2275, allocations: 1.137 MB / 0.6692 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.2276, allocations: 82.47 kB / 0.6692 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.2278, allocations: 112.3 kB / 0.6693 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.2297, allocations: 1.234 MB / 0.6705 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2297, allocations: 4 kB / 0.6705 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.2298, allocations: 40 kB / 0.6706 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.2298, allocations: 31.94 kB / 0.6706 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.2315, allocations: 1.083 MB / 0.6717 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005823/0.2373, allocations: 3.728 MB / 0.6753 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.2388, allocations: 0.7068 MB / 0.676 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.2394, allocations: 386.1 kB / 0.6764 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003105/0.2425, allocations: 1.495 MB / 0.6778 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.2426, allocations: 43.22 kB / 0.6779 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=108): time 3.196e-06/0.2426, allocations: 0 / 0.6779 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108): time 0.003428/0.246, allocations: 1.433 MB / 0.6793 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.2461, allocations: 119.4 kB / 0.6794 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.2474, allocations: 1.078 MB / 0.6804 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.2475, allocations: 45.7 kB / 0.6805 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.248, allocations: 0.6511 MB / 0.6811 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.2483, allocations: 400.4 kB / 0.6815 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.2486, allocations: 198.8 kB / 0.6817 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2488, allocations: 341.9 kB / 0.682 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.2493, allocations: 294.5 kB / 0.6823 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.25, allocations: 0.5078 MB / 0.6828 GB, free: 12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.2514, allocations: 0.7972 MB / 0.6836 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.2514, allocations: 3.938 kB / 0.6836 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002229/0.2536, allocations: 1.146 MB / 0.6847 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2536, allocations: 8 kB / 0.6847 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2536, allocations: 4 kB / 0.6847 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.2542, allocations: 164.3 kB / 0.6849 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/0.2549, allocations: 207.7 kB / 0.6851 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.2604, allocations: 6.598 MB / 0.6915 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007944/0.2612, allocations: 83.34 kB / 0.6916 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.2613, allocations: 44.17 kB / 0.6916 GB, free: 2.375 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0005953/0.2619, allocations: 317.4 kB / 0.6919 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.2622, allocations: 162.9 kB / 0.6921 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.2651, allocations: 1.66 MB / 0.6937 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.2651, allocations: 8 kB / 0.6937 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2651, allocations: 4 kB / 0.6937 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2651, allocations: 3.984 kB / 0.6937 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2054/0.4705, allocations: 1.973 MB / 0.6956 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.4705, allocations: 5.312 kB / 0.6957 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.4711, allocations: 129 kB / 0.6958 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/0.4715, allocations: 166.4 kB / 0.6959 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.4716, allocations: 29.05 kB / 0.696 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003465/0.4751, allocations: 6.6 MB / 0.7024 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4751, allocations: 7.875 kB / 0.7024 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.4773, allocations: 1.51 MB / 0.7039 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.4777, allocations: 234.5 kB / 0.7041 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.4779, allocations: 36.64 kB / 0.7041 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.4785, allocations: 23.16 kB / 0.7042 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.4786, allocations: 77.88 kB / 0.7042 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.4787, allocations: 31.67 kB / 0.7043 GB, free: 171 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000954/0.4796, allocations: 0.8291 MB / 0.7051 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4796, allocations: 0 / 0.7051 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001307/0.4809, allocations: 0.4913 MB / 0.7056 GB, free: 170.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.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 (70): * Single equations (assignments): 65 * 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 Backend phase and start with SimCode phase: time 0.001758/0.4827, allocations: 0.7562 MB / 0.7063 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.4844, allocations: 1.279 MB / 0.7076 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4844, allocations: 2.875 kB / 0.7076 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.4853, allocations: 0.9054 MB / 0.7084 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.4879, allocations: 0.5488 MB / 0.709 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.4923, allocations: 2.695 MB / 0.7116 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.4928, allocations: 0.6242 MB / 0.7122 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00079/0.4936, allocations: 282.2 kB / 0.7125 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.4939, allocations: 125.9 kB / 0.7126 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.4939, allocations: 3.938 kB / 0.7126 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.04013/0.534, allocations: 25.54 MB / 0.7375 GB, free: 160.4 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.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.375981822609901]