Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001222/0.001222, 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.00141/0.00141, allocations: 181 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.9911/0.9911, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.7156/0.7156, allocations: 118.6 MB / 378.9 MB, free: 1.371 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.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.535e-05, allocations: 6.25 kB / 430.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.3243/0.3243, allocations: 135.9 MB / 0.5535 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006405/0.3307, allocations: 3.793 MB / 0.5572 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.3319, allocations: 103.1 kB / 0.5573 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.333, allocations: 0.5742 MB / 0.5579 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.3352, allocations: 1.316 MB / 0.5592 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.3366, allocations: 0.6628 MB / 0.5598 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.3396, allocations: 2.905 MB / 0.5626 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004758/0.3401, allocations: 258.2 kB / 0.5629 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3426, allocations: 1.638 MB / 0.5645 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.3438, allocations: 1.036 MB / 0.5655 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.344, allocations: 119.9 kB / 0.5656 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.3447, allocations: 351.5 kB / 0.566 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.3449, allocations: 350.3 kB / 0.5663 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.3454, allocations: 0.5649 MB / 0.5668 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.3471, allocations: 1.568 MB / 0.5684 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3471, allocations: 0 / 0.5684 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3471, allocations: 0 / 0.5684 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.021e-05/0.3471, allocations: 3.938 kB / 0.5684 GB, free: 4.102 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00219/0.3493, allocations: 2.047 MB / 0.5704 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3494, allocations: 8.031 kB / 0.5704 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.3498, allocations: 268.5 kB / 0.5706 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.3512, allocations: 1.081 MB / 0.5717 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.3512, allocations: 86.47 kB / 0.5718 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/0.3513, allocations: 124.2 kB / 0.5719 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/0.3522, allocations: 0.854 MB / 0.5727 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3523, allocations: 3.938 kB / 0.5727 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.3523, allocations: 44 kB / 0.5728 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.3523, allocations: 24 kB / 0.5728 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.3528, allocations: 404.2 kB / 0.5732 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.3564, allocations: 2.953 MB / 0.5761 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.357, allocations: 492.8 kB / 0.5765 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3572, allocations: 210.5 kB / 0.5767 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.3586, allocations: 1.16 MB / 0.5779 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3587, allocations: 47.16 kB / 0.5779 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=108): time 3.046e-06/0.3587, allocations: 4 kB / 0.5779 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=108): time 0.00122/0.3599, allocations: 0.8241 MB / 0.5787 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3599, allocations: 115.5 kB / 0.5788 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.3606, allocations: 0.9581 MB / 0.5798 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.3606, allocations: 49.7 kB / 0.5798 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.3608, allocations: 469.7 kB / 0.5803 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.361, allocations: 396.5 kB / 0.5806 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.3612, allocations: 190.8 kB / 0.5808 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.3613, allocations: 345.9 kB / 0.5812 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3614, allocations: 110.5 kB / 0.5813 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.3617, allocations: 474.2 kB / 0.5817 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.3622, allocations: 486.3 kB / 0.5822 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.3622, allocations: 4 kB / 0.5822 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007427/0.3629, allocations: 0.6387 MB / 0.5828 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3629, allocations: 7.938 kB / 0.5828 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3629, allocations: 4 kB / 0.5828 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.3635, allocations: 136.2 kB / 0.5829 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.3639, allocations: 219.7 kB / 0.5832 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.3666, allocations: 5.974 MB / 0.589 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.367, allocations: 90.45 kB / 0.5891 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.367, allocations: 39.97 kB / 0.5891 GB, free: 13.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.3673, allocations: 168.4 kB / 0.5893 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.3674, allocations: 127.9 kB / 0.5894 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.3689, allocations: 1.333 MB / 0.5907 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3689, allocations: 15.98 kB / 0.5907 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3689, allocations: 4 kB / 0.5907 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3689, allocations: 3.984 kB / 0.5907 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.3703, allocations: 1.348 MB / 0.592 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3703, allocations: 4 kB / 0.592 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.3705, allocations: 127.8 kB / 0.5922 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.3708, allocations: 152.5 kB / 0.5923 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.3708, allocations: 23.98 kB / 0.5923 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.3734, allocations: 5.986 MB / 0.5982 GB, free: 4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.3734, allocations: 14.06 kB / 0.5982 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.3742, allocations: 0.9446 MB / 0.5991 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.3744, allocations: 178.8 kB / 0.5993 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.3745, allocations: 31.89 kB / 0.5993 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.3748, allocations: 15.98 kB / 0.5993 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3749, allocations: 75.75 kB / 0.5994 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.3749, allocations: 19.98 kB / 0.5994 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003855/0.3753, allocations: 0.5509 MB / 0.6 GB, free: 2.113 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3753, allocations: 0 / 0.6 GB, free: 2.113 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008144/0.3761, allocations: 423.2 kB / 0.6004 GB, free: 1.699 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.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 (70): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.3771, allocations: 491.7 kB / 0.6008 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009013/0.378, allocations: 1.035 MB / 0.6018 GB, free: 360 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.378, allocations: 12 kB / 0.6018 GB, free: 348 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.3785, allocations: 0.8121 MB / 0.6026 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.3798, allocations: 0.5675 MB / 0.6032 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.3831, allocations: 2.468 MB / 0.6056 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.3833, allocations: 265.1 kB / 0.6059 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006221/0.3839, allocations: 273.6 kB / 0.6061 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/0.3846, allocations: 407.1 kB / 0.6065 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.272e-06/0.3846, allocations: 0 / 0.6065 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.029/0.4136, allocations: 23.73 MB / 0.6297 GB, free: 4.133 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.360984486993402]