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.0009654/0.0009654, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009429/0.0009429, allocations: 181 kB / 23.36 MB, free: 1.133 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.929/0.929, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6395/0.6395, allocations: 118.6 MB / 378.9 MB, free: 1.312 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016e-05/1.174e-05, allocations: 6.25 kB / 430.8 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.2654/0.2654, allocations: 132.8 MB / 0.5504 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005245/0.2706, allocations: 4.014 MB / 0.5543 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.2712, allocations: 55.5 kB / 0.5544 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.2719, allocations: 405.5 kB / 0.5548 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.2732, allocations: 0.8965 MB / 0.5556 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.2743, allocations: 0.654 MB / 0.5563 GB, free: 488 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.276, allocations: 2.197 MB / 0.5584 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.2763, allocations: 220 kB / 0.5586 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.278, allocations: 1.296 MB / 0.5599 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.2792, allocations: 1.08 MB / 0.561 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.2794, allocations: 124 kB / 0.5611 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.2799, allocations: 471.3 kB / 0.5615 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.2802, allocations: 410.5 kB / 0.5619 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.2805, allocations: 0.5339 MB / 0.5624 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.2818, allocations: 1.635 MB / 0.564 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2818, allocations: 4 kB / 0.564 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2818, allocations: 0 / 0.564 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2818, allocations: 0 / 0.564 GB, free: 8.516 MB / 0.5105 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.002143/0.2839, allocations: 1.953 MB / 0.5659 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.284, allocations: 8.031 kB / 0.566 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.2842, allocations: 200.6 kB / 0.5661 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.2851, allocations: 0.8298 MB / 0.567 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.2852, allocations: 126.2 kB / 0.5671 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2853, allocations: 103.9 kB / 0.5672 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008441/0.2862, allocations: 0.915 MB / 0.5681 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2862, allocations: 3.953 kB / 0.5681 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.2863, allocations: 36 kB / 0.5681 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.2863, allocations: 49.98 kB / 0.5682 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.2871, allocations: 0.6015 MB / 0.5687 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.2907, allocations: 2.703 MB / 0.5714 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.2914, allocations: 0.6217 MB / 0.572 GB, free: 204 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.2917, allocations: 332.2 kB / 0.5723 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.2932, allocations: 1.09 MB / 0.5734 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.2932, allocations: 43.56 kB / 0.5734 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 2.254e-06/0.2932, allocations: 4 kB / 0.5734 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=122): time 0.003404/0.2967, allocations: 2.289 MB / 0.5756 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.2967, allocations: 64.41 kB / 0.5757 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.2971, allocations: 0.7354 MB / 0.5764 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.2972, allocations: 49.7 kB / 0.5765 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.2974, allocations: 363.6 kB / 0.5768 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.2976, allocations: 448 kB / 0.5773 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.2979, allocations: 230.7 kB / 0.5775 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.298, allocations: 353.8 kB / 0.5778 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.2983, allocations: 182.5 kB / 0.578 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.2986, allocations: 0.4996 MB / 0.5785 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/0.2993, allocations: 0.6131 MB / 0.5791 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2993, allocations: 3.938 kB / 0.5791 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001044/0.3003, allocations: 0.8754 MB / 0.5799 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3004, allocations: 12.91 kB / 0.5799 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3004, allocations: 2.344 kB / 0.5799 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.3008, allocations: 273.8 kB / 0.5802 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.3013, allocations: 223.6 kB / 0.5804 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.3036, allocations: 2.453 MB / 0.5828 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.304, allocations: 43.55 kB / 0.5829 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.304, allocations: 43.94 kB / 0.5829 GB, free: 4.707 MB / 0.5261 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.0002219/0.3043, allocations: 172.5 kB / 0.5831 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.3044, allocations: 119.8 kB / 0.5832 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.3058, allocations: 1.27 MB / 0.5844 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3058, allocations: 12 kB / 0.5844 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3058, allocations: 8 kB / 0.5844 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3058, allocations: 7.922 kB / 0.5844 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.3079, allocations: 1.818 MB / 0.5862 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.3079, allocations: 4 kB / 0.5862 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.3083, allocations: 191.6 kB / 0.5864 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/0.3088, allocations: 327.6 kB / 0.5867 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.3088, allocations: 48.94 kB / 0.5868 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.3112, allocations: 2.496 MB / 0.5892 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.3112, allocations: 7.938 kB / 0.5892 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.3126, allocations: 1.363 MB / 0.5905 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.3129, allocations: 187 kB / 0.5907 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.313, allocations: 28 kB / 0.5907 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.3133, allocations: 28.86 kB / 0.5908 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3134, allocations: 116.5 kB / 0.5909 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.3135, allocations: 47.94 kB / 0.5909 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002641/0.3137, allocations: 384.9 kB / 0.5913 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.3137, allocations: 0 / 0.5913 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006744/0.3144, allocations: 431.7 kB / 0.5917 GB, free: 11.41 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (90): * Single equations (assignments): 88 * 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.001082/0.3155, allocations: 0.5437 MB / 0.5922 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.3166, allocations: 1.066 MB / 0.5933 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.3166, allocations: 8 kB / 0.5933 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.3174, allocations: 0.7774 MB / 0.594 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3185, allocations: 0.512 MB / 0.5945 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.3214, allocations: 2.384 MB / 0.5969 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3216, allocations: 278.3 kB / 0.5971 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000467/0.3221, allocations: 229.6 kB / 0.5974 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/0.3228, allocations: 420.9 kB / 0.5978 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of SimCode: time 7.02e-07/0.3228, allocations: 0 / 0.5978 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of Templates: time 0.02788/0.3507, allocations: 27.02 MB / 0.6241 GB, free: 10.68 MB / 0.573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.876085817348212]