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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 187 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 55.91 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.381, allocations: 60.83 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005125/0.3861, allocations: 4.963 MB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005017/0.3912, allocations: 4.557 MB / 0.5282 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3913, allocations: 1.375 kB / 0.5282 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.3917, allocations: 54.48 kB / 0.5283 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.3936, allocations: 0.6586 MB / 0.5289 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.394, allocations: 162.5 kB / 0.5291 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005707/0.3946, allocations: 366.4 kB / 0.5294 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.3947, allocations: 14.48 kB / 0.5294 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.3949, allocations: 150 kB / 0.5296 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.3952, allocations: 129 kB / 0.5297 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.3952, allocations: 7.75 kB / 0.5297 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008605/0.3961, allocations: 332.2 kB / 0.53 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.3962, allocations: 56.14 kB / 0.5301 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3963, allocations: 105.6 kB / 0.5302 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006866/0.397, allocations: 417.8 kB / 0.5306 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.397, allocations: 1.312 kB / 0.5306 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.397, allocations: 0 / 0.5306 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.397, allocations: 4 kB / 0.5306 GB, free: 11.34 MB / 398.1 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.001026/0.3981, allocations: 0.5824 MB / 0.5312 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3981, allocations: 9.031 kB / 0.5312 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.3983, allocations: 33.5 kB / 0.5312 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3986, allocations: 224.6 kB / 0.5314 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.3988, allocations: 124 kB / 0.5315 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.3988, allocations: 26.55 kB / 0.5316 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.3994, allocations: 327.3 kB / 0.5319 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3995, allocations: 1.125 kB / 0.5319 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.3995, allocations: 10.75 kB / 0.5319 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3995, allocations: 15.31 kB / 0.5319 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008756/0.4004, allocations: 0.7327 MB / 0.5326 GB, free: 9.84 MB / 398.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.001436/0.4019, allocations: 1.247 MB / 0.5338 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.4022, allocations: 151.8 kB / 0.534 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4024, allocations: 73.05 kB / 0.534 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00226/0.4046, allocations: 2.656 MB / 0.5366 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.4047, allocations: 31.72 kB / 0.5367 GB, free: 5.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.4047, allocations: 5.25 kB / 0.5367 GB, free: 5.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007179/0.4054, allocations: 224.6 kB / 0.5369 GB, free: 5.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.4055, allocations: 56.72 kB / 0.5369 GB, free: 5.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.4057, allocations: 210.9 kB / 0.5371 GB, free: 5.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.4057, allocations: 31.05 kB / 0.5372 GB, free: 5.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.4058, allocations: 203.9 kB / 0.5374 GB, free: 4.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.4059, allocations: 64.11 kB / 0.5374 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.406, allocations: 94.44 kB / 0.5375 GB, free: 4.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4062, allocations: 326 kB / 0.5378 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.4062, allocations: 46.28 kB / 0.5379 GB, free: 4.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.4065, allocations: 327 kB / 0.5382 GB, free: 4.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.407, allocations: 427 kB / 0.5386 GB, free: 3.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4071, allocations: 3.094 kB / 0.5386 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005732/0.4076, allocations: 371.2 kB / 0.5389 GB, free: 3.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.4077, allocations: 10.16 kB / 0.539 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4077, allocations: 9.312 kB / 0.539 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.4077, allocations: 16.88 kB / 0.539 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.4081, allocations: 113.5 kB / 0.5391 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.4081, allocations: 20.59 kB / 0.5391 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.4083, allocations: 22.66 kB / 0.5391 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.4084, allocations: 34.28 kB / 0.5392 GB, free: 3.305 MB / 398.1 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 0.0001364/0.4085, allocations: 148.2 kB / 0.5393 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.4086, allocations: 17.81 kB / 0.5393 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.4089, allocations: 162.6 kB / 0.5395 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.409, allocations: 6.438 kB / 0.5395 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.409, allocations: 0 / 0.5395 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.409, allocations: 0 / 0.5395 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.4096, allocations: 440.5 kB / 0.5399 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4096, allocations: 1.219 kB / 0.5399 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.4098, allocations: 32.05 kB / 0.5399 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4098, allocations: 1.188 kB / 0.5399 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.4098, allocations: 9.109 kB / 0.5399 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4098, allocations: 5.312 kB / 0.54 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4099, allocations: 0 / 0.54 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.4101, allocations: 212.9 kB / 0.5402 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.4102, allocations: 104.5 kB / 0.5403 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.4102, allocations: 6 kB / 0.5403 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.4104, allocations: 12.55 kB / 0.5403 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4105, allocations: 8.203 kB / 0.5403 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4105, allocations: 5.062 kB / 0.5403 GB, free: 2.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4107, allocations: 153.5 kB / 0.5404 GB, free: 2.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.4107, allocations: 4 kB / 0.5404 GB, free: 2.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005269/0.4112, allocations: 101.5 kB / 0.5405 GB, free: 2.168 MB / 398.1 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.0003183/0.4115, allocations: 168.9 kB / 0.5407 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.4119, allocations: 184.7 kB / 0.5409 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4119, allocations: 0 / 0.5409 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.412, allocations: 32.23 kB / 0.5409 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.4124, allocations: 50.66 kB / 0.5409 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4134, allocations: 0.4925 MB / 0.5414 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.4137, allocations: 0.7289 MB / 0.5421 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.414, allocations: 61.38 kB / 0.5422 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.414, allocations: 29.19 kB / 0.5422 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.414, allocations: 0 / 0.5422 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Templates: time 0.00771/0.4217, allocations: 3.467 MB / 0.5456 GB, free: 15.04 MB / 414.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches