Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0009111/0.0009111, allocations: 80.94 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.0009403/0.0009403, allocations: 177 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 1.002/1.002, 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.7027/0.7027, allocations: 118.7 MB / 378.9 MB, free: 1.375 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.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_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_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.954e-05, allocations: 5.688 kB / 430.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.3611/0.3611, allocations: 136 MB / 0.5535 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006837/0.3679, allocations: 3.785 MB / 0.5572 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.3692, allocations: 99.06 kB / 0.5573 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.3704, allocations: 0.5743 MB / 0.5579 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.3731, allocations: 1.327 MB / 0.5592 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.3746, allocations: 0.659 MB / 0.5598 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003533/0.3782, allocations: 2.901 MB / 0.5627 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/0.3787, allocations: 258.2 kB / 0.5629 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.3821, allocations: 1.629 MB / 0.5645 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.3835, allocations: 1.044 MB / 0.5655 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.3837, allocations: 108 kB / 0.5656 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008273/0.3845, allocations: 359.4 kB / 0.566 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.3848, allocations: 354.3 kB / 0.5663 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006524/0.3855, allocations: 0.561 MB / 0.5668 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.3875, allocations: 1.576 MB / 0.5684 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3875, allocations: 0 / 0.5684 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3875, allocations: 0 / 0.5684 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.499e-05/0.3876, allocations: 0 / 0.5684 GB, free: 4.086 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.002639/0.3902, allocations: 2.04 MB / 0.5704 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3903, allocations: 12.03 kB / 0.5704 GB, free: 2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.3908, allocations: 264.5 kB / 0.5706 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.3925, allocations: 1.093 MB / 0.5717 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.3925, allocations: 82.47 kB / 0.5718 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.3927, allocations: 112.3 kB / 0.5719 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.3935, allocations: 0.854 MB / 0.5727 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.3936, allocations: 19.81 kB / 0.5727 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.3936, allocations: 44 kB / 0.5728 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3936, allocations: 28 kB / 0.5728 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007654/0.3944, allocations: 396.3 kB / 0.5732 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.3985, allocations: 2.945 MB / 0.5761 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/0.3994, allocations: 0.492 MB / 0.5765 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3997, allocations: 214.1 kB / 0.5767 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.4014, allocations: 1.155 MB / 0.5779 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4014, allocations: 47.16 kB / 0.5779 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=108): time 3.406e-06/0.4014, allocations: 4 kB / 0.5779 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=108): time 0.001336/0.4027, allocations: 0.8159 MB / 0.5787 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4028, allocations: 119.4 kB / 0.5788 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/0.4035, allocations: 0.9659 MB / 0.5798 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.4035, allocations: 45.7 kB / 0.5798 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.4038, allocations: 469.7 kB / 0.5803 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.404, allocations: 396.5 kB / 0.5806 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.4041, allocations: 190.8 kB / 0.5808 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.4042, allocations: 349.9 kB / 0.5812 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.4044, allocations: 106.6 kB / 0.5813 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.4047, allocations: 470.2 kB / 0.5817 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.4051, allocations: 485.1 kB / 0.5822 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4051, allocations: 3.938 kB / 0.5822 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007803/0.4059, allocations: 0.6308 MB / 0.5828 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.406, allocations: 16.22 kB / 0.5828 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.406, allocations: 8 kB / 0.5828 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.4063, allocations: 136.2 kB / 0.5829 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.4067, allocations: 211.7 kB / 0.5832 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.4098, allocations: 5.982 MB / 0.589 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.4103, allocations: 87.39 kB / 0.5891 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.4104, allocations: 27.98 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.0002953/0.4107, allocations: 180.5 kB / 0.5893 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.4108, allocations: 119.9 kB / 0.5894 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.4126, allocations: 1.339 MB / 0.5907 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4126, allocations: 8 kB / 0.5907 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4126, allocations: 4 kB / 0.5907 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4126, allocations: 3.984 kB / 0.5907 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.4142, allocations: 1.346 MB / 0.592 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4142, allocations: 8.344 kB / 0.592 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.4145, allocations: 131.8 kB / 0.5922 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.4147, allocations: 136.1 kB / 0.5923 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.4148, allocations: 23.98 kB / 0.5923 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.4179, allocations: 5.994 MB / 0.5982 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4179, allocations: 10.12 kB / 0.5982 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.4189, allocations: 0.9453 MB / 0.5991 GB, free: 2.973 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.4192, allocations: 182.8 kB / 0.5993 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4193, allocations: 31.89 kB / 0.5993 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.4196, allocations: 16 kB / 0.5993 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.4197, allocations: 83.73 kB / 0.5994 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.4198, allocations: 19.98 kB / 0.5994 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004947/0.4203, allocations: 0.5431 MB / 0.5999 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.4203, allocations: 0 / 0.5999 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001037/0.4213, allocations: 415.3 kB / 0.6003 GB, free: 1.695 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.001223/0.4225, allocations: 0.4983 MB / 0.6008 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.4239, allocations: 1.022 MB / 0.6018 GB, free: 360 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.931e-05/0.4239, allocations: 20.12 kB / 0.6018 GB, free: 340 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.4246, allocations: 0.8151 MB / 0.6026 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.426, allocations: 0.5672 MB / 0.6032 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.4299, allocations: 2.466 MB / 0.6056 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4301, allocations: 249.1 kB / 0.6058 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007831/0.4309, allocations: 274 kB / 0.6061 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/0.4316, allocations: 419.1 kB / 0.6065 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of SimCode: time 1.853e-06/0.4316, allocations: 0 / 0.6065 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.032/0.4636, allocations: 23.74 MB / 0.6297 GB, free: 4.094 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.304887182079256]