Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001065/0.001065, allocations: 80.55 kB / 19.93 MB, free: 4.605 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.0008015/0.0008015, allocations: 177.2 kB / 23.22 MB, free: 1.32 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.8344/0.8344, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4741/0.4741, allocations: 80.19 MB / 340.2 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.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.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_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.4937 GB, free: 6.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.431e-05, allocations: 6.047 kB / 0.4937 GB, free: 6.348 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100): time 0.003631/0.003645, allocations: 4.736 MB / 0.4983 GB, free: 2.711 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.004073, allocations: 0.5763 MB / 0.4989 GB, free: 2.266 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.004111, allocations: 1 kB / 0.4989 GB, free: 2.266 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.004296, allocations: 28.25 kB / 0.4989 GB, free: 2.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.005395, allocations: 1.312 MB / 0.5002 GB, free: 1.348 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.005521, allocations: 103.5 kB / 0.5003 GB, free: 1.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.005659, allocations: 175.3 kB / 0.5004 GB, free: 1.078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.005688, allocations: 11.97 kB / 0.5005 GB, free: 1.066 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.007709, allocations: 3.166 MB / 0.5035 GB, free: 13.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.007762, allocations: 47.83 kB / 0.5036 GB, free: 13.84 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.007777, allocations: 4 kB / 0.5036 GB, free: 13.84 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.01029, allocations: 4.315 MB / 0.5078 GB, free: 9.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.01032, allocations: 19.91 kB / 0.5078 GB, free: 9.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.01036, allocations: 43.86 kB / 0.5079 GB, free: 9.438 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.01065, allocations: 255.3 kB / 0.5081 GB, free: 9.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01065, allocations: 4 kB / 0.5081 GB, free: 9.184 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01065, allocations: 4 kB / 0.5081 GB, free: 9.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.01066, allocations: 0 / 0.5081 GB, free: 9.18 MB / 426.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.0003469/0.01101, allocations: 353.6 kB / 0.5085 GB, free: 8.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.01104, allocations: 13.47 kB / 0.5085 GB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.01127, allocations: 28.86 kB / 0.5085 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.0114, allocations: 145.6 kB / 0.5086 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.01142, allocations: 8.375 kB / 0.5086 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.01143, allocations: 4.375 kB / 0.5087 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.01184, allocations: 224.1 kB / 0.5089 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.01185, allocations: 3.938 kB / 0.5089 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.01186, allocations: 8 kB / 0.5089 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.01187, allocations: 4 kB / 0.5089 GB, free: 8.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.01198, allocations: 103.9 kB / 0.509 GB, free: 8.215 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.0004206/0.0124, allocations: 0.5482 MB / 0.5095 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.0125, allocations: 74.55 kB / 0.5096 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.01254, allocations: 36.84 kB / 0.5096 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.01269, allocations: 68.12 kB / 0.5097 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.01271, allocations: 34.56 kB / 0.5097 GB, free: 7.395 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.01271, allocations: 4 kB / 0.5097 GB, free: 7.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002101/0.01292, allocations: 117.6 kB / 0.5098 GB, free: 7.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.695e-05/0.01294, allocations: 55.41 kB / 0.5099 GB, free: 7.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.013, allocations: 118.1 kB / 0.51 GB, free: 7.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.01302, allocations: 29.7 kB / 0.51 GB, free: 7.043 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.01306, allocations: 103.8 kB / 0.5101 GB, free: 6.938 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.01308, allocations: 51.66 kB / 0.5102 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.01312, allocations: 41.64 kB / 0.5102 GB, free: 6.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.01318, allocations: 318.8 kB / 0.5105 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.01322, allocations: 31.92 kB / 0.5106 GB, free: 6.488 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.01327, allocations: 77.12 kB / 0.5106 GB, free: 6.395 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.05e-05/0.01336, allocations: 111.9 kB / 0.5107 GB, free: 6.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01336, allocations: 0 / 0.5107 GB, free: 6.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001303/0.01349, allocations: 129.5 kB / 0.5109 GB, free: 6.137 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.0135, allocations: 11.98 kB / 0.5109 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.01351, allocations: 4.156 kB / 0.5109 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01352, allocations: 4 kB / 0.5109 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.01359, allocations: 35.92 kB / 0.5109 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.0136, allocations: 4 kB / 0.5109 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.01363, allocations: 7.953 kB / 0.5109 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01365, allocations: 8 kB / 0.5109 GB, free: 6.062 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.087e-05/0.01371, allocations: 129.7 kB / 0.5111 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.01373, allocations: 7.953 kB / 0.5111 GB, free: 5.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.0139, allocations: 142 kB / 0.5112 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.0139, allocations: 0 / 0.5112 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.0139, allocations: 4 kB / 0.5112 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.01393, allocations: 19.92 kB / 0.5112 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.01394, allocations: 3.938 kB / 0.5112 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.014, allocations: 8 kB / 0.5112 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.01402, allocations: 7.984 kB / 0.5112 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001169/0.01414, allocations: 187.8 kB / 0.5114 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001329/0.01427, allocations: 274.8 kB / 0.5117 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.608e-05/0.0143, allocations: 31.92 kB / 0.5117 GB, free: 5.227 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.279e-05/0.01434, allocations: 99.2 kB / 0.5118 GB, free: 5.129 MB / 426.7 MB Notification: Performance of Backend: time 1.41e-07/0.01434, allocations: 0 / 0.5118 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.01476, allocations: 258.3 kB / 0.512 GB, free: 4.871 MB / 426.7 MB Notification: Performance of SimCode: time 0.0003753/0.01513, allocations: 0.6433 MB / 0.5127 GB, free: 4.18 MB / 426.7 MB Notification: Performance of Templates: time 0.003748/0.01888, allocations: 2.923 MB / 0.5155 GB, free: 1.277 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.pipe >> ../files/ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.sim & ./ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100 -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable Ta in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable Ta from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! Error: Could not read variable timeUnit in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat. Warning: Get data of variable timeUnit from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.TestDowcal100_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0038915839977562]