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.001022/0.001022, 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.001242/0.001242, 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.9521/0.9521, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.6687/0.6687, allocations: 118.7 MB / 378.9 MB, free: 1.328 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.292e-06/1.292e-06, allocations: 0 / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.158e-05, allocations: 6.25 kB / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.2721/0.2721, allocations: 132.9 MB / 0.5505 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005145/0.2773, allocations: 4.032 MB / 0.5544 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005927/0.2779, allocations: 55.5 kB / 0.5545 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.2786, allocations: 417.5 kB / 0.5549 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.28, allocations: 0.8926 MB / 0.5557 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2812, allocations: 0.6385 MB / 0.5564 GB, free: 408 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.2829, allocations: 2.194 MB / 0.5585 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.2832, allocations: 231.9 kB / 0.5587 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.2848, allocations: 1.284 MB / 0.56 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.2861, allocations: 1.084 MB / 0.561 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.2862, allocations: 124 kB / 0.5612 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000694/0.2869, allocations: 483.2 kB / 0.5616 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.2872, allocations: 418.5 kB / 0.562 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.2875, allocations: 0.53 MB / 0.5625 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.2889, allocations: 1.639 MB / 0.5641 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.289, allocations: 4 kB / 0.5641 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/0.289, allocations: 0 / 0.5641 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.289, allocations: 0 / 0.5641 GB, free: 8.422 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.00226/0.2912, allocations: 1.945 MB / 0.566 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2913, allocations: 12.03 kB / 0.5661 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.2916, allocations: 200.6 kB / 0.5663 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.2925, allocations: 0.8223 MB / 0.5671 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/0.2926, allocations: 130.1 kB / 0.5672 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.2927, allocations: 115.9 kB / 0.5673 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.2936, allocations: 0.9033 MB / 0.5682 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.2936, allocations: 11.88 kB / 0.5682 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.2937, allocations: 36 kB / 0.5682 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.2938, allocations: 45.98 kB / 0.5683 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008597/0.2946, allocations: 0.6015 MB / 0.5688 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.2983, allocations: 2.704 MB / 0.5715 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.2989, allocations: 0.6198 MB / 0.5721 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.2993, allocations: 330.6 kB / 0.5724 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.3008, allocations: 1.094 MB / 0.5735 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3008, allocations: 47.5 kB / 0.5735 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 2.204e-06/0.3008, allocations: 0 / 0.5735 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=122): time 0.00349/0.3043, allocations: 2.293 MB / 0.5758 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.3043, allocations: 64.41 kB / 0.5758 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.3048, allocations: 0.7276 MB / 0.5765 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.3049, allocations: 45.7 kB / 0.5766 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.305, allocations: 371.5 kB / 0.5769 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.3052, allocations: 440.1 kB / 0.5774 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.3054, allocations: 234.7 kB / 0.5776 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.3055, allocations: 357.8 kB / 0.5779 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.3058, allocations: 182.5 kB / 0.5781 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.3061, allocations: 0.502 MB / 0.5786 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.3068, allocations: 0.617 MB / 0.5792 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3068, allocations: 0 / 0.5792 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001072/0.3079, allocations: 0.8722 MB / 0.58 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3079, allocations: 9.25 kB / 0.58 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3079, allocations: 4 kB / 0.58 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/0.3084, allocations: 278 kB / 0.5803 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.309, allocations: 255.5 kB / 0.5806 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.3113, allocations: 2.472 MB / 0.583 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.3116, allocations: 35.48 kB / 0.583 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.3117, allocations: 43.94 kB / 0.583 GB, free: 4.574 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.0002136/0.3119, allocations: 176.5 kB / 0.5832 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.3121, allocations: 119.8 kB / 0.5833 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.3135, allocations: 1.278 MB / 0.5846 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3135, allocations: 12 kB / 0.5846 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3135, allocations: 9.062 kB / 0.5846 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3135, allocations: 11.92 kB / 0.5846 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.3156, allocations: 1.802 MB / 0.5864 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.3156, allocations: 8 kB / 0.5864 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.3161, allocations: 212.1 kB / 0.5866 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005032/0.3166, allocations: 339.3 kB / 0.5869 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/0.3167, allocations: 47.94 kB / 0.5869 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.319, allocations: 2.504 MB / 0.5894 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.319, allocations: 11.98 kB / 0.5894 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.3205, allocations: 1.363 MB / 0.5907 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.3207, allocations: 191 kB / 0.5909 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.3208, allocations: 28 kB / 0.5909 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.3212, allocations: 31.42 kB / 0.591 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.3213, allocations: 112.5 kB / 0.5911 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.3214, allocations: 51.92 kB / 0.5911 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002712/0.3216, allocations: 381 kB / 0.5915 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3216, allocations: 0 / 0.5915 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007452/0.3224, allocations: 431.7 kB / 0.5919 GB, free: 11.23 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.001076/0.3235, allocations: 0.5363 MB / 0.5924 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.3247, allocations: 1.066 MB / 0.5935 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.3247, allocations: 12 kB / 0.5935 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.3255, allocations: 0.7736 MB / 0.5942 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3266, allocations: 0.5103 MB / 0.5947 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.3296, allocations: 2.394 MB / 0.5971 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.3298, allocations: 274.3 kB / 0.5973 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005271/0.3303, allocations: 225.7 kB / 0.5976 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007495/0.3311, allocations: 412.9 kB / 0.5979 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/0.3311, allocations: 0 / 0.5979 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of Templates: time 0.02885/0.3599, allocations: 27.08 MB / 0.6244 GB, free: 10.46 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 -s gbode -gbm=radauIIA3 -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: 4.026075231842697]