Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E.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.001537/0.001537, allocations: 96.2 kB / 19.7 MB, free: 2.129 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.001651/0.001651, allocations: 213 kB / 23 MB, free: 4.934 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.7319/0.7319, allocations: 100.3 MB / 413.5 MB, free: 3.41 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.TestDowcal100E,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.TestDowcal100E") translateModel(ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E,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.TestDowcal100E") [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.002498/0.002498, allocations: 92.7 kB / 0.5645 GB, free: 35.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1071, allocations: 74.46 MB / 0.6372 GB, free: 6.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E): time 0.007335/0.1144, allocations: 4.745 MB / 0.6418 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008661/0.1153, allocations: 0.5686 MB / 0.6424 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.1154, allocations: 4 kB / 0.6424 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1156, allocations: 27.83 kB / 0.6424 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.1176, allocations: 1.305 MB / 0.6437 GB, free: 208 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1178, allocations: 98.92 kB / 0.6438 GB, free: 112 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1181, allocations: 183.3 kB / 0.6439 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.1181, allocations: 3.984 kB / 0.6439 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003345/0.1215, allocations: 3.147 MB / 0.647 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.1216, allocations: 59.77 kB / 0.6471 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1216, allocations: 4 kB / 0.6471 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004607/0.1262, allocations: 4.311 MB / 0.6513 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.1262, allocations: 19.92 kB / 0.6513 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.1263, allocations: 47.78 kB / 0.6514 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1267, allocations: 235.3 kB / 0.6516 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1267, allocations: 4 kB / 0.6516 GB, free: 8.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1267, allocations: 0 / 0.6516 GB, free: 8.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1267, allocations: 0 / 0.6516 GB, free: 8.074 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.000515/0.1272, allocations: 345.7 kB / 0.6519 GB, free: 7.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1273, allocations: 12.03 kB / 0.6519 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.1277, allocations: 32.86 kB / 0.652 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1279, allocations: 146.3 kB / 0.6521 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1279, allocations: 8.375 kB / 0.6521 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1279, allocations: 11.94 kB / 0.6521 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.1282, allocations: 211.2 kB / 0.6523 GB, free: 7.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1282, allocations: 7.938 kB / 0.6523 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1282, allocations: 4 kB / 0.6523 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1283, allocations: 7.938 kB / 0.6523 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.1284, allocations: 103.9 kB / 0.6524 GB, free: 7.113 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.0006808/0.1291, allocations: 0.5514 MB / 0.653 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1293, allocations: 74.55 kB / 0.653 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.1293, allocations: 33.09 kB / 0.6531 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.1296, allocations: 63.94 kB / 0.6531 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1296, allocations: 46.5 kB / 0.6532 GB, free: 6.285 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1296, allocations: 0 / 0.6532 GB, free: 6.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002894/0.1299, allocations: 128 kB / 0.6533 GB, free: 6.156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.1299, allocations: 55.41 kB / 0.6534 GB, free: 6.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.13, allocations: 117.8 kB / 0.6535 GB, free: 5.965 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1301, allocations: 25.7 kB / 0.6535 GB, free: 5.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1301, allocations: 107.9 kB / 0.6536 GB, free: 5.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.1302, allocations: 47.58 kB / 0.6536 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.1302, allocations: 37.67 kB / 0.6537 GB, free: 5.734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1304, allocations: 318.8 kB / 0.654 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.1304, allocations: 27.98 kB / 0.654 GB, free: 5.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.1305, allocations: 75.09 kB / 0.6541 GB, free: 5.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1307, allocations: 105.1 kB / 0.6542 GB, free: 5.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1307, allocations: 0 / 0.6542 GB, free: 5.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002295/0.1309, allocations: 132.9 kB / 0.6543 GB, free: 5.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1309, allocations: 12.16 kB / 0.6543 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1309, allocations: 0 / 0.6543 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1309, allocations: 4 kB / 0.6543 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1311, allocations: 35.92 kB / 0.6544 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1311, allocations: 7.938 kB / 0.6544 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.1311, allocations: 11.89 kB / 0.6544 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1311, allocations: 7.984 kB / 0.6544 GB, free: 4.965 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.0001023/0.1312, allocations: 125.8 kB / 0.6545 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.1313, allocations: 7.953 kB / 0.6545 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.1316, allocations: 146 kB / 0.6546 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1316, allocations: 384 / 0.6546 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1316, allocations: 11.88 kB / 0.6547 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1316, allocations: 19.88 kB / 0.6547 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1317, allocations: 0 / 0.6547 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1318, allocations: 11.94 kB / 0.6547 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.1318, allocations: 11.97 kB / 0.6547 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002098/0.132, allocations: 180.9 kB / 0.6549 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002458/0.1322, allocations: 281.3 kB / 0.6551 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.474e-05/0.1323, allocations: 39.97 kB / 0.6552 GB, free: 4.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.1324, allocations: 87.28 kB / 0.6553 GB, free: 4.023 MB / 494.1 MB Notification: Performance of Backend: time 1.5e-07/0.1324, allocations: 0 / 0.6553 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.133, allocations: 247.2 kB / 0.6555 GB, free: 3.777 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006187/0.1336, allocations: 0.6687 MB / 0.6562 GB, free: 3.059 MB / 494.1 MB Notification: Performance of Templates: time 0.006384/0.14, allocations: 3.069 MB / 0.6592 GB, free: 20 kB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E.sim & ./ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E.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.TestDowcal100E_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat failed! Error: Could not read variable Ta in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat. Warning: Get data of variable Ta from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat failed! Error: Could not read variable timeUnit in file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat. Warning: Get data of variable timeUnit from file ThermofluidStream_dev_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100E_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.112805657998251]