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.001017/0.001017, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001014/0.001014, allocations: 173 kB / 23.49 MB, free: 1.062 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.9747/0.9747, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 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.7071/0.7071, allocations: 118.6 MB / 378.9 MB, free: 1.504 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 3.938 kB / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.076e-05, allocations: 3.719 kB / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1581/0.1581, allocations: 157.4 MB / 0.626 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.1704, allocations: 12.5 MB / 0.6382 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009783/0.1714, allocations: 55.5 kB / 0.6383 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.1728, allocations: 0.6368 MB / 0.6389 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.1752, allocations: 1.339 MB / 0.6402 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.1772, allocations: 0.9726 MB / 0.6412 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.1789, allocations: 2.21 MB / 0.6433 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.1792, allocations: 203.9 kB / 0.6435 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2856/0.4648, allocations: 1.259 MB / 0.6447 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.4667, allocations: 1.017 MB / 0.6457 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.4673, allocations: 128.9 kB / 0.6459 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.47, allocations: 1.346 MB / 0.6472 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.4703, allocations: 421.3 kB / 0.6476 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.4711, allocations: 0.532 MB / 0.6481 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.4738, allocations: 1.98 MB / 0.65 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.4738, allocations: 0.7812 kB / 0.65 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4738, allocations: 0 / 0.65 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.177e-05/0.4738, allocations: 1.219 kB / 0.65 GB, free: 15.07 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002765/0.4766, allocations: 2.209 MB / 0.6522 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4766, allocations: 7.875 kB / 0.6522 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004398/0.477, allocations: 266.2 kB / 0.6524 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.4781, allocations: 0.9977 MB / 0.6534 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.4781, allocations: 124.7 kB / 0.6535 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.4783, allocations: 107.9 kB / 0.6536 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.4796, allocations: 1.002 MB / 0.6546 GB, free: 29.36 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.4796, allocations: 1.938 kB / 0.6546 GB, free: 29.36 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.4797, allocations: 37.23 kB / 0.6547 GB, free: 29.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.4797, allocations: 51.66 kB / 0.6547 GB, free: 29.36 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.4811, allocations: 1.016 MB / 0.6557 GB, free: 29.35 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.4854, allocations: 3.601 MB / 0.6592 GB, free: 28.58 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4864, allocations: 0.7746 MB / 0.66 GB, free: 28.54 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.487, allocations: 445.2 kB / 0.6604 GB, free: 28.53 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/0.4891, allocations: 1.479 MB / 0.6618 GB, free: 28.13 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4891, allocations: 48.77 kB / 0.6619 GB, free: 28.09 MB / 0.573 GB Notification: Performance of pre-optimization done (n=120): time 2.756e-06/0.4892, allocations: 0 / 0.6619 GB, free: 28.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=122): time 0.005139/0.4943, allocations: 3.05 MB / 0.6649 GB, free: 27.57 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.4943, allocations: 72.14 kB / 0.6649 GB, free: 27.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008657/0.4952, allocations: 0.8537 MB / 0.6658 GB, free: 27.29 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.4953, allocations: 50.39 kB / 0.6658 GB, free: 27.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.4955, allocations: 0.5508 MB / 0.6664 GB, free: 27.01 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.4957, allocations: 451.5 kB / 0.6668 GB, free: 26.72 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.496, allocations: 254.5 kB / 0.667 GB, free: 26.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4961, allocations: 0.5228 MB / 0.6675 GB, free: 26.21 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.4966, allocations: 285.6 kB / 0.6678 GB, free: 26.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.4973, allocations: 0.6499 MB / 0.6684 GB, free: 25.83 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.4989, allocations: 0.8172 MB / 0.6692 GB, free: 25.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4989, allocations: 2.328 kB / 0.6692 GB, free: 25.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002971/0.5019, allocations: 1.297 MB / 0.6705 GB, free: 25.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5019, allocations: 9.125 kB / 0.6705 GB, free: 25.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.5019, allocations: 8.062 kB / 0.6705 GB, free: 25.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009743/0.5029, allocations: 295.1 kB / 0.6708 GB, free: 25.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/0.5038, allocations: 239.2 kB / 0.671 GB, free: 25.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/0.5081, allocations: 3.362 MB / 0.6743 GB, free: 23.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.5088, allocations: 35.17 kB / 0.6744 GB, free: 23.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.509, allocations: 60.2 kB / 0.6744 GB, free: 23.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * 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.0003655/0.5093, allocations: 213.7 kB / 0.6746 GB, free: 23.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.5097, allocations: 185.5 kB / 0.6748 GB, free: 23.26 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/0.5131, allocations: 2.266 MB / 0.677 GB, free: 22.93 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5131, allocations: 9.156 kB / 0.677 GB, free: 22.93 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.5131, allocations: 9.719 kB / 0.677 GB, free: 22.93 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.5132, allocations: 5.766 kB / 0.677 GB, free: 22.93 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.5166, allocations: 2.112 MB / 0.6791 GB, free: 22.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.5166, allocations: 2.375 kB / 0.6791 GB, free: 22.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.5171, allocations: 176.7 kB / 0.6793 GB, free: 22.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006442/0.5177, allocations: 345.5 kB / 0.6796 GB, free: 22.46 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/0.5178, allocations: 53.69 kB / 0.6796 GB, free: 22.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.5205, allocations: 3.375 MB / 0.6829 GB, free: 20.42 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5205, allocations: 3.094 kB / 0.6829 GB, free: 20.42 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.523, allocations: 1.697 MB / 0.6846 GB, free: 20.04 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.5234, allocations: 257.9 kB / 0.6848 GB, free: 19.97 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.5235, allocations: 27.27 kB / 0.6849 GB, free: 19.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.5239, allocations: 28.69 kB / 0.6849 GB, free: 19.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.524, allocations: 100.6 kB / 0.685 GB, free: 19.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/0.5241, allocations: 55.06 kB / 0.685 GB, free: 19.96 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004754/0.5245, allocations: 0.5673 MB / 0.6856 GB, free: 19.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5245, allocations: 2.031 kB / 0.6856 GB, free: 19.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00114/0.5257, allocations: 0.4942 MB / 0.6861 GB, free: 19.77 MB / 0.573 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.001243/0.5269, allocations: 0.7065 MB / 0.6868 GB, free: 19.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.5285, allocations: 1.298 MB / 0.688 GB, free: 19.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5285, allocations: 3.062 kB / 0.688 GB, free: 19.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009413/0.5295, allocations: 0.8927 MB / 0.6889 GB, free: 19.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.5307, allocations: 0.5276 MB / 0.6894 GB, free: 18.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.5342, allocations: 2.509 MB / 0.6919 GB, free: 17.88 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5344, allocations: 280.3 kB / 0.6922 GB, free: 17.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006812/0.5351, allocations: 318.2 kB / 0.6925 GB, free: 17.71 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.5353, allocations: 141.5 kB / 0.6926 GB, free: 17.7 MB / 0.573 GB Notification: Performance of SimCode: time 8.42e-07/0.5353, allocations: 4 kB / 0.6926 GB, free: 17.7 MB / 0.573 GB Notification: Performance of Templates: time 0.0286/0.5639, allocations: 28.44 MB / 0.7204 GB, free: 7.848 MB / 0.573 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.806330274790525]