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.001542/0.001542, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00178/0.00178, allocations: 219 kB / 23.01 MB, free: 4.609 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.6946/0.6946, allocations: 94.56 MB / 407.8 MB, free: 9.164 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.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: 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.002413/0.002413, allocations: 88.67 kB / 0.5562 GB, free: 38.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1132, allocations: 73.06 MB / 0.6275 GB, free: 120 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4608/0.574, allocations: 173.6 MB / 0.7971 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.5854, allocations: 11.57 MB / 0.8084 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.5874, allocations: 100.9 kB / 0.8085 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.5895, allocations: 0.8901 MB / 0.8093 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.594, allocations: 1.772 MB / 0.8111 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.5972, allocations: 1.365 MB / 0.8124 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.6005, allocations: 2.615 MB / 0.815 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000597/0.6011, allocations: 249.6 kB / 0.8152 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.604, allocations: 1.484 MB / 0.8166 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.6058, allocations: 1.16 MB / 0.8178 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.6062, allocations: 108.9 kB / 0.8179 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/0.6104, allocations: 1.909 MB / 0.8197 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004766/0.6108, allocations: 337.3 kB / 0.8201 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.6122, allocations: 0.8053 MB / 0.8209 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.6172, allocations: 2.521 MB / 0.8233 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6172, allocations: 2.094 kB / 0.8233 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6172, allocations: 0 / 0.8233 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.243e-05/0.6172, allocations: 0 / 0.8233 GB, free: 13.73 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.004321/0.6216, allocations: 2.099 MB / 0.8254 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.6216, allocations: 9.531 kB / 0.8254 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.622, allocations: 205.4 kB / 0.8256 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.6243, allocations: 1.142 MB / 0.8267 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.6244, allocations: 78.28 kB / 0.8268 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.6245, allocations: 115.9 kB / 0.8269 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.6265, allocations: 1.191 MB / 0.828 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.6265, allocations: 3.938 kB / 0.828 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.6266, allocations: 43.12 kB / 0.8281 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.6266, allocations: 26.69 kB / 0.8281 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.6282, allocations: 1.107 MB / 0.8292 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007196/0.6354, allocations: 5.143 MB / 0.8342 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.6368, allocations: 0.697 MB / 0.8349 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/0.6374, allocations: 393.9 kB / 0.8353 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003655/0.6411, allocations: 1.795 MB / 0.837 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.6411, allocations: 41.81 kB / 0.8371 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 2.945e-06/0.6411, allocations: 2 kB / 0.8371 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003398/0.6445, allocations: 1.466 MB / 0.8385 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.6446, allocations: 116.2 kB / 0.8386 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.6463, allocations: 1.299 MB / 0.8399 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/0.6464, allocations: 46.23 kB / 0.8399 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.6469, allocations: 0.6278 MB / 0.8405 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.6473, allocations: 400.6 kB / 0.8409 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.6476, allocations: 198.5 kB / 0.8411 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6477, allocations: 341.8 kB / 0.8414 GB, free: 416 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.6483, allocations: 296.5 kB / 0.8417 GB, free: 276 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.6489, allocations: 445.9 kB / 0.8421 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.6502, allocations: 0.7704 MB / 0.8429 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.6502, allocations: 1.219 kB / 0.8429 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002201/0.6524, allocations: 1.164 MB / 0.844 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6524, allocations: 7.719 kB / 0.844 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6525, allocations: 6.938 kB / 0.844 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.653, allocations: 151 kB / 0.8442 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.6537, allocations: 209.3 kB / 0.8444 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.6597, allocations: 6.748 MB / 0.851 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/0.6607, allocations: 115.1 kB / 0.8511 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.6609, allocations: 43.98 kB / 0.8511 GB, free: 7.387 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.0006874/0.6615, allocations: 309.6 kB / 0.8514 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004762/0.662, allocations: 174.9 kB / 0.8516 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.6652, allocations: 1.708 MB / 0.8533 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.6652, allocations: 8 kB / 0.8533 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.6652, allocations: 4 kB / 0.8533 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6652, allocations: 3.984 kB / 0.8533 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004273/0.6695, allocations: 2.366 MB / 0.8556 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.6695, allocations: 0 / 0.8556 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.67, allocations: 136.2 kB / 0.8557 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.6705, allocations: 168 kB / 0.8559 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/0.6706, allocations: 27.98 kB / 0.8559 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005899/0.6765, allocations: 6.741 MB / 0.8625 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.6765, allocations: 7.938 kB / 0.8625 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.6794, allocations: 1.592 MB / 0.864 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/0.6801, allocations: 274.5 kB / 0.8643 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.6804, allocations: 39.97 kB / 0.8643 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/0.6812, allocations: 16 kB / 0.8644 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.6813, allocations: 83.78 kB / 0.8644 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.6814, allocations: 31.98 kB / 0.8645 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001599/0.683, allocations: 1.005 MB / 0.8654 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.683, allocations: 0 / 0.8654 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001612/0.6846, allocations: 459.3 kB / 0.8659 GB, free: 7.465 MB / 0.6231 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 (74): * Single equations (assignments): 69 * 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.001994/0.6866, allocations: 0.7614 MB / 0.8666 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.689, allocations: 1.3 MB / 0.8679 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.689, allocations: 0 / 0.8679 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.6903, allocations: 0.9195 MB / 0.8688 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.6927, allocations: 479.4 kB / 0.8693 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006002/0.6987, allocations: 2.942 MB / 0.8721 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.6998, allocations: 1.217 MB / 0.8733 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/0.7002, allocations: 159.4 kB / 0.8735 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/0.7002, allocations: 0 / 0.8735 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of Templates: time 0.06311/0.7633, allocations: 53.26 MB / 0.9255 GB, free: 10.47 MB / 0.6856 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/jenkins1/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: 11.905498495092615]