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.001266/0.001266, 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.001633/0.001633, allocations: 219.1 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.331/1.331, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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.7237/0.7237, allocations: 100.3 MB / 413.5 MB, free: 3.664 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.002378/0.002378, allocations: 84.94 kB / 0.5645 GB, free: 35.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1236, allocations: 74.46 MB / 0.6372 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4705/0.5941, allocations: 173.6 MB / 0.8068 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.6068, allocations: 11.57 MB / 0.8181 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.6088, allocations: 103.4 kB / 0.8182 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.6112, allocations: 0.891 MB / 0.819 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004793/0.616, allocations: 1.78 MB / 0.8208 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.6195, allocations: 1.364 MB / 0.8221 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003355/0.6229, allocations: 2.597 MB / 0.8246 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.6234, allocations: 247.6 kB / 0.8249 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.6264, allocations: 1.488 MB / 0.8263 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.6284, allocations: 1.163 MB / 0.8275 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.6287, allocations: 109.4 kB / 0.8276 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.6326, allocations: 1.897 MB / 0.8294 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.6329, allocations: 341 kB / 0.8297 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008478/0.6338, allocations: 0.8044 MB / 0.8305 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.6371, allocations: 2.526 MB / 0.833 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6371, allocations: 0 / 0.833 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6371, allocations: 0 / 0.833 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.6371, allocations: 0 / 0.833 GB, free: 4.434 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.00347/0.6406, allocations: 2.093 MB / 0.835 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.6406, allocations: 14.03 kB / 0.835 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.6409, allocations: 202.1 kB / 0.8352 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.6428, allocations: 1.142 MB / 0.8364 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.6428, allocations: 82.06 kB / 0.8364 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.643, allocations: 118.5 kB / 0.8365 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.6446, allocations: 1.187 MB / 0.8377 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.6447, allocations: 6 kB / 0.8377 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.6448, allocations: 42.47 kB / 0.8378 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6448, allocations: 24.84 kB / 0.8378 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.6463, allocations: 1.101 MB / 0.8389 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006267/0.6526, allocations: 5.143 MB / 0.8439 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6538, allocations: 0.6853 MB / 0.8445 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.6544, allocations: 398.5 kB / 0.8449 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003269/0.6576, allocations: 1.79 MB / 0.8467 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.6577, allocations: 52.64 kB / 0.8467 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 2.755e-06/0.6577, allocations: 0 / 0.8467 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.003065/0.6608, allocations: 1.464 MB / 0.8482 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.6608, allocations: 113.6 kB / 0.8483 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.6623, allocations: 1.298 MB / 0.8495 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.6623, allocations: 48.45 kB / 0.8496 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/0.6628, allocations: 0.6302 MB / 0.8502 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.6631, allocations: 389.4 kB / 0.8506 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.6634, allocations: 198.6 kB / 0.8507 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6635, allocations: 348.3 kB / 0.8511 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.664, allocations: 303 kB / 0.8514 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.6646, allocations: 450.9 kB / 0.8518 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.6658, allocations: 0.7666 MB / 0.8525 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6658, allocations: 0 / 0.8525 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002044/0.6678, allocations: 1.165 MB / 0.8537 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6679, allocations: 8.219 kB / 0.8537 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.6679, allocations: 7.984 kB / 0.8537 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/0.6684, allocations: 160.2 kB / 0.8539 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/0.6691, allocations: 211.7 kB / 0.8541 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/0.6746, allocations: 6.75 MB / 0.8606 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/0.6754, allocations: 107.1 kB / 0.8608 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/0.6755, allocations: 47.98 kB / 0.8608 GB, free: 13.3 MB / 0.6231 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.0005358/0.676, allocations: 313.6 kB / 0.8611 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.6763, allocations: 174.9 kB / 0.8613 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.679, allocations: 1.707 MB / 0.8629 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6791, allocations: 8 kB / 0.8629 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6791, allocations: 4 kB / 0.8629 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6791, allocations: 3.984 kB / 0.8629 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.6826, allocations: 2.369 MB / 0.8653 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6826, allocations: 4 kB / 0.8653 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.6831, allocations: 124.2 kB / 0.8654 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.6836, allocations: 176 kB / 0.8655 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/0.6836, allocations: 27.98 kB / 0.8656 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/0.689, allocations: 6.735 MB / 0.8722 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.689, allocations: 7.969 kB / 0.8722 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.6914, allocations: 1.592 MB / 0.8737 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.692, allocations: 262.6 kB / 0.874 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.6922, allocations: 43.77 kB / 0.874 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.6927, allocations: 20 kB / 0.874 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6928, allocations: 75.81 kB / 0.8741 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.6929, allocations: 39.97 kB / 0.8741 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001313/0.6942, allocations: 1.005 MB / 0.8751 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6942, allocations: 0 / 0.8751 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001338/0.6955, allocations: 463.3 kB / 0.8756 GB, free: 13.38 MB / 0.6387 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.001839/0.6974, allocations: 0.755 MB / 0.8763 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.6995, allocations: 1.288 MB / 0.8776 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6995, allocations: 0 / 0.8776 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.7007, allocations: 0.9195 MB / 0.8785 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.7028, allocations: 0.4895 MB / 0.8789 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.7087, allocations: 2.94 MB / 0.8818 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009582/0.7096, allocations: 1.21 MB / 0.883 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.7101, allocations: 163.4 kB / 0.8831 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.7101, allocations: 0 / 0.8831 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of Templates: time 0.0599/0.77, allocations: 53.24 MB / 0.9351 GB, free: 408 kB / 0.6856 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.739376824116334]