Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001604, allocations: 198.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 226.6 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007698/0.0007697, allocations: 105.1 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3331/0.3331, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002996, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2819, allocations: 62.96 MB / 0.5159 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.003662/0.2856, allocations: 4.46 MB / 0.5202 GB, free: 33.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.2886, allocations: 4.206 MB / 0.5243 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.2887, allocations: 0 / 0.5243 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.289, allocations: 35.55 kB / 0.5244 GB, free: 30.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.29, allocations: 0.5818 MB / 0.5249 GB, free: 30.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.2904, allocations: 145 kB / 0.5251 GB, free: 30.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.2907, allocations: 395.2 kB / 0.5255 GB, free: 30.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.2908, allocations: 17.78 kB / 0.5255 GB, free: 30.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.291, allocations: 142 kB / 0.5256 GB, free: 30.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2911, allocations: 125.2 kB / 0.5257 GB, free: 30.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.2912, allocations: 9.406 kB / 0.5257 GB, free: 30.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.2917, allocations: 353.5 kB / 0.5261 GB, free: 30.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.2918, allocations: 44.66 kB / 0.5261 GB, free: 30.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.686e-05/0.2919, allocations: 127 kB / 0.5262 GB, free: 29.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.2922, allocations: 296.3 kB / 0.5265 GB, free: 29.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2923, allocations: 0 / 0.5265 GB, free: 29.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2923, allocations: 0 / 0.5265 GB, free: 29.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2923, allocations: 0 / 0.5265 GB, free: 29.86 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.0007654/0.293, allocations: 0.5345 MB / 0.527 GB, free: 29.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.2931, allocations: 8.5 kB / 0.527 GB, free: 29.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.2932, allocations: 27.59 kB / 0.5271 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.2934, allocations: 229 kB / 0.5273 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/0.2935, allocations: 120.2 kB / 0.5274 GB, free: 29.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.2935, allocations: 25.8 kB / 0.5274 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.2939, allocations: 331.4 kB / 0.5277 GB, free: 28.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2939, allocations: 0 / 0.5277 GB, free: 28.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.2939, allocations: 14.72 kB / 0.5278 GB, free: 28.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.294, allocations: 7.844 kB / 0.5278 GB, free: 28.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.2946, allocations: 0.7306 MB / 0.5285 GB, free: 28.7 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.0008982/0.2955, allocations: 1.257 MB / 0.5297 GB, free: 27.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.2957, allocations: 151 kB / 0.5299 GB, free: 27.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.2958, allocations: 74.02 kB / 0.5299 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.2973, allocations: 2.668 MB / 0.5325 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.2973, allocations: 33.62 kB / 0.5326 GB, free: 24.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2973, allocations: 3.938 kB / 0.5326 GB, free: 24.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005489/0.2979, allocations: 217.9 kB / 0.5328 GB, free: 24.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.2979, allocations: 62.19 kB / 0.5328 GB, free: 24.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.298, allocations: 219 kB / 0.533 GB, free: 24.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2981, allocations: 28.55 kB / 0.5331 GB, free: 24.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.2981, allocations: 208.2 kB / 0.5333 GB, free: 24.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.2982, allocations: 55.48 kB / 0.5333 GB, free: 23.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.2982, allocations: 6.75 kB / 0.5333 GB, free: 23.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.2982, allocations: 328.1 kB / 0.5336 GB, free: 23.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.2983, allocations: 52.61 kB / 0.5337 GB, free: 23.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2985, allocations: 310.6 kB / 0.534 GB, free: 23.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.2987, allocations: 411.2 kB / 0.5344 GB, free: 22.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2988, allocations: 3 kB / 0.5344 GB, free: 22.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004223/0.2992, allocations: 363 kB / 0.5347 GB, free: 22.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2992, allocations: 15.25 kB / 0.5347 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2992, allocations: 8.562 kB / 0.5348 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2993, allocations: 11.47 kB / 0.5348 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.2996, allocations: 114.1 kB / 0.5349 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.2996, allocations: 21.72 kB / 0.5349 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.2998, allocations: 12.5 kB / 0.5349 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.2998, allocations: 34.88 kB / 0.5349 GB, free: 22.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 9e-05/0.2999, allocations: 148.6 kB / 0.5351 GB, free: 22.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.3, allocations: 16.84 kB / 0.5351 GB, free: 22.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.3002, allocations: 157.8 kB / 0.5352 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.3003, allocations: 6.844 kB / 0.5353 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3003, allocations: 0 / 0.5353 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3003, allocations: 0 / 0.5353 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.3007, allocations: 434.6 kB / 0.5357 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3007, allocations: 0 / 0.5357 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3009, allocations: 38.2 kB / 0.5357 GB, free: 22.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3009, allocations: 2.812 kB / 0.5357 GB, free: 22.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3009, allocations: 8.031 kB / 0.5357 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3009, allocations: 2.719 kB / 0.5357 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3009, allocations: 0 / 0.5357 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.3011, allocations: 213.8 kB / 0.5359 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.3011, allocations: 112.1 kB / 0.536 GB, free: 21.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.3012, allocations: 10.47 kB / 0.536 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3014, allocations: 13.75 kB / 0.536 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.3014, allocations: 10.42 kB / 0.5361 GB, free: 21.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3014, allocations: 9.781 kB / 0.5361 GB, free: 21.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.3015, allocations: 148.5 kB / 0.5362 GB, free: 21.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.3015, allocations: 2.844 kB / 0.5362 GB, free: 21.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004333/0.302, allocations: 102.3 kB / 0.5363 GB, free: 21.6 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.0002502/0.3022, allocations: 166.2 kB / 0.5365 GB, free: 21.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.3025, allocations: 177.6 kB / 0.5366 GB, free: 21.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3025, allocations: 3.125 kB / 0.5366 GB, free: 21.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.758e-05/0.3025, allocations: 38.23 kB / 0.5367 GB, free: 21.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.303, allocations: 55.33 kB / 0.5367 GB, free: 21.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.3037, allocations: 0.6369 MB / 0.5374 GB, free: 21.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.3038, allocations: 0.7258 MB / 0.5381 GB, free: 20.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.3039, allocations: 37.88 kB / 0.5381 GB, free: 20.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3039, allocations: 3.938 kB / 0.5381 GB, free: 20.3 MB / 378.7 MB Notification: Performance of Templates: time 0.004722/0.3086, allocations: 3.452 MB / 0.5415 GB, free: 19.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches