Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 111 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3262/0.3262, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 51.91 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3465, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005279/0.3518, allocations: 4.987 MB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.3553, allocations: 4.572 MB / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.3554, allocations: 2.875 kB / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.3557, allocations: 46.91 kB / 0.5158 GB, free: 31.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.3572, allocations: 0.6066 MB / 0.5164 GB, free: 31.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.3575, allocations: 143.5 kB / 0.5165 GB, free: 31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005835/0.3581, allocations: 448 kB / 0.5169 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.3582, allocations: 9.625 kB / 0.5169 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.3584, allocations: 154.7 kB / 0.5171 GB, free: 30.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.3586, allocations: 130.3 kB / 0.5172 GB, free: 30.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.3586, allocations: 8 kB / 0.5172 GB, free: 30.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000725/0.3594, allocations: 358.3 kB / 0.5176 GB, free: 30.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.3595, allocations: 44.97 kB / 0.5176 GB, free: 30.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3596, allocations: 102.9 kB / 0.5177 GB, free: 30.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.3603, allocations: 424.8 kB / 0.5181 GB, free: 30.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3603, allocations: 4 kB / 0.5181 GB, free: 30.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3603, allocations: 0 / 0.5181 GB, free: 30.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3603, allocations: 3.938 kB / 0.5181 GB, free: 30.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009431/0.3612, allocations: 0.5789 MB / 0.5187 GB, free: 29.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3613, allocations: 8.656 kB / 0.5187 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3614, allocations: 29.16 kB / 0.5187 GB, free: 29.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3617, allocations: 236.8 kB / 0.5189 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.3618, allocations: 127.3 kB / 0.5191 GB, free: 29.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.3618, allocations: 22.66 kB / 0.5191 GB, free: 29.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.3623, allocations: 319.8 kB / 0.5194 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3623, allocations: 3.719 kB / 0.5194 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.3623, allocations: 18.83 kB / 0.5194 GB, free: 29.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.3624, allocations: 5.938 kB / 0.5194 GB, free: 29.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.3632, allocations: 0.7415 MB / 0.5201 GB, free: 29.2 MB / 378.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.001034/0.3642, allocations: 1.239 MB / 0.5213 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3645, allocations: 147 kB / 0.5215 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3647, allocations: 79.23 kB / 0.5216 GB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/0.3666, allocations: 2.655 MB / 0.5242 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3666, allocations: 36.78 kB / 0.5242 GB, free: 25.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.3666, allocations: 0 / 0.5242 GB, free: 25.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006946/0.3673, allocations: 221.3 kB / 0.5244 GB, free: 24.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.3674, allocations: 58.38 kB / 0.5245 GB, free: 24.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3675, allocations: 206.3 kB / 0.5247 GB, free: 24.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3676, allocations: 29.7 kB / 0.5247 GB, free: 24.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3677, allocations: 210.2 kB / 0.5249 GB, free: 24.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.3677, allocations: 62.5 kB / 0.5249 GB, free: 24.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.3678, allocations: 86.77 kB / 0.525 GB, free: 24.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.3679, allocations: 328.5 kB / 0.5253 GB, free: 24.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.368, allocations: 43.31 kB / 0.5254 GB, free: 24.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.3682, allocations: 329.9 kB / 0.5257 GB, free: 23.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.3686, allocations: 434.5 kB / 0.5261 GB, free: 23.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3686, allocations: 2.938 kB / 0.5261 GB, free: 23.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005087/0.3691, allocations: 373.1 kB / 0.5265 GB, free: 23.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3692, allocations: 8.938 kB / 0.5265 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3692, allocations: 15.59 kB / 0.5265 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.3692, allocations: 13.03 kB / 0.5265 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.3695, allocations: 109.9 kB / 0.5266 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.3695, allocations: 19.81 kB / 0.5266 GB, free: 23.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3697, allocations: 18.16 kB / 0.5266 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.3698, allocations: 30.02 kB / 0.5267 GB, free: 23.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.217e-05/0.3699, allocations: 152.9 kB / 0.5268 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3699, allocations: 22.38 kB / 0.5268 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.3702, allocations: 163.3 kB / 0.527 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3702, allocations: 7.031 kB / 0.527 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3702, allocations: 0 / 0.527 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3703, allocations: 0 / 0.527 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.3707, allocations: 436.8 kB / 0.5274 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3708, allocations: 0 / 0.5274 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.3709, allocations: 30.81 kB / 0.5274 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3709, allocations: 0 / 0.5274 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.371, allocations: 10.34 kB / 0.5275 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.371, allocations: 8.016 kB / 0.5275 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.371, allocations: 2.938 kB / 0.5275 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.3715, allocations: 0.7989 MB / 0.5282 GB, free: 21.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.3716, allocations: 103.5 kB / 0.5283 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3716, allocations: 10.72 kB / 0.5284 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3718, allocations: 14.02 kB / 0.5284 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.3718, allocations: 12.81 kB / 0.5284 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.3719, allocations: 5.438 kB / 0.5284 GB, free: 21.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.372, allocations: 154.9 kB / 0.5285 GB, free: 21.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.372, allocations: 0 / 0.5285 GB, free: 21.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005463/0.3725, allocations: 99.97 kB / 0.5286 GB, free: 21.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000339/0.3729, allocations: 169.4 kB / 0.5288 GB, free: 21.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3731, allocations: 175.6 kB / 0.529 GB, free: 21.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3731, allocations: 0.75 kB / 0.529 GB, free: 21.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.3732, allocations: 37.09 kB / 0.529 GB, free: 21.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.3736, allocations: 53.23 kB / 0.529 GB, free: 21.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.3745, allocations: 0.7033 MB / 0.5297 GB, free: 20.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.3747, allocations: 0.7361 MB / 0.5305 GB, free: 20.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.3749, allocations: 59.59 kB / 0.5305 GB, free: 20.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.375, allocations: 31.75 kB / 0.5305 GB, free: 20 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.375, allocations: 4 kB / 0.5305 GB, free: 20 MB / 378.7 MB Notification: Performance of Templates: time 0.006666/0.3817, allocations: 3.359 MB / 0.5338 GB, free: 19.64 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches