Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001085/0.001085, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001176/0.001176, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.152 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.716/0.716, allocations: 118.6 MB / 379.7 MB, free: 1.367 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.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_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_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 484.8 MB, free: 8.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.475e-05, allocations: 3.297 kB / 484.8 MB, free: 8.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1264/0.1264, allocations: 130.9 MB / 0.6013 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005254/0.1317, allocations: 3.936 MB / 0.6051 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006939/0.1324, allocations: 59.44 kB / 0.6052 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.1331, allocations: 397.6 kB / 0.6055 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.1347, allocations: 0.8926 MB / 0.6064 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.136, allocations: 0.6579 MB / 0.607 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.138, allocations: 2.195 MB / 0.6092 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.1384, allocations: 211.8 kB / 0.6094 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.1406, allocations: 1.338 MB / 0.6107 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.1419, allocations: 1.091 MB / 0.6118 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.1422, allocations: 124 kB / 0.6119 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008372/0.143, allocations: 471.2 kB / 0.6123 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.1433, allocations: 418.5 kB / 0.6127 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.1438, allocations: 0.53 MB / 0.6132 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.1455, allocations: 1.639 MB / 0.6148 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1455, allocations: 0 / 0.6148 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1455, allocations: 0 / 0.6148 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.1455, allocations: 0 / 0.6148 GB, free: 15.21 MB / 0.5417 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.002538/0.1481, allocations: 2.114 MB / 0.6169 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1481, allocations: 8.031 kB / 0.6169 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.1485, allocations: 267.8 kB / 0.6172 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.1496, allocations: 0.9545 MB / 0.6181 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.1497, allocations: 133.9 kB / 0.6182 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.1498, allocations: 99.89 kB / 0.6183 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009908/0.1508, allocations: 0.9167 MB / 0.6192 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.1508, allocations: 0 / 0.6192 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.1509, allocations: 36 kB / 0.6193 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.151, allocations: 53.97 kB / 0.6193 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008772/0.1518, allocations: 0.6884 MB / 0.62 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.156, allocations: 3.393 MB / 0.6233 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.1568, allocations: 0.6995 MB / 0.624 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/0.1572, allocations: 381.3 kB / 0.6243 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/0.159, allocations: 1.374 MB / 0.6257 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.159, allocations: 54.38 kB / 0.6257 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 2.013e-06/0.159, allocations: 0 / 0.6257 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.003735/0.1628, allocations: 2.591 MB / 0.6283 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.1628, allocations: 68.41 kB / 0.6283 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.1634, allocations: 0.8337 MB / 0.6291 GB, free: 260 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.1634, allocations: 49.7 kB / 0.6292 GB, free: 204 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.1637, allocations: 0.5511 MB / 0.6297 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.1639, allocations: 460 kB / 0.6302 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.1642, allocations: 260.3 kB / 0.6304 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1643, allocations: 0.5354 MB / 0.6309 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.1646, allocations: 218.4 kB / 0.6312 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.1651, allocations: 0.593 MB / 0.6317 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.1658, allocations: 0.7006 MB / 0.6324 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1658, allocations: 4 kB / 0.6324 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001427/0.1673, allocations: 1.151 MB / 0.6335 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1673, allocations: 4 kB / 0.6335 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1673, allocations: 8.062 kB / 0.6336 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005164/0.1678, allocations: 288.4 kB / 0.6338 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.1684, allocations: 231.6 kB / 0.6341 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.1709, allocations: 3.253 MB / 0.6372 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.1713, allocations: 35.98 kB / 0.6373 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.1714, allocations: 55.92 kB / 0.6373 GB, free: 7.586 MB / 0.5573 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.000264/0.1717, allocations: 216.3 kB / 0.6375 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.1719, allocations: 175.2 kB / 0.6377 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.1737, allocations: 1.548 MB / 0.6392 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.1737, allocations: 12 kB / 0.6392 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1737, allocations: 4 kB / 0.6392 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.1737, allocations: 7.969 kB / 0.6392 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.1764, allocations: 2.329 MB / 0.6415 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.1764, allocations: 12.03 kB / 0.6415 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.1769, allocations: 191.6 kB / 0.6417 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005412/0.1775, allocations: 347.3 kB / 0.642 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/0.1775, allocations: 52 kB / 0.6421 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2234/0.4009, allocations: 3.261 MB / 0.6453 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.4009, allocations: 5.375 kB / 0.6453 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.4035, allocations: 1.715 MB / 0.6469 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.4039, allocations: 254.2 kB / 0.6472 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.4041, allocations: 33.59 kB / 0.6472 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.4045, allocations: 24.89 kB / 0.6472 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.4047, allocations: 119.8 kB / 0.6474 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/0.4048, allocations: 57.61 kB / 0.6474 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004181/0.4052, allocations: 0.5002 MB / 0.6479 GB, free: 48.37 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4052, allocations: 0 / 0.6479 GB, free: 48.37 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001073/0.4063, allocations: 424.7 kB / 0.6483 GB, free: 48.37 MB / 0.5573 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.0008979/0.4072, allocations: 469.2 kB / 0.6487 GB, free: 48.28 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.4088, allocations: 1.211 MB / 0.6499 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4088, allocations: 0.9375 kB / 0.6499 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008859/0.4097, allocations: 0.8882 MB / 0.6508 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.411, allocations: 0.5127 MB / 0.6513 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.4141, allocations: 2.621 MB / 0.6539 GB, free: 46.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.4143, allocations: 286.4 kB / 0.6541 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006589/0.4149, allocations: 224.3 kB / 0.6543 GB, free: 46.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/0.4157, allocations: 469.9 kB / 0.6548 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of SimCode: time 1.252e-06/0.4157, allocations: 0 / 0.6548 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.03057/0.4463, allocations: 27.55 MB / 0.6817 GB, free: 41.23 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.696223946753889]