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.0008503/0.0008503, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008209/0.0008209, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8638/0.8638, allocations: 177.2 MB / 203.5 MB, free: 5.711 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.6301/0.6301, allocations: 116 MB / 376 MB, free: 4.191 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.533e-06/1.533e-06, allocations: 0 / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.976e-05, allocations: 6.219 kB / 0.5545 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.3896/0.3896, allocations: 151 MB / 0.7019 GB, free: 5 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009135/0.3988, allocations: 10.67 MB / 0.7123 GB, free: 14.16 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008852/0.3997, allocations: 99.38 kB / 0.7124 GB, free: 14.1 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.401, allocations: 0.8568 MB / 0.7133 GB, free: 13.45 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.4036, allocations: 1.896 MB / 0.7151 GB, free: 11.91 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.4057, allocations: 1.384 MB / 0.7165 GB, free: 10.86 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.4077, allocations: 2.869 MB / 0.7193 GB, free: 9.117 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.408, allocations: 236.6 kB / 0.7195 GB, free: 8.961 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.4098, allocations: 1.917 MB / 0.7214 GB, free: 7.812 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008526/0.4106, allocations: 1.048 MB / 0.7224 GB, free: 7.301 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.4108, allocations: 109.4 kB / 0.7225 GB, free: 7.301 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.4128, allocations: 1.579 MB / 0.724 GB, free: 6.605 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.413, allocations: 347.5 kB / 0.7244 GB, free: 6.332 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.4133, allocations: 0.5533 MB / 0.7249 GB, free: 6.082 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.4154, allocations: 2.526 MB / 0.7274 GB, free: 4.516 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4154, allocations: 0 / 0.7274 GB, free: 4.516 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4154, allocations: 0 / 0.7274 GB, free: 4.516 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.4154, allocations: 0 / 0.7274 GB, free: 4.516 MB / 0.573 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.002092/0.4175, allocations: 2.099 MB / 0.7294 GB, free: 2.957 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4175, allocations: 7.969 kB / 0.7294 GB, free: 2.957 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.4179, allocations: 240.6 kB / 0.7297 GB, free: 2.836 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.4195, allocations: 1.135 MB / 0.7308 GB, free: 1.992 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.4195, allocations: 83.31 kB / 0.7309 GB, free: 1.953 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.957e-05/0.4196, allocations: 105.1 kB / 0.731 GB, free: 1.918 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.4208, allocations: 1.235 MB / 0.7322 GB, free: 1.09 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4208, allocations: 10.66 kB / 0.7322 GB, free: 1.082 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.4208, allocations: 42.62 kB / 0.7322 GB, free: 1.051 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.4208, allocations: 23.38 kB / 0.7322 GB, free: 1.051 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.4219, allocations: 1.089 MB / 0.7333 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.4252, allocations: 3.728 MB / 0.7369 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008781/0.4261, allocations: 0.6992 MB / 0.7376 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.4265, allocations: 391.7 kB / 0.738 GB, free: 13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/0.4282, allocations: 1.485 MB / 0.7394 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4282, allocations: 54.8 kB / 0.7395 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=108): time 2.184e-06/0.4282, allocations: 0 / 0.7395 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=108): time 0.001944/0.4301, allocations: 1.442 MB / 0.7409 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.4302, allocations: 116.6 kB / 0.741 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.4315, allocations: 1.078 MB / 0.7421 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.4316, allocations: 46.61 kB / 0.7421 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.4319, allocations: 0.6437 MB / 0.7427 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.4321, allocations: 397.8 kB / 0.7431 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.4323, allocations: 190.6 kB / 0.7433 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.4324, allocations: 346.1 kB / 0.7436 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.4327, allocations: 299.3 kB / 0.7439 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.4331, allocations: 0.5049 MB / 0.7444 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000856/0.434, allocations: 0.7926 MB / 0.7452 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.434, allocations: 2.875 kB / 0.7452 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001282/0.4353, allocations: 1.145 MB / 0.7463 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4353, allocations: 7.531 kB / 0.7463 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4353, allocations: 5.625 kB / 0.7463 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.4356, allocations: 155.6 kB / 0.7465 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.436, allocations: 209 kB / 0.7467 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/0.4393, allocations: 6.606 MB / 0.7531 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.4396, allocations: 81.47 kB / 0.7532 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.4397, allocations: 52.58 kB / 0.7533 GB, free: 0.5 MB / 0.5886 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.0003103/0.44, allocations: 318.3 kB / 0.7536 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.4401, allocations: 155.5 kB / 0.7537 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.4418, allocations: 1.668 MB / 0.7553 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4418, allocations: 8 kB / 0.7553 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4418, allocations: 3.984 kB / 0.7553 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4419, allocations: 7.984 kB / 0.7554 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4436, allocations: 1.971 MB / 0.7573 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4436, allocations: 4 kB / 0.7573 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.4439, allocations: 124.1 kB / 0.7574 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.4441, allocations: 172.1 kB / 0.7576 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.4441, allocations: 23.98 kB / 0.7576 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002871/0.447, allocations: 6.603 MB / 0.764 GB, free: 5.141 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.447, allocations: 11.92 kB / 0.764 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.4485, allocations: 1.51 MB / 0.7655 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.4488, allocations: 234.9 kB / 0.7657 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.4489, allocations: 39.83 kB / 0.7658 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.4491, allocations: 16 kB / 0.7658 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.4492, allocations: 79.75 kB / 0.7659 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.4492, allocations: 31.97 kB / 0.7659 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006463/0.4499, allocations: 0.8259 MB / 0.7667 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.4499, allocations: 0 / 0.7667 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000942/0.4508, allocations: 499 kB / 0.7672 GB, free: 1.836 MB / 0.6042 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.00105/0.4519, allocations: 0.7605 MB / 0.7679 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.4531, allocations: 1.281 MB / 0.7692 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4531, allocations: 4 kB / 0.7692 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.4537, allocations: 0.9161 MB / 0.7701 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.455, allocations: 0.5376 MB / 0.7706 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.4582, allocations: 2.768 MB / 0.7733 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4585, allocations: 0.6242 MB / 0.7739 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.4588, allocations: 148.4 kB / 0.7741 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.4588, allocations: 0 / 0.7741 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.03371/0.4925, allocations: 53.14 MB / 0.826 GB, free: 5.672 MB / 0.6667 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.038363073952496]