Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.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.0007766/0.0007766, 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.0007779/0.0007779, allocations: 165.3 kB / 23.53 MB, free: 0.7383 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.8364/0.8364, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.6094/0.6094, allocations: 118.6 MB / 379 MB, free: 1.48 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.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_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E") translateModel(ThermofluidStream.Media.additionalMedia.Incompressible.Tests.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_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 483.7 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.81e-05, allocations: 2.312 kB / 483.7 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E): time 0.004378/0.004397, allocations: 4.76 MB / 488.4 MB, free: 5.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004256/0.004822, allocations: 0.5842 MB / 489 MB, free: 4.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.00486, allocations: 1.625 kB / 489 MB, free: 4.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.005048, allocations: 26.55 kB / 489 MB, free: 4.715 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.006198, allocations: 1.319 MB / 490.4 MB, free: 4.426 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.006326, allocations: 95.45 kB / 490.5 MB, free: 4.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.006488, allocations: 186.7 kB / 490.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.743e-05/0.006516, allocations: 13.58 kB / 490.7 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.008786, allocations: 3.169 MB / 493.8 MB, free: 3.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.008845, allocations: 45.75 kB / 493.9 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.008862, allocations: 5.438 kB / 493.9 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.01165, allocations: 4.314 MB / 498.2 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.01168, allocations: 15.92 kB / 498.2 MB, free: 2.531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.01172, allocations: 43.91 kB / 498.2 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.01197, allocations: 267.2 kB / 498.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.01197, allocations: 0 / 498.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01198, allocations: 3.938 kB / 498.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.01198, allocations: 0 / 498.5 MB, free: 2.223 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.0003267/0.01231, allocations: 349.6 kB / 498.9 MB, free: 17.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.01234, allocations: 8.031 kB / 498.9 MB, free: 17.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.0126, allocations: 60.67 kB / 498.9 MB, free: 17.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.01271, allocations: 133.7 kB / 499 MB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.01272, allocations: 8.375 kB / 499.1 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.01274, allocations: 12.38 kB / 499.1 MB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.01289, allocations: 222.4 kB / 499.3 MB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.01289, allocations: 0 / 499.3 MB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.01291, allocations: 4 kB / 499.3 MB, free: 17.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.01291, allocations: 4 kB / 499.3 MB, free: 17.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.01301, allocations: 115.8 kB / 499.4 MB, free: 17.23 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.0003967/0.01341, allocations: 0.5514 MB / 500 MB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.498e-05/0.0135, allocations: 82.48 kB / 0.4883 GB, free: 16.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.01353, allocations: 36.84 kB / 0.4884 GB, free: 16.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.01367, allocations: 72.2 kB / 0.4884 GB, free: 16.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.01368, allocations: 30.56 kB / 0.4885 GB, free: 16.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.01369, allocations: 0 / 0.4885 GB, free: 16.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001889/0.01387, allocations: 136.8 kB / 0.4886 GB, free: 16.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.241e-05/0.01389, allocations: 55.41 kB / 0.4886 GB, free: 16.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.01395, allocations: 113.8 kB / 0.4887 GB, free: 16.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.01396, allocations: 25.7 kB / 0.4888 GB, free: 16.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.014, allocations: 103.9 kB / 0.4889 GB, free: 15.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.01401, allocations: 43.58 kB / 0.4889 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.01404, allocations: 41.7 kB / 0.4889 GB, free: 15.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.01411, allocations: 326.8 kB / 0.4893 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.01414, allocations: 23.98 kB / 0.4893 GB, free: 15.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.01418, allocations: 65.14 kB / 0.4893 GB, free: 15.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.01425, allocations: 113 kB / 0.4895 GB, free: 15.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01425, allocations: 0 / 0.4895 GB, free: 15.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001314/0.01439, allocations: 141.5 kB / 0.4896 GB, free: 15.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.0144, allocations: 8 kB / 0.4896 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.0144, allocations: 0 / 0.4896 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.01441, allocations: 4 kB / 0.4896 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.01449, allocations: 31.98 kB / 0.4896 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.0145, allocations: 7.938 kB / 0.4896 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.01453, allocations: 11.95 kB / 0.4896 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01455, allocations: 8 kB / 0.4897 GB, free: 15.07 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 5.973e-05/0.01461, allocations: 125.7 kB / 0.4898 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.01463, allocations: 16.08 kB / 0.4898 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.01481, allocations: 148 kB / 0.4899 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01482, allocations: 3.984 kB / 0.4899 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.01482, allocations: 0 / 0.4899 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.01485, allocations: 23.94 kB / 0.49 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.01486, allocations: 3.938 kB / 0.49 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.01492, allocations: 3.938 kB / 0.49 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.01494, allocations: 15.97 kB / 0.49 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001184/0.01506, allocations: 184.9 kB / 0.4902 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001458/0.0152, allocations: 289.8 kB / 0.4904 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.892e-05/0.01524, allocations: 35.91 kB / 0.4905 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.011e-05/0.01527, allocations: 87.28 kB / 0.4906 GB, free: 14.13 MB / 426.7 MB Notification: Performance of Backend: time 2.31e-07/0.01527, allocations: 4 kB / 0.4906 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.01569, allocations: 246 kB / 0.4908 GB, free: 13.88 MB / 426.7 MB Notification: Performance of SimCode: time 0.0004042/0.0161, allocations: 0.6552 MB / 0.4914 GB, free: 13.18 MB / 426.7 MB Notification: Performance of Templates: time 0.003984/0.02008, allocations: 3.078 MB / 0.4944 GB, free: 10.16 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E.pipe >> ../files/ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E.sim & ./ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E.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.TestDowcal100E_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat failed! Error: Could not read variable Ta in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat. Warning: Get data of variable Ta from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat failed! Error: Could not read variable timeUnit in file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat. Warning: Get data of variable timeUnit from file ThermofluidStream_ThermofluidStream.Media.additionalMedia.Incompressible.Tests.TestDowcal100E_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0589467259706]