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.001247/0.001247, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001182/0.001182, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.197/0.197, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.366, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005868/0.3719, allocations: 4.969 MB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005291/0.3773, allocations: 4.564 MB / 0.5282 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.3775, allocations: 1.312 kB / 0.5282 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.378, allocations: 50.83 kB / 0.5283 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.3803, allocations: 0.6625 MB / 0.5289 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.3807, allocations: 158.3 kB / 0.5291 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.3813, allocations: 366.9 kB / 0.5294 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.3814, allocations: 13.94 kB / 0.5295 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.3816, allocations: 153.8 kB / 0.5296 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3818, allocations: 129.4 kB / 0.5297 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.3819, allocations: 8.25 kB / 0.5297 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008458/0.3827, allocations: 332.2 kB / 0.53 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3829, allocations: 51.16 kB / 0.5301 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.383, allocations: 102 kB / 0.5302 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008208/0.3838, allocations: 421.1 kB / 0.5306 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3838, allocations: 0 / 0.5306 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3838, allocations: 0 / 0.5306 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3839, allocations: 4.781 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.001175/0.385, allocations: 0.5871 MB / 0.5312 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3851, allocations: 9.219 kB / 0.5312 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.3853, allocations: 31.91 kB / 0.5312 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.3857, allocations: 225.7 kB / 0.5314 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.3859, allocations: 131.1 kB / 0.5316 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.386, allocations: 23.25 kB / 0.5316 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3866, allocations: 328.1 kB / 0.5319 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3866, allocations: 0 / 0.5319 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.3867, allocations: 7.719 kB / 0.5319 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.3867, allocations: 18.75 kB / 0.5319 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.3877, allocations: 0.7369 MB / 0.5326 GB, free: 9.816 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.001295/0.389, allocations: 1.243 MB / 0.5338 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.3894, allocations: 151.5 kB / 0.534 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3895, allocations: 76.3 kB / 0.5341 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002323/0.3918, allocations: 2.661 MB / 0.5367 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.3919, allocations: 40.72 kB / 0.5367 GB, free: 5.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.003e-06/0.3919, allocations: 0 / 0.5367 GB, free: 5.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006793/0.3926, allocations: 217.6 kB / 0.5369 GB, free: 5.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3927, allocations: 56.47 kB / 0.537 GB, free: 5.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3928, allocations: 217.8 kB / 0.5372 GB, free: 5.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3929, allocations: 27.2 kB / 0.5372 GB, free: 5.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.393, allocations: 217.3 kB / 0.5374 GB, free: 4.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.3931, allocations: 55.98 kB / 0.5375 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.3932, allocations: 89.98 kB / 0.5375 GB, free: 4.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3934, allocations: 327.1 kB / 0.5379 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3935, allocations: 50.78 kB / 0.5379 GB, free: 4.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3938, allocations: 328.4 kB / 0.5382 GB, free: 3.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.3942, allocations: 420.5 kB / 0.5386 GB, free: 3.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.3942, allocations: 6.781 kB / 0.5386 GB, free: 3.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006178/0.3949, allocations: 380.2 kB / 0.539 GB, free: 3.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3949, allocations: 9.25 kB / 0.539 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3949, allocations: 10.22 kB / 0.539 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.395, allocations: 17.56 kB / 0.539 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.3953, allocations: 113.1 kB / 0.5391 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.3953, allocations: 16.78 kB / 0.5391 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3956, allocations: 17.44 kB / 0.5392 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.3956, allocations: 31.38 kB / 0.5392 GB, free: 3.273 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.0001278/0.3958, allocations: 155.2 kB / 0.5393 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.3958, allocations: 18.44 kB / 0.5394 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.3961, allocations: 155 kB / 0.5395 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3962, allocations: 9.078 kB / 0.5395 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3962, allocations: 1.031 kB / 0.5395 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3962, allocations: 0 / 0.5395 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.3967, allocations: 432.6 kB / 0.5399 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3967, allocations: 0 / 0.5399 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3969, allocations: 36.08 kB / 0.54 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3969, allocations: 5.156 kB / 0.54 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3969, allocations: 2.594 kB / 0.54 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3969, allocations: 7.922 kB / 0.54 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3969, allocations: 1.344 kB / 0.54 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.3972, allocations: 219.7 kB / 0.5402 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3973, allocations: 105.5 kB / 0.5403 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.3973, allocations: 10.09 kB / 0.5403 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3975, allocations: 7.359 kB / 0.5403 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.3976, allocations: 13.45 kB / 0.5403 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3976, allocations: 4.438 kB / 0.5403 GB, free: 2.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3977, allocations: 153.8 kB / 0.5405 GB, free: 2.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3977, allocations: 0 / 0.5405 GB, free: 2.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.3982, allocations: 96.75 kB / 0.5406 GB, free: 2.133 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.0003072/0.3985, allocations: 169.8 kB / 0.5407 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.3989, allocations: 180.6 kB / 0.5409 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3989, allocations: 0 / 0.5409 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.399, allocations: 32.23 kB / 0.5409 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.3994, allocations: 62.72 kB / 0.541 GB, free: 1.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.4004, allocations: 499.7 kB / 0.5415 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.4007, allocations: 0.728 MB / 0.5422 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.4009, allocations: 66.3 kB / 0.5422 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.401, allocations: 28.19 kB / 0.5423 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.401, allocations: 1.625 kB / 0.5423 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Templates: time 0.007439/0.4084, allocations: 3.446 MB / 0.5456 GB, free: 15.02 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