Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.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.001542/0.001542, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001699/0.001699, allocations: 215.2 kB / 23 MB, free: 4.969 MB / 14.72 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.7378/0.7378, allocations: 100.3 MB / 413.5 MB, free: 3.434 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.Media.additionalMedia.Incompressible.TestDowcal100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Ta|Time|_derdummy|_dummy|cv|d|eta|h|lambda|medium.MM|medium.R_s|medium.T|medium.T_degC|medium.T_start|medium.X.1.|medium.cp|medium.d|medium.h|medium.p|medium.p_bar|medium.preferredMediumStates|medium.standardOrderComponents|medium.state.T|medium.state.p|medium.u|s|timeUnit|u",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100") translateModel(ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Ta|Time|_derdummy|_dummy|cv|d|eta|h|lambda|medium.MM|medium.R_s|medium.T|medium.T_degC|medium.T_start|medium.X.1.|medium.cp|medium.d|medium.h|medium.p|medium.p_bar|medium.preferredMediumStates|medium.standardOrderComponents|medium.state.T|medium.state.p|medium.u|s|timeUnit|u",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 91.12 kB / 0.5645 GB, free: 35.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1094, allocations: 74.45 MB / 0.6372 GB, free: 6.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100): time 0.007253/0.1167, allocations: 4.745 MB / 0.6418 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.1176, allocations: 0.5803 MB / 0.6424 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.1176, allocations: 0 / 0.6424 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1178, allocations: 31.78 kB / 0.6424 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1199, allocations: 1.305 MB / 0.6437 GB, free: 220 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.1202, allocations: 86.11 kB / 0.6438 GB, free: 136 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1204, allocations: 191.2 kB / 0.6439 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.1204, allocations: 4 kB / 0.6439 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.1239, allocations: 3.151 MB / 0.647 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.124, allocations: 51.77 kB / 0.6471 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.124, allocations: 8 kB / 0.6471 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004713/0.1287, allocations: 4.307 MB / 0.6513 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.1288, allocations: 31.83 kB / 0.6513 GB, free: 8.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.1288, allocations: 35.88 kB / 0.6513 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.1293, allocations: 243.3 kB / 0.6516 GB, free: 8.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1293, allocations: 0 / 0.6516 GB, free: 8.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1293, allocations: 0 / 0.6516 GB, free: 8.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1293, allocations: 0 / 0.6516 GB, free: 8.09 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005658/0.1299, allocations: 349.7 kB / 0.6519 GB, free: 7.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1299, allocations: 8.031 kB / 0.6519 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.1303, allocations: 32.86 kB / 0.652 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1305, allocations: 138.3 kB / 0.6521 GB, free: 7.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1306, allocations: 12.38 kB / 0.6521 GB, free: 7.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.1306, allocations: 15.94 kB / 0.6521 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.1309, allocations: 214.1 kB / 0.6523 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1309, allocations: 0 / 0.6523 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.131, allocations: 8 kB / 0.6523 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.131, allocations: 0 / 0.6523 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.1311, allocations: 118 kB / 0.6524 GB, free: 7.125 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.1318, allocations: 0.5437 MB / 0.653 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.132, allocations: 82.48 kB / 0.653 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.132, allocations: 33.09 kB / 0.6531 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.1323, allocations: 63.95 kB / 0.6531 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.1323, allocations: 34.55 kB / 0.6532 GB, free: 6.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1323, allocations: 0 / 0.6532 GB, free: 6.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.000287/0.1326, allocations: 132.8 kB / 0.6533 GB, free: 6.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1327, allocations: 51.41 kB / 0.6533 GB, free: 6.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1328, allocations: 125.7 kB / 0.6535 GB, free: 5.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1328, allocations: 29.64 kB / 0.6535 GB, free: 5.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.1329, allocations: 107.9 kB / 0.6536 GB, free: 5.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1329, allocations: 43.58 kB / 0.6536 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.133, allocations: 41.66 kB / 0.6537 GB, free: 5.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1331, allocations: 322.8 kB / 0.654 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.1331, allocations: 19.98 kB / 0.654 GB, free: 5.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.1332, allocations: 73.12 kB / 0.6541 GB, free: 5.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1334, allocations: 105.1 kB / 0.6542 GB, free: 5.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1334, allocations: 0 / 0.6542 GB, free: 5.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002291/0.1336, allocations: 129.6 kB / 0.6543 GB, free: 5.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1336, allocations: 4 kB / 0.6543 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1336, allocations: 4 kB / 0.6543 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1337, allocations: 3.984 kB / 0.6543 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1338, allocations: 35.92 kB / 0.6543 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1338, allocations: 7.922 kB / 0.6544 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.1339, allocations: 15.89 kB / 0.6544 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1339, allocations: 8 kB / 0.6544 GB, free: 4.98 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.134, allocations: 123.8 kB / 0.6545 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.134, allocations: 8.047 kB / 0.6545 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.1343, allocations: 149.2 kB / 0.6546 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1343, allocations: 0 / 0.6546 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.1343, allocations: 3.938 kB / 0.6546 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.1344, allocations: 31.86 kB / 0.6547 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1344, allocations: 0 / 0.6547 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1345, allocations: 7.938 kB / 0.6547 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.1345, allocations: 11.98 kB / 0.6547 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002128/0.1347, allocations: 189.2 kB / 0.6549 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002424/0.135, allocations: 282.7 kB / 0.6551 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.877e-05/0.135, allocations: 39.22 kB / 0.6552 GB, free: 4.121 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.1351, allocations: 99.14 kB / 0.6553 GB, free: 4.023 MB / 494.1 MB Notification: Performance of Backend: time 2.41e-07/0.1351, allocations: 0 / 0.6553 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.1357, allocations: 227.3 kB / 0.6555 GB, free: 3.797 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006459/0.1364, allocations: 0.6807 MB / 0.6562 GB, free: 3.066 MB / 494.1 MB Notification: Performance of Templates: time 0.006507/0.1429, allocations: 3.067 MB / 0.6592 GB, free: 28 kB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.sim & ./ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100 -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable CPUtime in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable Ta in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable Ta from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable timeUnit in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable timeUnit from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.105434656004945]