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.001354/0.001354, 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.001539/0.001539, allocations: 177 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.9296/0.9296, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.6739/0.6739, allocations: 118.6 MB / 378.9 MB, free: 1.297 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.553e-06/1.553e-06, allocations: 0 / 430.8 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.595e-05, allocations: 2.312 kB / 430.8 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.2752/0.2752, allocations: 132.9 MB / 0.5505 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004002/0.2792, allocations: 4.017 MB / 0.5544 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003978/0.2796, allocations: 59.5 kB / 0.5545 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.2803, allocations: 417.5 kB / 0.5549 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.2816, allocations: 0.8926 MB / 0.5557 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.2825, allocations: 0.642 MB / 0.5564 GB, free: 364 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.2838, allocations: 2.201 MB / 0.5585 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.2841, allocations: 223.9 kB / 0.5587 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.2855, allocations: 1.295 MB / 0.56 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000932/0.2865, allocations: 1.072 MB / 0.561 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.2866, allocations: 128 kB / 0.5612 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.2871, allocations: 483.2 kB / 0.5616 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.2874, allocations: 414.5 kB / 0.562 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006718/0.2881, allocations: 0.5339 MB / 0.5625 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.2893, allocations: 1.635 MB / 0.5641 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2893, allocations: 4 kB / 0.5641 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2893, allocations: 0 / 0.5641 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2893, allocations: 0 / 0.5641 GB, free: 8.383 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.002126/0.2915, allocations: 1.949 MB / 0.566 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.2915, allocations: 8.031 kB / 0.5661 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.2918, allocations: 200.6 kB / 0.5662 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008822/0.2927, allocations: 0.832 MB / 0.5671 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.2927, allocations: 126.2 kB / 0.5672 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.2928, allocations: 107.8 kB / 0.5673 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008309/0.2937, allocations: 0.9206 MB / 0.5682 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.2937, allocations: 0 / 0.5682 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.2938, allocations: 36 kB / 0.5682 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.2938, allocations: 49.98 kB / 0.5683 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.2946, allocations: 0.5976 MB / 0.5688 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.2982, allocations: 2.703 MB / 0.5715 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.2988, allocations: 0.6179 MB / 0.5721 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.2992, allocations: 334.6 kB / 0.5724 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.3008, allocations: 1.094 MB / 0.5735 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3008, allocations: 43.56 kB / 0.5735 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 2.444e-06/0.3008, allocations: 0 / 0.5735 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=122): time 0.003214/0.304, allocations: 2.289 MB / 0.5758 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3041, allocations: 64.41 kB / 0.5758 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.305, allocations: 0.7354 MB / 0.5765 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.3051, allocations: 45.7 kB / 0.5766 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3052, allocations: 363.6 kB / 0.5769 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.3054, allocations: 448 kB / 0.5773 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.3057, allocations: 234.7 kB / 0.5776 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.3058, allocations: 357.8 kB / 0.5779 GB, free: 10 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.306, allocations: 178.5 kB / 0.5781 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.3063, allocations: 0.502 MB / 0.5786 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.307, allocations: 0.6138 MB / 0.5792 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.307, allocations: 4 kB / 0.5792 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001021/0.308, allocations: 0.8709 MB / 0.58 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.308, allocations: 8 kB / 0.58 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.308, allocations: 4 kB / 0.58 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.3085, allocations: 270.7 kB / 0.5803 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.309, allocations: 261.6 kB / 0.5805 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.3111, allocations: 2.477 MB / 0.583 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.3114, allocations: 37.23 kB / 0.583 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.3115, allocations: 47.94 kB / 0.583 GB, free: 4.523 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.0002037/0.3117, allocations: 164.5 kB / 0.5832 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.3121, allocations: 123.8 kB / 0.5833 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.3134, allocations: 1.278 MB / 0.5846 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3134, allocations: 12 kB / 0.5846 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3134, allocations: 4 kB / 0.5846 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3134, allocations: 11.91 kB / 0.5846 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.3155, allocations: 1.813 MB / 0.5864 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3155, allocations: 4.812 kB / 0.5864 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.316, allocations: 212.2 kB / 0.5866 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.3164, allocations: 335.3 kB / 0.5869 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.3165, allocations: 51.92 kB / 0.5869 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.3185, allocations: 2.51 MB / 0.5894 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3185, allocations: 4 kB / 0.5894 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.3201, allocations: 1.367 MB / 0.5907 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.3205, allocations: 187 kB / 0.5909 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3206, allocations: 35.98 kB / 0.5909 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.3209, allocations: 24 kB / 0.591 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.321, allocations: 116.6 kB / 0.5911 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.3211, allocations: 39.94 kB / 0.5911 GB, free: 12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002564/0.3213, allocations: 385 kB / 0.5915 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3213, allocations: 0 / 0.5915 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006554/0.322, allocations: 423.7 kB / 0.5919 GB, free: 11.2 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.001015/0.323, allocations: 0.5535 MB / 0.5924 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.3241, allocations: 1.059 MB / 0.5935 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.3242, allocations: 12 kB / 0.5935 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000764/0.3249, allocations: 0.7735 MB / 0.5942 GB, free: 9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.326, allocations: 0.5102 MB / 0.5947 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.33, allocations: 2.394 MB / 0.5971 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3304, allocations: 278.3 kB / 0.5973 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001107/0.3315, allocations: 226.9 kB / 0.5975 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.3327, allocations: 420.8 kB / 0.598 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of SimCode: time 1.654e-06/0.3327, allocations: 0 / 0.598 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.03273/0.3654, allocations: 27.07 MB / 0.6244 GB, free: 10.41 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 -s gbode -gbm=radauIIA3 -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.058565915096551]