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.001636/0.001636, allocations: 75.02 kB / 19.16 MB, free: 2.566 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.001752/0.001752, allocations: 166.6 kB / 22.44 MB, free: 5.316 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.387/1.387, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 179] 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.7068/0.7068, allocations: 74.9 MB / 334.1 MB, free: 15.98 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.002577/0.002577, allocations: 87.27 kB / 496 MB, free: 29.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1152, allocations: 73.03 MB / 0.5557 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4805/0.5958, allocations: 150 MB / 0.7022 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.6086, allocations: 10.53 MB / 0.7124 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.6102, allocations: 100.1 kB / 0.7125 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.6123, allocations: 0.8359 MB / 0.7134 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004504/0.6168, allocations: 1.737 MB / 0.7151 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.6203, allocations: 1.367 MB / 0.7164 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003704/0.624, allocations: 2.589 MB / 0.7189 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.6246, allocations: 242.9 kB / 0.7191 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.6283, allocations: 1.897 MB / 0.721 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.6298, allocations: 1.087 MB / 0.7221 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.63, allocations: 109.2 kB / 0.7222 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.6333, allocations: 1.567 MB / 0.7237 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.6336, allocations: 341.4 kB / 0.724 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006957/0.6343, allocations: 0.6451 MB / 0.7247 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.6376, allocations: 2.611 MB / 0.7272 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6376, allocations: 0 / 0.7272 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6376, allocations: 0.7812 kB / 0.7272 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.077e-05/0.6376, allocations: 0 / 0.7272 GB, free: 3.129 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.00336/0.641, allocations: 2.097 MB / 0.7292 GB, free: 18.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.641, allocations: 8.625 kB / 0.7293 GB, free: 18.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.6415, allocations: 233.1 kB / 0.7295 GB, free: 17.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.6432, allocations: 1.129 MB / 0.7306 GB, free: 17.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.6433, allocations: 85.06 kB / 0.7307 GB, free: 17.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.6434, allocations: 112.5 kB / 0.7308 GB, free: 17.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.6449, allocations: 1.237 MB / 0.732 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.645, allocations: 0 / 0.732 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.6451, allocations: 44.47 kB / 0.732 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.6451, allocations: 31.86 kB / 0.7321 GB, free: 17.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.6464, allocations: 1.086 MB / 0.7331 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004935/0.6513, allocations: 3.688 MB / 0.7367 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.6525, allocations: 0.7002 MB / 0.7374 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.653, allocations: 382.7 kB / 0.7378 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002987/0.656, allocations: 1.499 MB / 0.7392 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.6561, allocations: 47.89 kB / 0.7393 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 2.985e-06/0.6561, allocations: 0.7812 kB / 0.7393 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.002972/0.659, allocations: 1.434 MB / 0.7407 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.6591, allocations: 116.8 kB / 0.7408 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.6602, allocations: 1.077 MB / 0.7418 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.466e-05/0.6603, allocations: 42.14 kB / 0.7419 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.6607, allocations: 0.6548 MB / 0.7425 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.6609, allocations: 385.7 kB / 0.7429 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.6611, allocations: 202.2 kB / 0.7431 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6613, allocations: 343.6 kB / 0.7434 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.6617, allocations: 295.4 kB / 0.7437 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.6623, allocations: 0.5144 MB / 0.7442 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6634, allocations: 0.7909 MB / 0.745 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6634, allocations: 0.9688 kB / 0.745 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00187/0.6653, allocations: 1.15 MB / 0.7461 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6653, allocations: 8.5 kB / 0.7461 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6653, allocations: 2.312 kB / 0.7461 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.6658, allocations: 164.9 kB / 0.7463 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.6665, allocations: 206.4 kB / 0.7464 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/0.6719, allocations: 6.615 MB / 0.7529 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.6727, allocations: 84.23 kB / 0.753 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.6728, allocations: 50.56 kB / 0.753 GB, free: 7.195 MB / 0.6075 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.0005473/0.6734, allocations: 304.1 kB / 0.7533 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.6737, allocations: 157.7 kB / 0.7535 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.6762, allocations: 1.668 MB / 0.7551 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6762, allocations: 9.625 kB / 0.7551 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6762, allocations: 4.875 kB / 0.7551 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.6762, allocations: 6.141 kB / 0.7551 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.6791, allocations: 1.976 MB / 0.7571 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6791, allocations: 3.875 kB / 0.7571 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.6795, allocations: 122.2 kB / 0.7572 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.68, allocations: 168.7 kB / 0.7573 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.6801, allocations: 28.95 kB / 0.7574 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/0.6856, allocations: 6.614 MB / 0.7638 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6856, allocations: 9.062 kB / 0.7638 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.6881, allocations: 1.52 MB / 0.7653 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.6886, allocations: 233.7 kB / 0.7655 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.6888, allocations: 33.86 kB / 0.7656 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.6893, allocations: 17.89 kB / 0.7656 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6895, allocations: 79.8 kB / 0.7657 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.6895, allocations: 32.64 kB / 0.7657 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001041/0.6906, allocations: 0.8234 MB / 0.7665 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.6906, allocations: 0.9375 kB / 0.7665 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00143/0.692, allocations: 477.9 kB / 0.767 GB, free: 13.78 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 (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.001923/0.6939, allocations: 0.7478 MB / 0.7677 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.6961, allocations: 1.284 MB / 0.7689 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.6961, allocations: 4 kB / 0.7689 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.6974, allocations: 0.903 MB / 0.7698 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.6991, allocations: 326.8 kB / 0.7701 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.7042, allocations: 2.833 MB / 0.7729 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.7048, allocations: 0.633 MB / 0.7735 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008197/0.7056, allocations: 255.8 kB / 0.7738 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.7059, allocations: 125.3 kB / 0.7739 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.7059, allocations: 0 / 0.7739 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.03641/0.7423, allocations: 20.9 MB / 0.7943 GB, free: 13.95 MB / 0.6387 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.363602878525853]