Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.00165/0.00165, allocations: 78.02 kB / 19.76 MB, free: 2.027 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.001787/0.001787, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.412/1.412, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.7095/0.7095, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.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.002602/0.002602, allocations: 89.06 kB / 496.4 MB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1148, allocations: 73.02 MB / 0.556 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1758/0.2906, allocations: 140.7 MB / 0.6934 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.3104/0.6009, allocations: 11.73 MB / 0.7049 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.6019, allocations: 48.75 kB / 0.7049 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.6036, allocations: 0.6206 MB / 0.7055 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.6069, allocations: 1.199 MB / 0.7067 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.6097, allocations: 0.9116 MB / 0.7076 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002511/0.6122, allocations: 1.93 MB / 0.7095 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.6127, allocations: 211.9 kB / 0.7097 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.6146, allocations: 0.8974 MB / 0.7105 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.6165, allocations: 1.062 MB / 0.7116 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003664/0.6169, allocations: 127.1 kB / 0.7117 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.6206, allocations: 1.329 MB / 0.713 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006135/0.6212, allocations: 389.3 kB / 0.7134 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.6226, allocations: 0.5931 MB / 0.7139 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.6272, allocations: 2.183 MB / 0.7161 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6272, allocations: 0 / 0.7161 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6272, allocations: 0.7812 kB / 0.7161 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.167e-05/0.6272, allocations: 1.438 kB / 0.7161 GB, free: 3.23 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005295/0.6325, allocations: 2.005 MB / 0.718 GB, free: 18.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.6325, allocations: 9.062 kB / 0.718 GB, free: 18.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005134/0.633, allocations: 173 kB / 0.7182 GB, free: 18.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.6349, allocations: 0.8983 MB / 0.7191 GB, free: 17.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.635, allocations: 125.8 kB / 0.7192 GB, free: 17.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.6352, allocations: 97.55 kB / 0.7193 GB, free: 17.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.6373, allocations: 1.561 MB / 0.7208 GB, free: 17.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.6374, allocations: 0.6875 kB / 0.7208 GB, free: 17.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6375, allocations: 35.31 kB / 0.7209 GB, free: 17.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.6375, allocations: 54.55 kB / 0.7209 GB, free: 17.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.6403, allocations: 2.062 MB / 0.7229 GB, free: 17.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007687/0.648, allocations: 3.985 MB / 0.7268 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.6497, allocations: 1.234 MB / 0.728 GB, free: 17.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.6508, allocations: 0.8273 MB / 0.7288 GB, free: 17.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003578/0.6544, allocations: 1.591 MB / 0.7304 GB, free: 16.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.6544, allocations: 43.84 kB / 0.7304 GB, free: 16.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=120): time 3.296e-06/0.6544, allocations: 0 / 0.7304 GB, free: 16.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122): time 0.009045/0.6635, allocations: 4.72 MB / 0.735 GB, free: 16.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.6635, allocations: 67.56 kB / 0.7351 GB, free: 16.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/0.6645, allocations: 0.7978 MB / 0.7359 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.6647, allocations: 48.89 kB / 0.7359 GB, free: 16.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.665, allocations: 482.9 kB / 0.7364 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.6653, allocations: 452.4 kB / 0.7368 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.6656, allocations: 242 kB / 0.737 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6658, allocations: 348.8 kB / 0.7374 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009218/0.6667, allocations: 0.634 MB / 0.738 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.6677, allocations: 0.8182 MB / 0.7388 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.6698, allocations: 1.496 MB / 0.7403 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.6698, allocations: 4.938 kB / 0.7403 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003265/0.6731, allocations: 1.967 MB / 0.7422 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.6731, allocations: 7.531 kB / 0.7422 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.6732, allocations: 7.531 kB / 0.7422 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008621/0.674, allocations: 342.2 kB / 0.7425 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6751, allocations: 232.9 kB / 0.7427 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004757/0.6798, allocations: 3.7 MB / 0.7464 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.681, allocations: 37.39 kB / 0.7464 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.6811, allocations: 57.47 kB / 0.7464 GB, free: 13.39 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006431/0.6818, allocations: 330 kB / 0.7468 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/0.6822, allocations: 127.5 kB / 0.7469 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.6862, allocations: 2.754 MB / 0.7496 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.6862, allocations: 11.16 kB / 0.7496 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6863, allocations: 2.906 kB / 0.7496 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6863, allocations: 5.688 kB / 0.7496 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004847/0.6911, allocations: 2.862 MB / 0.7524 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.6911, allocations: 3.656 kB / 0.7524 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/0.692, allocations: 174.9 kB / 0.7526 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009192/0.6929, allocations: 398.6 kB / 0.7529 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.6931, allocations: 51.08 kB / 0.753 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005073/0.6981, allocations: 3.694 MB / 0.7566 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6981, allocations: 3.094 kB / 0.7566 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.7029, allocations: 2.813 MB / 0.7593 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007208/0.7036, allocations: 263.5 kB / 0.7596 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.7038, allocations: 29.12 kB / 0.7596 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.7045, allocations: 32.39 kB / 0.7597 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.7048, allocations: 94.73 kB / 0.7597 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.7049, allocations: 48.62 kB / 0.7598 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008118/0.7057, allocations: 0.6111 MB / 0.7604 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.7057, allocations: 1.188 kB / 0.7604 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001853/0.7075, allocations: 475.2 kB / 0.7608 GB, free: 6.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002123/0.7096, allocations: 0.7432 MB / 0.7616 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003576/0.7132, allocations: 1.833 MB / 0.7634 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7132, allocations: 0 / 0.7634 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.7153, allocations: 1.143 MB / 0.7645 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.7171, allocations: 321.9 kB / 0.7648 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.7228, allocations: 3.053 MB / 0.7678 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.7235, allocations: 0.5804 MB / 0.7683 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001103/0.7246, allocations: 326.9 kB / 0.7686 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.7249, allocations: 126.8 kB / 0.7688 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of SimCode: time 8.52e-07/0.7249, allocations: 4 kB / 0.7688 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of Templates: time 0.04197/0.7669, allocations: 24.18 MB / 0.7924 GB, free: 12.74 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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.642725420999341]