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.0009207/0.0009207, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.000941/0.000941, allocations: 173 kB / 23.36 MB, free: 1.129 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.8906/0.8906, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.6488/0.6488, allocations: 118.6 MB / 378.9 MB, free: 1.34 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.393e-06/1.393e-06, allocations: 0 / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.804e-05, allocations: 2.312 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.2636/0.2636, allocations: 132.8 MB / 0.5504 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004803/0.2684, allocations: 4.024 MB / 0.5543 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/0.269, allocations: 59.44 kB / 0.5544 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.2697, allocations: 401.5 kB / 0.5548 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.2709, allocations: 0.8927 MB / 0.5556 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2721, allocations: 0.6536 MB / 0.5563 GB, free: 364 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.2736, allocations: 2.204 MB / 0.5584 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.2739, allocations: 220 kB / 0.5586 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.2753, allocations: 1.296 MB / 0.5599 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009412/0.2762, allocations: 1.072 MB / 0.561 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.2764, allocations: 128 kB / 0.5611 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.277, allocations: 471.2 kB / 0.5615 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.2772, allocations: 418.5 kB / 0.5619 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.2776, allocations: 0.53 MB / 0.5624 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.279, allocations: 1.635 MB / 0.564 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.279, allocations: 0 / 0.564 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.279, allocations: 0 / 0.564 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.279, allocations: 0 / 0.564 GB, free: 8.395 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.002378/0.2814, allocations: 1.949 MB / 0.5659 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2814, allocations: 8.031 kB / 0.5659 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.2817, allocations: 208.6 kB / 0.5661 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.2827, allocations: 0.8198 MB / 0.5669 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.182e-05/0.2827, allocations: 130.1 kB / 0.5671 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.2829, allocations: 119.8 kB / 0.5672 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008334/0.2837, allocations: 0.9033 MB / 0.5681 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.2837, allocations: 0 / 0.5681 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.2838, allocations: 40 kB / 0.5681 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.2838, allocations: 49.98 kB / 0.5682 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.2846, allocations: 0.6093 MB / 0.5687 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.288, allocations: 2.687 MB / 0.5714 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.2887, allocations: 0.6217 MB / 0.572 GB, free: 84 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.2892, allocations: 334.7 kB / 0.5723 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/0.2912, allocations: 1.094 MB / 0.5734 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2912, allocations: 47.55 kB / 0.5734 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 2.074e-06/0.2912, allocations: 0 / 0.5734 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=122): time 0.003159/0.2944, allocations: 2.277 MB / 0.5756 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2944, allocations: 72.39 kB / 0.5757 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.2948, allocations: 0.7276 MB / 0.5764 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.2949, allocations: 45.7 kB / 0.5765 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.295, allocations: 371.6 kB / 0.5768 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.2952, allocations: 452 kB / 0.5772 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.2955, allocations: 238.7 kB / 0.5775 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.2956, allocations: 357.7 kB / 0.5778 GB, free: 10 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.2958, allocations: 174.5 kB / 0.578 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.2961, allocations: 0.5021 MB / 0.5785 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.2968, allocations: 0.6131 MB / 0.5791 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2968, allocations: 0 / 0.5791 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001001/0.2978, allocations: 0.8747 MB / 0.5799 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2978, allocations: 4 kB / 0.5799 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.2978, allocations: 10.33 kB / 0.5799 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.2983, allocations: 274.8 kB / 0.5802 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.2988, allocations: 223.6 kB / 0.5804 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.3007, allocations: 2.45 MB / 0.5828 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.3011, allocations: 39.92 kB / 0.5828 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.3011, allocations: 43.94 kB / 0.5829 GB, free: 4.586 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.0002163/0.3014, allocations: 172.5 kB / 0.583 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.3015, allocations: 123.8 kB / 0.5832 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.3029, allocations: 1.278 MB / 0.5844 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3029, allocations: 13.25 kB / 0.5844 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3029, allocations: 4 kB / 0.5844 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3029, allocations: 7.984 kB / 0.5844 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.3049, allocations: 1.813 MB / 0.5862 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3049, allocations: 4 kB / 0.5862 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.3053, allocations: 180.3 kB / 0.5864 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.3058, allocations: 343.3 kB / 0.5867 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.3059, allocations: 47.94 kB / 0.5868 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.3078, allocations: 2.491 MB / 0.5892 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3078, allocations: 4 kB / 0.5892 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.3092, allocations: 1.371 MB / 0.5905 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.3094, allocations: 187 kB / 0.5907 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/0.3095, allocations: 28 kB / 0.5907 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.3098, allocations: 35.98 kB / 0.5908 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3099, allocations: 108.7 kB / 0.5909 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.31, allocations: 51.55 kB / 0.5909 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002603/0.3102, allocations: 381 kB / 0.5913 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3102, allocations: 0 / 0.5913 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006909/0.3109, allocations: 423.7 kB / 0.5917 GB, free: 11.3 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.001033/0.312, allocations: 0.542 MB / 0.5922 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.3132, allocations: 1.066 MB / 0.5933 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.3132, allocations: 12 kB / 0.5933 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007718/0.314, allocations: 0.7775 MB / 0.594 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.315, allocations: 0.506 MB / 0.5945 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.3178, allocations: 2.399 MB / 0.5969 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.3179, allocations: 278.3 kB / 0.5971 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004781/0.3184, allocations: 226.8 kB / 0.5974 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.3191, allocations: 412.9 kB / 0.5977 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of SimCode: time 7.51e-07/0.3191, allocations: 4 kB / 0.5978 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of Templates: time 0.02618/0.3453, allocations: 27.04 MB / 0.6242 GB, free: 10.55 MB / 0.573 GB " [Timeout remaining time 660] 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.013343510217965]