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.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.001324/0.001324, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001757/0.001757, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.768/0.768, allocations: 100.9 MB / 414.1 MB, free: 2.918 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.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: 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.002579/0.002579, allocations: 89.55 kB / 0.5653 GB, free: 35.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1235, allocations: 74.61 MB / 0.6382 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.477/0.6005, allocations: 150.2 MB / 0.7848 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.6124, allocations: 10.54 MB / 0.7951 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.6141, allocations: 95.66 kB / 0.7952 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.616, allocations: 0.8279 MB / 0.796 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004096/0.62, allocations: 1.734 MB / 0.7977 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.624, allocations: 1.363 MB / 0.799 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.6274, allocations: 2.587 MB / 0.8016 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/0.6278, allocations: 237.3 kB / 0.8018 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.6306, allocations: 1.494 MB / 0.8032 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.6319, allocations: 1.088 MB / 0.8043 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.632, allocations: 108.4 kB / 0.8044 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.6358, allocations: 1.554 MB / 0.8059 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.6361, allocations: 341.5 kB / 0.8063 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007476/0.6369, allocations: 0.6426 MB / 0.8069 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00353/0.6404, allocations: 2.484 MB / 0.8093 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6404, allocations: 0 / 0.8093 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6404, allocations: 0.875 kB / 0.8093 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.6404, allocations: 3.094 kB / 0.8093 GB, free: 1.41 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.00304/0.6435, allocations: 2.098 MB / 0.8114 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.6435, allocations: 10.88 kB / 0.8114 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.644, allocations: 228.7 kB / 0.8116 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.6462, allocations: 1.138 MB / 0.8127 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.6463, allocations: 83.62 kB / 0.8128 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.6464, allocations: 115 kB / 0.8129 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.6483, allocations: 1.236 MB / 0.8141 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.6483, allocations: 3.094 kB / 0.8141 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/0.6484, allocations: 44.22 kB / 0.8141 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.6484, allocations: 25.69 kB / 0.8142 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.6499, allocations: 1.085 MB / 0.8152 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.6552, allocations: 3.695 MB / 0.8188 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.6565, allocations: 0.7018 MB / 0.8195 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.657, allocations: 390.7 kB / 0.8199 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002862/0.6599, allocations: 1.484 MB / 0.8213 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.6599, allocations: 54.66 kB / 0.8214 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.697e-06/0.6599, allocations: 1.562 kB / 0.8214 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.002998/0.6629, allocations: 1.43 MB / 0.8228 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.663, allocations: 119.5 kB / 0.8229 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.6642, allocations: 1.076 MB / 0.824 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.6642, allocations: 44.72 kB / 0.824 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.6647, allocations: 0.6518 MB / 0.8246 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.665, allocations: 388.5 kB / 0.825 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.6653, allocations: 204.2 kB / 0.8252 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6655, allocations: 344.1 kB / 0.8255 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.666, allocations: 297.6 kB / 0.8258 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.6666, allocations: 0.5124 MB / 0.8263 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.6678, allocations: 0.8044 MB / 0.8271 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6678, allocations: 2.812 kB / 0.8271 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001934/0.6698, allocations: 1.142 MB / 0.8282 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6698, allocations: 6.5 kB / 0.8282 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6698, allocations: 6 kB / 0.8282 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/0.6703, allocations: 155.9 kB / 0.8284 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.6709, allocations: 207.9 kB / 0.8286 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005363/0.6763, allocations: 6.614 MB / 0.835 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.6771, allocations: 86.41 kB / 0.8351 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.6772, allocations: 48.05 kB / 0.8352 GB, free: 148 kB / 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.0006031/0.6778, allocations: 306 kB / 0.8355 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.6781, allocations: 155.2 kB / 0.8356 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.6808, allocations: 1.664 MB / 0.8372 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6808, allocations: 8.188 kB / 0.8372 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6808, allocations: 4.219 kB / 0.8372 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6808, allocations: 3.984 kB / 0.8372 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.6838, allocations: 1.979 MB / 0.8392 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6839, allocations: 2.562 kB / 0.8392 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.6843, allocations: 122.2 kB / 0.8393 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.6848, allocations: 167.8 kB / 0.8395 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.6849, allocations: 27.23 kB / 0.8395 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/0.6902, allocations: 6.615 MB / 0.8459 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.6902, allocations: 6.312 kB / 0.846 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.6927, allocations: 1.518 MB / 0.8474 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.6932, allocations: 235.5 kB / 0.8477 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.6934, allocations: 33 kB / 0.8477 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.6939, allocations: 22.47 kB / 0.8477 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.694, allocations: 79.11 kB / 0.8478 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/0.6941, allocations: 34.08 kB / 0.8478 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001022/0.6951, allocations: 0.8224 MB / 0.8486 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6951, allocations: 0 / 0.8486 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001349/0.6964, allocations: 476.7 kB / 0.8491 GB, free: 4.844 MB / 0.6075 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.001909/0.6984, allocations: 0.7548 MB / 0.8498 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.7005, allocations: 1.287 MB / 0.8511 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.7005, allocations: 0 / 0.8511 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.7017, allocations: 0.9092 MB / 0.852 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.7035, allocations: 313.7 kB / 0.8523 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/0.7091, allocations: 2.908 MB / 0.8551 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.7098, allocations: 0.6159 MB / 0.8557 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.7102, allocations: 151.4 kB / 0.8558 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.7102, allocations: 0 / 0.8558 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.05939/0.7696, allocations: 51.4 MB / 0.906 GB, free: 12.69 MB / 0.67 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/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.411501179914922]