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.0008166/0.0008166, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009116/0.0009116, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8557/0.8557, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 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.4868/0.4868, allocations: 80.17 MB / 340.1 MB, free: 7.547 MB / 314.7 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.623e-06/1.623e-06, allocations: 3.938 kB / 0.4936 GB, free: 6.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.406e-05, allocations: 6.219 kB / 0.4936 GB, free: 6.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1248/0.1248, allocations: 151 MB / 0.641 GB, free: 464 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.2422/0.367, allocations: 10.65 MB / 0.6514 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009415/0.3679, allocations: 97.12 kB / 0.6515 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.3693, allocations: 0.8613 MB / 0.6524 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.3721, allocations: 1.902 MB / 0.6542 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.3743, allocations: 1.382 MB / 0.6556 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002273/0.3765, allocations: 2.865 MB / 0.6584 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.3768, allocations: 243.6 kB / 0.6586 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.3788, allocations: 1.916 MB / 0.6605 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009713/0.3797, allocations: 1.053 MB / 0.6615 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.3799, allocations: 110.4 kB / 0.6616 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.3821, allocations: 1.577 MB / 0.6632 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.3823, allocations: 341.5 kB / 0.6635 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005067/0.3828, allocations: 0.5558 MB / 0.664 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.3848, allocations: 2.527 MB / 0.6665 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3848, allocations: 2.219 kB / 0.6665 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3848, allocations: 3.875 kB / 0.6665 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.3848, allocations: 0 / 0.6665 GB, free: 2.605 MB / 0.5417 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.001775/0.3866, allocations: 2.083 MB / 0.6685 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3866, allocations: 12.91 kB / 0.6685 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.3869, allocations: 240.7 kB / 0.6688 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.388, allocations: 1.133 MB / 0.6699 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.3881, allocations: 80.75 kB / 0.67 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/0.3882, allocations: 114.5 kB / 0.6701 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.3891, allocations: 1.229 MB / 0.6713 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.3892, allocations: 7.812 kB / 0.6713 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.3892, allocations: 45.19 kB / 0.6713 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.3892, allocations: 25.41 kB / 0.6713 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/0.3901, allocations: 1.087 MB / 0.6724 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.3932, allocations: 3.733 MB / 0.676 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.394, allocations: 0.701 MB / 0.6767 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.3943, allocations: 390.1 kB / 0.6771 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/0.3959, allocations: 1.489 MB / 0.6786 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.396, allocations: 52.56 kB / 0.6786 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 2.234e-06/0.396, allocations: 0 / 0.6786 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.001803/0.3978, allocations: 1.437 MB / 0.68 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3978, allocations: 118.2 kB / 0.6801 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.3985, allocations: 1.082 MB / 0.6812 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.3986, allocations: 42.17 kB / 0.6812 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.3989, allocations: 0.6534 MB / 0.6819 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.399, allocations: 388 kB / 0.6822 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3992, allocations: 204.7 kB / 0.6824 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.3993, allocations: 343.6 kB / 0.6828 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.3996, allocations: 294.2 kB / 0.683 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.4, allocations: 0.5036 MB / 0.6835 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.4008, allocations: 0.7932 MB / 0.6843 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4008, allocations: 4.344 kB / 0.6843 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001279/0.4021, allocations: 1.146 MB / 0.6854 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4021, allocations: 5.844 kB / 0.6854 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4021, allocations: 3.094 kB / 0.6854 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.4024, allocations: 158.3 kB / 0.6856 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.4028, allocations: 213.2 kB / 0.6858 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.4057, allocations: 6.605 MB / 0.6922 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.406, allocations: 86.38 kB / 0.6923 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.4061, allocations: 46.2 kB / 0.6924 GB, free: 6.727 MB / 0.5573 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.0002963/0.4064, allocations: 309.8 kB / 0.6927 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4065, allocations: 159.1 kB / 0.6928 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.4081, allocations: 1.672 MB / 0.6944 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4081, allocations: 7.781 kB / 0.6945 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4081, allocations: 3.688 kB / 0.6945 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4081, allocations: 2.906 kB / 0.6945 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.4097, allocations: 1.978 MB / 0.6964 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4098, allocations: 3.469 kB / 0.6964 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.41, allocations: 122.5 kB / 0.6965 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.4102, allocations: 166 kB / 0.6967 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.4102, allocations: 27.97 kB / 0.6967 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.413, allocations: 6.596 MB / 0.7031 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.413, allocations: 7.75 kB / 0.7031 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.4143, allocations: 1.52 MB / 0.7046 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.4145, allocations: 240.6 kB / 0.7049 GB, free: 14.95 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.4146, allocations: 28.8 kB / 0.7049 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.4149, allocations: 22.42 kB / 0.7049 GB, free: 14.94 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.4149, allocations: 77.81 kB / 0.705 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.415, allocations: 40.84 kB / 0.705 GB, free: 14.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005928/0.4155, allocations: 0.8207 MB / 0.7058 GB, free: 14.82 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.4155, allocations: 2.719 kB / 0.7058 GB, free: 14.82 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000873/0.4164, allocations: 0.4891 MB / 0.7063 GB, free: 14.75 MB / 0.573 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.0009462/0.4174, allocations: 0.7636 MB / 0.707 GB, free: 14.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.4185, allocations: 1.278 MB / 0.7083 GB, free: 13.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4185, allocations: 3.469 kB / 0.7083 GB, free: 13.95 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007808/0.4193, allocations: 0.9083 MB / 0.7092 GB, free: 13.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.4206, allocations: 0.5403 MB / 0.7097 GB, free: 13.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.4235, allocations: 2.761 MB / 0.7124 GB, free: 12.02 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.4239, allocations: 0.6237 MB / 0.713 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.4241, allocations: 152.2 kB / 0.7132 GB, free: 11.82 MB / 0.573 GB Notification: Performance of SimCode: time 4.9e-07/0.4241, allocations: 0 / 0.7132 GB, free: 11.82 MB / 0.573 GB Notification: Performance of Templates: time 0.03186/0.456, allocations: 53.25 MB / 0.7652 GB, free: 320 kB / 0.6042 GB " [Timeout remaining time 660] 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: 7.801048499532044]