Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.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.001106/0.001106, allocations: 90.56 kB / 20.21 MB, free: 4.055 MB / 18.57 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.001223/0.001223, allocations: 165.6 kB / 23.54 MB, free: 0.7344 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.838/0.838, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.6157/0.6157, allocations: 118.7 MB / 379 MB, free: 1.5 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.Media.additionalMedia.Incompressible.Tests.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_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100") translateModel(ThermofluidStream.Media.additionalMedia.Incompressible.Tests.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_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 483.7 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.136e-05, allocations: 3.469 kB / 483.7 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100): time 0.00364/0.003652, allocations: 4.768 MB / 488.4 MB, free: 5.145 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004247/0.004076, allocations: 0.5775 MB / 489 MB, free: 4.766 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.004113, allocations: 1.531 kB / 489 MB, free: 4.766 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.004299, allocations: 31.14 kB / 489.1 MB, free: 4.746 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.005447, allocations: 1.322 MB / 490.4 MB, free: 4.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.005571, allocations: 92.53 kB / 490.5 MB, free: 4.406 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.005735, allocations: 190.3 kB / 490.6 MB, free: 4.316 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.706e-05/0.005762, allocations: 10.31 kB / 490.7 MB, free: 4.312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.008066, allocations: 3.169 MB / 493.8 MB, free: 4.012 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.008127, allocations: 38.06 kB / 493.9 MB, free: 4.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.008145, allocations: 5.312 kB / 493.9 MB, free: 4.004 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.01099, allocations: 4.319 MB / 498.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.01103, allocations: 23.91 kB / 498.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.01107, allocations: 35.92 kB / 498.2 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.01132, allocations: 263.2 kB / 498.5 MB, free: 2.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.01133, allocations: 0 / 498.5 MB, free: 2.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01133, allocations: 0 / 498.5 MB, free: 2.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.01133, allocations: 0 / 498.5 MB, free: 2.25 MB / 410.7 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.0003242/0.01165, allocations: 357.6 kB / 498.9 MB, free: 17.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.01168, allocations: 8.031 kB / 498.9 MB, free: 17.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.01195, allocations: 56.67 kB / 498.9 MB, free: 17.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.01206, allocations: 137.6 kB / 499.1 MB, free: 17.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.01207, allocations: 12.31 kB / 499.1 MB, free: 17.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.01208, allocations: 12.38 kB / 499.1 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.01224, allocations: 220.7 kB / 499.3 MB, free: 17.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.01225, allocations: 0 / 499.3 MB, free: 17.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.01226, allocations: 4 kB / 499.3 MB, free: 17.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.01226, allocations: 4 kB / 499.3 MB, free: 17.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.01237, allocations: 115.8 kB / 499.4 MB, free: 17.25 MB / 426.7 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.0004036/0.01277, allocations: 0.5436 MB / 500 MB, free: 16.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.01286, allocations: 86.48 kB / 0.4883 GB, free: 16.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.01289, allocations: 32.84 kB / 0.4884 GB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.01304, allocations: 72.19 kB / 0.4884 GB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.01305, allocations: 30.56 kB / 0.4884 GB, free: 16.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.01305, allocations: 0 / 0.4884 GB, free: 16.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002035/0.01326, allocations: 129.2 kB / 0.4886 GB, free: 16.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.478e-05/0.01327, allocations: 59.41 kB / 0.4886 GB, free: 16.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.01334, allocations: 121.8 kB / 0.4887 GB, free: 16.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.01335, allocations: 29.7 kB / 0.4888 GB, free: 16.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.01339, allocations: 99.94 kB / 0.4889 GB, free: 15.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.0134, allocations: 51.56 kB / 0.4889 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.01343, allocations: 37.7 kB / 0.489 GB, free: 15.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.0135, allocations: 318.8 kB / 0.4893 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.01353, allocations: 27.98 kB / 0.4893 GB, free: 15.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.01357, allocations: 69.12 kB / 0.4894 GB, free: 15.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.01364, allocations: 109.1 kB / 0.4895 GB, free: 15.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01364, allocations: 0 / 0.4895 GB, free: 15.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001202/0.01376, allocations: 141.4 kB / 0.4896 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01377, allocations: 8 kB / 0.4896 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01378, allocations: 7.984 kB / 0.4896 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01379, allocations: 4 kB / 0.4896 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.01386, allocations: 32.14 kB / 0.4896 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01387, allocations: 4 kB / 0.4896 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.0139, allocations: 11.95 kB / 0.4897 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.01391, allocations: 4 kB / 0.4897 GB, free: 15.1 MB / 426.7 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 6.108e-05/0.01397, allocations: 133.7 kB / 0.4898 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.014, allocations: 15.88 kB / 0.4898 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.01418, allocations: 144.5 kB / 0.4899 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01419, allocations: 0 / 0.4899 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.01419, allocations: 7.938 kB / 0.4899 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.01422, allocations: 23.92 kB / 0.49 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.01423, allocations: 3.938 kB / 0.49 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.01428, allocations: 4 kB / 0.49 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.0143, allocations: 7.984 kB / 0.49 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001201/0.01442, allocations: 180.9 kB / 0.4902 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001462/0.01457, allocations: 286.7 kB / 0.4904 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.605e-05/0.0146, allocations: 30.55 kB / 0.4905 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.168e-05/0.01464, allocations: 91.27 kB / 0.4905 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Backend: time 2.5e-07/0.01464, allocations: 4 kB / 0.4906 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.01529, allocations: 254.6 kB / 0.4908 GB, free: 13.9 MB / 426.7 MB Notification: Performance of SimCode: time 0.0004009/0.01569, allocations: 0.6503 MB / 0.4914 GB, free: 13.2 MB / 426.7 MB Notification: Performance of Templates: time 0.004014/0.01971, allocations: 3.082 MB / 0.4944 GB, free: 10.18 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100.pipe >> ../files/ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100.sim & ./ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100 -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable CPUtime in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat failed! Error: Could not read variable Ta in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat. Warning: Get data of variable Ta from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat failed! Error: Could not read variable timeUnit in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat. Warning: Get data of variable timeUnit from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.240140677022282]