Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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.001083/0.001083, 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.001554/0.001554, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.033/1.033, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.6947/0.6947, allocations: 118.6 MB / 378.6 MB, free: 1.527 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.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.71e-05, allocations: 3.969 kB / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1211/0.1211, allocations: 131.6 MB / 0.6007 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.1243, allocations: 3.149 MB / 0.6038 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.1246, allocations: 35.62 kB / 0.6039 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.1249, allocations: 142.7 kB / 0.604 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006429/0.1256, allocations: 452.9 kB / 0.6044 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000857/0.1264, allocations: 0.4942 MB / 0.6049 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1275, allocations: 1.058 MB / 0.6059 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1277, allocations: 98.28 kB / 0.606 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005472/0.1282, allocations: 0.5726 MB / 0.6066 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.1286, allocations: 446.9 kB / 0.607 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.1287, allocations: 52 kB / 0.6071 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.1292, allocations: 403.3 kB / 0.6075 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1293, allocations: 167.3 kB / 0.6076 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1294, allocations: 231.4 kB / 0.6078 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007591/0.1302, allocations: 0.8564 MB / 0.6087 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1302, allocations: 0 / 0.6087 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1302, allocations: 0 / 0.6087 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.1302, allocations: 0 / 0.6087 GB, free: 4.59 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001144/0.1314, allocations: 1.11 MB / 0.6098 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.1314, allocations: 8.031 kB / 0.6098 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.1316, allocations: 140.3 kB / 0.6099 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.1321, allocations: 0.5058 MB / 0.6104 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.091e-05/0.1322, allocations: 144.4 kB / 0.6105 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.1322, allocations: 48.38 kB / 0.6106 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.1328, allocations: 0.5189 MB / 0.6111 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1328, allocations: 3.938 kB / 0.6111 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.1328, allocations: 28 kB / 0.6111 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.1329, allocations: 20.98 kB / 0.6111 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.1333, allocations: 313.7 kB / 0.6114 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.1354, allocations: 1.849 MB / 0.6132 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.136, allocations: 436.9 kB / 0.6137 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.1362, allocations: 197 kB / 0.6138 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/0.1369, allocations: 304.2 kB / 0.6141 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1369, allocations: 41.89 kB / 0.6142 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 1.643e-06/0.1369, allocations: 0 / 0.6142 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.001974/0.1389, allocations: 1.328 MB / 0.6155 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.1389, allocations: 59.91 kB / 0.6155 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1392, allocations: 430.6 kB / 0.6159 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1393, allocations: 33.7 kB / 0.616 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.1394, allocations: 324.1 kB / 0.6163 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1395, allocations: 234 kB / 0.6165 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.1396, allocations: 116 kB / 0.6166 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1398, allocations: 0.543 MB / 0.6171 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1399, allocations: 109.2 kB / 0.6172 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.1402, allocations: 212.9 kB / 0.6174 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.1406, allocations: 362.1 kB / 0.6178 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1406, allocations: 0 / 0.6178 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007798/0.1414, allocations: 0.5939 MB / 0.6184 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1414, allocations: 4 kB / 0.6184 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1414, allocations: 4 kB / 0.6184 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/0.1417, allocations: 114.2 kB / 0.6185 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.142, allocations: 107.9 kB / 0.6186 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.1439, allocations: 2.536 MB / 0.6211 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1441, allocations: 24.02 kB / 0.6211 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.1441, allocations: 27.98 kB / 0.6211 GB, free: 7.352 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.1443, allocations: 184.5 kB / 0.6213 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.1445, allocations: 99.55 kB / 0.6214 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.1457, allocations: 0.7124 MB / 0.6221 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1457, allocations: 11.98 kB / 0.6221 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1457, allocations: 0 / 0.6221 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.1457, allocations: 7.984 kB / 0.6221 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.1476, allocations: 1.208 MB / 0.6233 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.1476, allocations: 16.05 kB / 0.6233 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.1479, allocations: 91.88 kB / 0.6234 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.1482, allocations: 114.1 kB / 0.6235 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.1482, allocations: 19.98 kB / 0.6235 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.15, allocations: 2.492 MB / 0.6259 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.15, allocations: 7.938 kB / 0.626 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.1513, allocations: 0.8658 MB / 0.6268 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.1515, allocations: 107.5 kB / 0.6269 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.1515, allocations: 15.95 kB / 0.6269 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1517, allocations: 15.98 kB / 0.6269 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.1518, allocations: 48.41 kB / 0.627 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.1519, allocations: 27.97 kB / 0.627 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002784/0.1521, allocations: 302.7 kB / 0.6273 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.1521, allocations: 4 kB / 0.6273 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006322/0.1528, allocations: 251.5 kB / 0.6275 GB, free: 0.5312 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003256/0.1531, allocations: 238.7 kB / 0.6278 GB, free: 296 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.1542, allocations: 0.6823 MB / 0.6284 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1542, allocations: 4 kB / 0.6284 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.1547, allocations: 0.5086 MB / 0.6289 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.1556, allocations: 247 kB / 0.6292 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1577, allocations: 1.237 MB / 0.6304 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.1578, allocations: 159.7 kB / 0.6305 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000301/0.1581, allocations: 120.6 kB / 0.6306 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1583, allocations: 60.47 kB / 0.6307 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of SimCode: time 6.12e-07/0.1583, allocations: 0 / 0.6307 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of Templates: time 0.01658/0.1749, allocations: 12.19 MB / 0.6426 GB, free: 1.234 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_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.528481901157647]