Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001937/0.001937, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002449/0.002449, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.7725/0.7725, allocations: 100.3 MB / 412.7 MB, free: 3.68 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.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_dev_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_dev_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.002633/0.002633, allocations: 83.95 kB / 0.5637 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1125, allocations: 74.47 MB / 0.6365 GB, free: 7.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4654/0.5779, allocations: 162.9 MB / 0.7955 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.5912, allocations: 12.94 MB / 0.8082 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.5924, allocations: 50.06 kB / 0.8082 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.5941, allocations: 0.6705 MB / 0.8089 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.5972, allocations: 1.22 MB / 0.8101 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.5998, allocations: 0.9277 MB / 0.811 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002464/0.6022, allocations: 1.946 MB / 0.8129 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.6027, allocations: 221.1 kB / 0.8131 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.604, allocations: 0.8984 MB / 0.8139 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.6056, allocations: 1.1 MB / 0.815 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.6058, allocations: 131.2 kB / 0.8151 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.6093, allocations: 1.571 MB / 0.8167 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004241/0.6097, allocations: 392.1 kB / 0.8171 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000823/0.6105, allocations: 0.7185 MB / 0.8178 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.6142, allocations: 2.199 MB / 0.8199 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6142, allocations: 0 / 0.8199 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6142, allocations: 0 / 0.8199 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.6143, allocations: 4 kB / 0.8199 GB, free: 9.504 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.004664/0.6189, allocations: 2.006 MB / 0.8219 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.619, allocations: 11.59 kB / 0.8219 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.6193, allocations: 161 kB / 0.822 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.6211, allocations: 0.902 MB / 0.8229 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.6212, allocations: 123.3 kB / 0.823 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.6214, allocations: 99.17 kB / 0.8231 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.6238, allocations: 1.487 MB / 0.8246 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.6238, allocations: 2.656 kB / 0.8246 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6239, allocations: 31.78 kB / 0.8246 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.624, allocations: 54.52 kB / 0.8247 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.6272, allocations: 2.081 MB / 0.8267 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009056/0.6363, allocations: 5.125 MB / 0.8317 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.6383, allocations: 1.253 MB / 0.8329 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.6395, allocations: 0.82 MB / 0.8337 GB, free: 456 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005102/0.6446, allocations: 2.439 MB / 0.8361 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.6447, allocations: 49.06 kB / 0.8362 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=119): time 3.186e-06/0.6447, allocations: 0 / 0.8362 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121): time 0.00941/0.6541, allocations: 4.718 MB / 0.8408 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.6541, allocations: 66.38 kB / 0.8408 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.6553, allocations: 0.9219 MB / 0.8417 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.6555, allocations: 47.08 kB / 0.8418 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.6559, allocations: 476.2 kB / 0.8422 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/0.6563, allocations: 445.8 kB / 0.8426 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.6566, allocations: 235 kB / 0.8429 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.6568, allocations: 355 kB / 0.8432 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.6579, allocations: 0.633 MB / 0.8438 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.6592, allocations: 0.7732 MB / 0.8446 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/0.6618, allocations: 1.48 MB / 0.846 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6618, allocations: 0 / 0.846 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003918/0.6657, allocations: 1.984 MB / 0.848 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6658, allocations: 7.938 kB / 0.848 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.6658, allocations: 4 kB / 0.848 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.6668, allocations: 349.1 kB / 0.8483 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.6679, allocations: 231.6 kB / 0.8485 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/0.6738, allocations: 3.794 MB / 0.8522 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/0.6748, allocations: 31.98 kB / 0.8523 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.6749, allocations: 59.94 kB / 0.8523 GB, free: 1.121 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0006313/0.6756, allocations: 325.6 kB / 0.8526 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.6759, allocations: 135.1 kB / 0.8528 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/0.6807, allocations: 2.763 MB / 0.8555 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.6807, allocations: 12 kB / 0.8555 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6807, allocations: 4 kB / 0.8555 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.6808, allocations: 11.97 kB / 0.8555 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/0.687, allocations: 3.392 MB / 0.8588 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.687, allocations: 4 kB / 0.8588 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009322/0.6879, allocations: 175.7 kB / 0.859 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.689, allocations: 400.8 kB / 0.8594 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.6891, allocations: 50.17 kB / 0.8594 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005746/0.6948, allocations: 3.796 MB / 0.8631 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6948, allocations: 4 kB / 0.8631 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00509/0.6999, allocations: 2.812 MB / 0.8659 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/0.7007, allocations: 277.7 kB / 0.8661 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.7009, allocations: 20 kB / 0.8661 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.7017, allocations: 35.92 kB / 0.8662 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.7019, allocations: 104.7 kB / 0.8663 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.702, allocations: 47.94 kB / 0.8663 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001032/0.703, allocations: 0.7041 MB / 0.867 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.703, allocations: 0 / 0.867 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001549/0.7046, allocations: 491.4 kB / 0.8675 GB, free: 1.355 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 77 * 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.002029/0.7066, allocations: 0.7392 MB / 0.8682 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003674/0.7103, allocations: 1.825 MB / 0.87 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7103, allocations: 448 / 0.87 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.7125, allocations: 1.149 MB / 0.8711 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.7146, allocations: 432 kB / 0.8715 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.7203, allocations: 3.077 MB / 0.8745 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009437/0.7213, allocations: 1.176 MB / 0.8757 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001116/0.7224, allocations: 339.9 kB / 0.876 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.7228, allocations: 135.3 kB / 0.8761 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/0.7228, allocations: 0 / 0.8761 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of Templates: time 0.04849/0.7713, allocations: 27.31 MB / 0.9028 GB, free: 13.47 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 7.0502487807534635]