Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009253/0.0009252, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007308/0.0007308, allocations: 86.41 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2853/0.2853, allocations: 43.55 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 12 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1028, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004237/0.1071, allocations: 4.439 MB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.1111, allocations: 4.193 MB / 499.4 MB, free: 1.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.1112, allocations: 0 / 499.4 MB, free: 1.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1114, allocations: 43.72 kB / 499.5 MB, free: 1.953 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.1126, allocations: 0.5751 MB / 0.4883 GB, free: 1.375 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1129, allocations: 143.7 kB / 0.4885 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.1133, allocations: 394.1 kB / 0.4889 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.1134, allocations: 13.67 kB / 0.4889 GB, free: 0.832 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1136, allocations: 147.5 kB / 0.489 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1138, allocations: 127.5 kB / 0.4891 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1138, allocations: 4 kB / 0.4891 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/0.1144, allocations: 347.5 kB / 0.4895 GB, free: 224 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1145, allocations: 39.83 kB / 0.4895 GB, free: 184 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1146, allocations: 125.3 kB / 0.4896 GB, free: 52 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1627/0.2774, allocations: 287.5 kB / 0.4899 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2774, allocations: 1.406 kB / 0.4899 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2774, allocations: 0 / 0.4899 GB, free: 36.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2774, allocations: 0 / 0.4899 GB, free: 36.63 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.0007723/0.2782, allocations: 0.5287 MB / 0.4904 GB, free: 36.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2782, allocations: 9.922 kB / 0.4904 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.2784, allocations: 39.84 kB / 0.4905 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.2786, allocations: 224.8 kB / 0.4907 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.2787, allocations: 131.3 kB / 0.4908 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.2787, allocations: 20.17 kB / 0.4908 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.2792, allocations: 327.6 kB / 0.4911 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2792, allocations: 0 / 0.4911 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.2792, allocations: 14.48 kB / 0.4912 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.2793, allocations: 7.453 kB / 0.4912 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.28, allocations: 0.7341 MB / 0.4919 GB, free: 35.8 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.001022/0.2811, allocations: 1.25 MB / 0.4931 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.2814, allocations: 142.9 kB / 0.4932 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.2815, allocations: 76.62 kB / 0.4933 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.283, allocations: 2.659 MB / 0.4959 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.283, allocations: 38.53 kB / 0.4959 GB, free: 32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2831, allocations: 0.9062 kB / 0.4959 GB, free: 32 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005539/0.2836, allocations: 219.3 kB / 0.4961 GB, free: 31.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.2837, allocations: 58.28 kB / 0.4962 GB, free: 31.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2838, allocations: 207.8 kB / 0.4964 GB, free: 31.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2838, allocations: 34.73 kB / 0.4964 GB, free: 31.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.2839, allocations: 207.8 kB / 0.4966 GB, free: 31.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.284, allocations: 59.64 kB / 0.4967 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.284, allocations: 8.781 kB / 0.4967 GB, free: 31.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.362e-05/0.284, allocations: 326.1 kB / 0.497 GB, free: 31.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.2841, allocations: 50.31 kB / 0.4971 GB, free: 31.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2843, allocations: 317.8 kB / 0.4974 GB, free: 30.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.2846, allocations: 425 kB / 0.4978 GB, free: 30.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2846, allocations: 7.531 kB / 0.4978 GB, free: 30.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004921/0.2851, allocations: 367.9 kB / 0.4981 GB, free: 30.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2851, allocations: 9.594 kB / 0.4981 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.2851, allocations: 9.703 kB / 0.4981 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.2851, allocations: 16.91 kB / 0.4982 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.2855, allocations: 111.2 kB / 0.4983 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.2855, allocations: 21.97 kB / 0.4983 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2857, allocations: 17.64 kB / 0.4983 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.2858, allocations: 29.8 kB / 0.4983 GB, free: 30.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.2859, allocations: 147.4 kB / 0.4985 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.2859, allocations: 18.84 kB / 0.4985 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.2862, allocations: 159.7 kB / 0.4986 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.2862, allocations: 10.66 kB / 0.4987 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2862, allocations: 0 / 0.4987 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2862, allocations: 2.203 kB / 0.4987 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.2867, allocations: 433.8 kB / 0.4991 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2867, allocations: 0.75 kB / 0.4991 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2869, allocations: 38.91 kB / 0.4991 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2869, allocations: 1.953 kB / 0.4991 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2869, allocations: 1.969 kB / 0.4991 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2869, allocations: 1.25 kB / 0.4991 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2869, allocations: 8.734 kB / 0.4991 GB, free: 29.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.2871, allocations: 215.3 kB / 0.4993 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.2872, allocations: 120.3 kB / 0.4994 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.2872, allocations: 6.094 kB / 0.4994 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.2874, allocations: 9.453 kB / 0.4995 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.2874, allocations: 12.06 kB / 0.4995 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.2874, allocations: 9.734 kB / 0.4995 GB, free: 29.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.547e-05/0.2875, allocations: 145.1 kB / 0.4996 GB, free: 29.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2875, allocations: 0 / 0.4996 GB, free: 29.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004361/0.288, allocations: 98.09 kB / 0.4997 GB, free: 29.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002577/0.2882, allocations: 160.8 kB / 0.4999 GB, free: 29.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.2885, allocations: 181.3 kB / 0.5 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2885, allocations: 0 / 0.5 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.2886, allocations: 37.06 kB / 0.5001 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.289, allocations: 62.53 kB / 0.5001 GB, free: 29.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.2898, allocations: 0.6203 MB / 0.5007 GB, free: 29.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2899, allocations: 0.7297 MB / 0.5014 GB, free: 28.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.29, allocations: 33.34 kB / 0.5015 GB, free: 28.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.29, allocations: 0 / 0.5015 GB, free: 28.46 MB / 378.7 MB Notification: Performance of Templates: time 0.004431/0.2944, allocations: 3.413 MB / 0.5048 GB, free: 28.12 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches