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.0008158/0.0008158, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001908, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007372/0.0007372, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009105/0.001648, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9035/0.9035, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08016/0.9837, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.7853/0.7853, allocations: 118.6 MB / 362.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07282/0.8581, allocations: 35.84 MB / 398.5 MB, free: 13.23 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="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="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.674e-06/1.674e-06, allocations: 0 / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.496e-05, allocations: 2.312 kB / 399.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.3515/0.3515, allocations: 136.3 MB / 0.5235 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00666/0.3582, allocations: 3.814 MB / 0.5272 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3593, allocations: 103.1 kB / 0.5273 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.3605, allocations: 0.5665 MB / 0.5279 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.3628, allocations: 1.319 MB / 0.5292 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.3642, allocations: 0.6511 MB / 0.5298 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002834/0.367, allocations: 2.9 MB / 0.5326 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004762/0.3675, allocations: 255.3 kB / 0.5329 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.3706, allocations: 1.758 MB / 0.5346 GB, free: 348 kB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.372, allocations: 1.036 MB / 0.5356 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.3722, allocations: 108 kB / 0.5357 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009126/0.3731, allocations: 351.5 kB / 0.5361 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.3733, allocations: 262.8 kB / 0.5363 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.3739, allocations: 498.8 kB / 0.5368 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.3757, allocations: 1.471 MB / 0.5382 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.256e-05/0.3758, allocations: 3.938 kB / 0.5382 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3758, allocations: 0 / 0.5382 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.088e-05/0.3759, allocations: 3.938 kB / 0.5382 GB, free: 12.62 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.002869/0.3787, allocations: 2.5 MB / 0.5407 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3788, allocations: 8.031 kB / 0.5407 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004358/0.3792, allocations: 269.6 kB / 0.5409 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.3807, allocations: 1.089 MB / 0.542 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.3807, allocations: 82.41 kB / 0.5421 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.3808, allocations: 116.3 kB / 0.5422 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/0.3816, allocations: 0.858 MB / 0.543 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3817, allocations: 3.938 kB / 0.543 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.3817, allocations: 40 kB / 0.5431 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.3817, allocations: 31.94 kB / 0.5431 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.3822, allocations: 400.3 kB / 0.5435 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.3852, allocations: 2.953 MB / 0.5464 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.3858, allocations: 495.2 kB / 0.5468 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.386, allocations: 202.3 kB / 0.547 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.3873, allocations: 1.163 MB / 0.5482 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3873, allocations: 55.16 kB / 0.5482 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=108): time 3.346e-06/0.3873, allocations: 0 / 0.5482 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of matching and sorting (n=108): time 0.001266/0.3886, allocations: 0.8113 MB / 0.549 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.3886, allocations: 123.4 kB / 0.5491 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.3892, allocations: 0.9697 MB / 0.5501 GB, free: 112 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.3892, allocations: 41.7 kB / 0.5501 GB, free: 64 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.3895, allocations: 465.8 kB / 0.5506 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.3896, allocations: 400.4 kB / 0.5509 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3898, allocations: 190.8 kB / 0.5511 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.3899, allocations: 349.9 kB / 0.5514 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.39, allocations: 110.5 kB / 0.5516 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.3903, allocations: 470.2 kB / 0.552 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.3907, allocations: 485.2 kB / 0.5525 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3907, allocations: 1.812 kB / 0.5525 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0006694/0.3914, allocations: 0.6385 MB / 0.5531 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3914, allocations: 12.28 kB / 0.5531 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3914, allocations: 8 kB / 0.5531 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/0.3917, allocations: 132.1 kB / 0.5532 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.3921, allocations: 247.7 kB / 0.5535 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.395, allocations: 5.983 MB / 0.5593 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.3955, allocations: 87.39 kB / 0.5594 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.3955, allocations: 27.98 kB / 0.5594 GB, free: 5.891 MB / 0.5261 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.0002711/0.3958, allocations: 180.5 kB / 0.5596 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3959, allocations: 123.9 kB / 0.5597 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.3972, allocations: 1.339 MB / 0.561 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3972, allocations: 8 kB / 0.561 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3972, allocations: 4 kB / 0.561 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3972, allocations: 7.984 kB / 0.561 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.3987, allocations: 1.345 MB / 0.5624 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3987, allocations: 8.062 kB / 0.5624 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.399, allocations: 139.8 kB / 0.5625 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.3992, allocations: 182.8 kB / 0.5627 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.3994, allocations: 156.1 kB / 0.5628 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.3995, allocations: 23.98 kB / 0.5628 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.4019, allocations: 5.973 MB / 0.5687 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4019, allocations: 8.125 kB / 0.5687 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009781/0.4029, allocations: 0.9418 MB / 0.5696 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.403, allocations: 31.89 kB / 0.5696 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.4032, allocations: 20 kB / 0.5697 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.4033, allocations: 79.73 kB / 0.5697 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.4033, allocations: 19.98 kB / 0.5697 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003868/0.4037, allocations: 0.5431 MB / 0.5703 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.4037, allocations: 0 / 0.5703 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008528/0.4046, allocations: 423.2 kB / 0.5707 GB, free: 9.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.001295/0.4059, allocations: 0.5261 MB / 0.5712 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.4069, allocations: 1.031 MB / 0.5722 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.629e-05/0.4069, allocations: 20 kB / 0.5722 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.4074, allocations: 0.8042 MB / 0.573 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.4088, allocations: 0.7093 MB / 0.5737 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.4254, allocations: 2.515 MB / 0.5762 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.4257, allocations: 265.1 kB / 0.5764 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000806/0.4265, allocations: 273.6 kB / 0.5767 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/0.4271, allocations: 419.1 kB / 0.5771 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of SimCode: time 2.444e-06/0.4271, allocations: 0 / 0.5771 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of Templates: time 0.02917/0.4563, allocations: 24.65 MB / 0.6011 GB, free: 10.98 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 -emit_protected -ignoreHideResult -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.21620921138674]