Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001158/0.001158, allocations: 93.06 kB / 19.65 MB, free: 280 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.001244/0.001244, allocations: 169 kB / 23.02 MB, free: 1.551 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.8929/0.8929, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.6382/0.6382, allocations: 118.6 MB / 378.6 MB, free: 1.488 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.356e-05, allocations: 2.312 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1185/0.1185, allocations: 132 MB / 0.6011 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002455/0.121, allocations: 1.882 MB / 0.603 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.1213, allocations: 51.56 kB / 0.603 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.1218, allocations: 166.7 kB / 0.6032 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008821/0.1227, allocations: 0.5431 MB / 0.6037 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1232, allocations: 275.1 kB / 0.604 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.1243, allocations: 1.111 MB / 0.6051 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1245, allocations: 98.61 kB / 0.6051 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007752/0.1253, allocations: 0.6037 MB / 0.6057 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005023/0.1258, allocations: 430.9 kB / 0.6061 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.1258, allocations: 44 kB / 0.6062 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.1262, allocations: 223.6 kB / 0.6064 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1263, allocations: 131.3 kB / 0.6065 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.1265, allocations: 223.5 kB / 0.6067 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.1272, allocations: 0.6382 MB / 0.6074 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1272, allocations: 0 / 0.6074 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1272, allocations: 0 / 0.6074 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.1272, allocations: 4 kB / 0.6074 GB, free: 5.883 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.001182/0.1284, allocations: 1.009 MB / 0.6084 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1284, allocations: 8.031 kB / 0.6084 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.1288, allocations: 152.3 kB / 0.6085 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.1295, allocations: 0.5118 MB / 0.609 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1295, allocations: 37.38 kB / 0.609 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.1296, allocations: 44.33 kB / 0.6091 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.1301, allocations: 408 kB / 0.6095 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1302, allocations: 192 / 0.6095 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.1302, allocations: 24.12 kB / 0.6095 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1302, allocations: 8 kB / 0.6095 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.1306, allocations: 241.8 kB / 0.6097 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.1326, allocations: 1.649 MB / 0.6113 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.1331, allocations: 260.2 kB / 0.6116 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.1333, allocations: 129.1 kB / 0.6117 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.1346, allocations: 0.8339 MB / 0.6125 GB, free: 420 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1346, allocations: 41.89 kB / 0.6126 GB, free: 368 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/0.1346, allocations: 0 / 0.6126 GB, free: 368 kB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.001005/0.1356, allocations: 0.5076 MB / 0.6131 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1356, allocations: 59.84 kB / 0.6131 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.136, allocations: 462.7 kB / 0.6136 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.136, allocations: 33.7 kB / 0.6136 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.1362, allocations: 339.3 kB / 0.6139 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.1362, allocations: 162.6 kB / 0.6141 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.1363, allocations: 95.8 kB / 0.6142 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1364, allocations: 0.5313 MB / 0.6147 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.1365, allocations: 72.94 kB / 0.6148 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1367, allocations: 139.9 kB / 0.6149 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.137, allocations: 244.3 kB / 0.6151 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.137, allocations: 0 / 0.6151 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004709/0.1374, allocations: 420.3 kB / 0.6155 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1375, allocations: 6.344 kB / 0.6155 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1375, allocations: 128 / 0.6155 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.1377, allocations: 67.33 kB / 0.6156 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1379, allocations: 87.89 kB / 0.6157 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.1396, allocations: 3.559 MB / 0.6192 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1398, allocations: 39.67 kB / 0.6192 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1398, allocations: 16 kB / 0.6192 GB, free: 9.184 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.0001209/0.1399, allocations: 184.4 kB / 0.6194 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.14, allocations: 75.69 kB / 0.6195 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.1407, allocations: 0.6096 MB / 0.62 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1407, allocations: 4 kB / 0.6201 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1407, allocations: 0 / 0.6201 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1407, allocations: 3.984 kB / 0.6201 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009247/0.1416, allocations: 0.94 MB / 0.621 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1416, allocations: 4 kB / 0.621 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1418, allocations: 67.91 kB / 0.621 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.1419, allocations: 87.38 kB / 0.6211 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.1419, allocations: 8 kB / 0.6211 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.1434, allocations: 3.555 MB / 0.6246 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1434, allocations: 4 kB / 0.6246 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/0.1443, allocations: 0.627 MB / 0.6252 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1444, allocations: 99.44 kB / 0.6253 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1445, allocations: 12 kB / 0.6253 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1446, allocations: 11.98 kB / 0.6253 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.1446, allocations: 39.81 kB / 0.6254 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1447, allocations: 20 kB / 0.6254 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002054/0.1449, allocations: 326.8 kB / 0.6257 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1449, allocations: 0 / 0.6257 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003542/0.1452, allocations: 179.7 kB / 0.6259 GB, free: 1.945 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.0001746/0.1454, allocations: 135.1 kB / 0.626 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005675/0.146, allocations: 0.5986 MB / 0.6266 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.146, allocations: 0 / 0.6266 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.1463, allocations: 499 kB / 0.6271 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.1469, allocations: 227.2 kB / 0.6273 GB, free: 436 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.1484, allocations: 1.105 MB / 0.6284 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.359e-05/0.1485, allocations: 126 kB / 0.6285 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.1487, allocations: 107.2 kB / 0.6286 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.1488, allocations: 60.47 kB / 0.6286 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/0.1488, allocations: 0 / 0.6286 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of Templates: time 0.01252/0.1613, allocations: 10.28 MB / 0.6387 GB, free: 4.949 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.906158715020865]