Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.0009546/0.0009546, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.000931/0.000931, allocations: 173 kB / 23.03 MB, free: 1.543 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.9078/0.9078, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.6166/0.6166, allocations: 118.7 MB / 378.6 MB, free: 1.508 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.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.145e-05, allocations: 5.406 kB / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1243/0.1243, allocations: 132 MB / 0.6011 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1265, allocations: 1.886 MB / 0.603 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.1268, allocations: 39.62 kB / 0.603 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.1272, allocations: 170.6 kB / 0.6032 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007743/0.128, allocations: 0.5393 MB / 0.6037 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.1284, allocations: 283.1 kB / 0.604 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007825/0.1292, allocations: 1.111 MB / 0.6051 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1294, allocations: 98.56 kB / 0.6052 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006647/0.1301, allocations: 0.6154 MB / 0.6058 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.1305, allocations: 422.9 kB / 0.6062 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.1306, allocations: 48 kB / 0.6062 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003363/0.1309, allocations: 223.6 kB / 0.6064 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.131, allocations: 131.3 kB / 0.6065 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.1311, allocations: 219.5 kB / 0.6068 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.1318, allocations: 0.6343 MB / 0.6074 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1318, allocations: 0 / 0.6074 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1318, allocations: 0 / 0.6074 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.1318, allocations: 0 / 0.6074 GB, free: 5.91 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001016/0.1328, allocations: 1.017 MB / 0.6084 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1329, allocations: 8.031 kB / 0.6084 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.1332, allocations: 148.3 kB / 0.6085 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.1337, allocations: 0.5196 MB / 0.609 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1337, allocations: 29.38 kB / 0.6091 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1338, allocations: 48.36 kB / 0.6091 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.1344, allocations: 396.1 kB / 0.6095 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1344, allocations: 192 / 0.6095 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1344, allocations: 20.12 kB / 0.6095 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1344, allocations: 15.94 kB / 0.6095 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.1347, allocations: 249.7 kB / 0.6097 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.1362, allocations: 1.641 MB / 0.6114 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.1367, allocations: 269.2 kB / 0.6116 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1368, allocations: 127 kB / 0.6117 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.1379, allocations: 0.8339 MB / 0.6125 GB, free: 440 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1379, allocations: 41.89 kB / 0.6126 GB, free: 388 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.056e-06/0.1379, allocations: 4 kB / 0.6126 GB, free: 384 kB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.00087/0.1388, allocations: 0.5076 MB / 0.6131 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1388, allocations: 55.91 kB / 0.6131 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.1391, allocations: 462.7 kB / 0.6136 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1392, allocations: 37.7 kB / 0.6136 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1393, allocations: 335.4 kB / 0.6139 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/0.1394, allocations: 166.5 kB / 0.6141 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.1395, allocations: 91.8 kB / 0.6142 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1396, allocations: 0.5352 MB / 0.6147 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1397, allocations: 72.95 kB / 0.6148 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1399, allocations: 139.9 kB / 0.6149 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.1402, allocations: 252.3 kB / 0.6151 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1402, allocations: 4 kB / 0.6151 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004703/0.1406, allocations: 408.4 kB / 0.6155 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1407, allocations: 8 kB / 0.6155 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1407, allocations: 0 / 0.6155 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.1409, allocations: 63.45 kB / 0.6156 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1411, allocations: 87.83 kB / 0.6157 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1429, allocations: 3.563 MB / 0.6192 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.143, allocations: 31.73 kB / 0.6192 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.143, allocations: 16 kB / 0.6192 GB, free: 9.203 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001439/0.1432, allocations: 184.4 kB / 0.6194 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.1432, allocations: 71.62 kB / 0.6195 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.1439, allocations: 0.6052 MB / 0.6201 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1439, allocations: 7.984 kB / 0.6201 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1439, allocations: 4 kB / 0.6201 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1439, allocations: 0 / 0.6201 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.1449, allocations: 0.9517 MB / 0.621 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1449, allocations: 0 / 0.621 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.145, allocations: 67.91 kB / 0.6211 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001631/0.1452, allocations: 75.31 kB / 0.6211 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.1452, allocations: 16 kB / 0.6211 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.1466, allocations: 3.559 MB / 0.6246 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1466, allocations: 0 / 0.6246 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.1472, allocations: 0.6347 MB / 0.6252 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.1473, allocations: 91.48 kB / 0.6253 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.1473, allocations: 23.94 kB / 0.6253 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1474, allocations: 8 kB / 0.6254 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.1475, allocations: 39.88 kB / 0.6254 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1475, allocations: 12 kB / 0.6254 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002198/0.1478, allocations: 326.8 kB / 0.6257 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1478, allocations: 0 / 0.6257 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003576/0.1481, allocations: 179.7 kB / 0.6259 GB, free: 1.965 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001945/0.1483, allocations: 139.1 kB / 0.626 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.1489, allocations: 0.5907 MB / 0.6266 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1489, allocations: 4 kB / 0.6266 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.1492, allocations: 499.1 kB / 0.6271 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.1498, allocations: 231 kB / 0.6273 GB, free: 456 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1514, allocations: 1.09 MB / 0.6284 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.844e-05/0.1515, allocations: 126 kB / 0.6285 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.1517, allocations: 109.3 kB / 0.6286 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.1518, allocations: 64.47 kB / 0.6286 GB, free: 15 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/0.1518, allocations: 0 / 0.6286 GB, free: 15 MB / 0.5573 GB Notification: Performance of Templates: time 0.01239/0.1642, allocations: 10.28 MB / 0.6387 GB, free: 4.965 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_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: 3.9228817177936435]