Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 243.4 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007246/0.0007245, allocations: 98.06 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3071/0.3071, allocations: 44.81 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002712, allocations: 11.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2826, allocations: 62.96 MB / 0.5159 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003663/0.2863, allocations: 4.082 MB / 0.5199 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.2891, allocations: 3.707 MB / 0.5235 GB, free: 31.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2893, allocations: 0 / 0.5235 GB, free: 31.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.2895, allocations: 42.75 kB / 0.5235 GB, free: 31.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.2911, allocations: 0.6244 MB / 0.5241 GB, free: 31.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.2914, allocations: 122.3 kB / 0.5242 GB, free: 31.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004136/0.2918, allocations: 393.5 kB / 0.5246 GB, free: 30.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.2919, allocations: 10.47 kB / 0.5246 GB, free: 30.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.292, allocations: 148 kB / 0.5248 GB, free: 30.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.2922, allocations: 142.6 kB / 0.5249 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.2922, allocations: 5.969 kB / 0.5249 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000783/0.293, allocations: 430.3 kB / 0.5253 GB, free: 30.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.2931, allocations: 41.64 kB / 0.5254 GB, free: 30.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.724e-05/0.2932, allocations: 133.7 kB / 0.5255 GB, free: 30.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.2936, allocations: 320.9 kB / 0.5258 GB, free: 30.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2936, allocations: 0 / 0.5258 GB, free: 30.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2936, allocations: 0 / 0.5258 GB, free: 30.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2936, allocations: 0 / 0.5258 GB, free: 30.51 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.000881/0.2945, allocations: 0.5433 MB / 0.5263 GB, free: 30.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2945, allocations: 12.28 kB / 0.5263 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.2947, allocations: 28.97 kB / 0.5264 GB, free: 30.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.2949, allocations: 220.8 kB / 0.5266 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.295, allocations: 127 kB / 0.5267 GB, free: 29.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.295, allocations: 26.28 kB / 0.5267 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.2954, allocations: 325 kB / 0.527 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2954, allocations: 3.938 kB / 0.527 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.2954, allocations: 11.38 kB / 0.527 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.2955, allocations: 7.5 kB / 0.5271 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.2961, allocations: 0.7382 MB / 0.5278 GB, free: 29.34 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.0009823/0.2971, allocations: 1.302 MB / 0.529 GB, free: 28.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.2973, allocations: 161.2 kB / 0.5292 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2975, allocations: 87.41 kB / 0.5293 GB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.2992, allocations: 2.812 MB / 0.532 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.2992, allocations: 41.09 kB / 0.5321 GB, free: 25.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.2992, allocations: 0 / 0.5321 GB, free: 25.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002368/0.2994, allocations: 118.2 kB / 0.5322 GB, free: 24.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.2995, allocations: 51.41 kB / 0.5322 GB, free: 24.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2996, allocations: 217.6 kB / 0.5324 GB, free: 24.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2996, allocations: 32.7 kB / 0.5325 GB, free: 24.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.2997, allocations: 219.2 kB / 0.5327 GB, free: 24.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.2997, allocations: 40.86 kB / 0.5327 GB, free: 24.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.2998, allocations: 14.94 kB / 0.5327 GB, free: 24.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.2998, allocations: 324.5 kB / 0.533 GB, free: 24.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.2999, allocations: 44.38 kB / 0.5331 GB, free: 24.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.3, allocations: 344.5 kB / 0.5334 GB, free: 23.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3003, allocations: 453.1 kB / 0.5338 GB, free: 23.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3003, allocations: 2.719 kB / 0.5338 GB, free: 23.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004312/0.3008, allocations: 377 kB / 0.5342 GB, free: 23.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3008, allocations: 9.906 kB / 0.5342 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3008, allocations: 12 kB / 0.5342 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.3009, allocations: 19.53 kB / 0.5342 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.3011, allocations: 99.91 kB / 0.5343 GB, free: 23.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.3011, allocations: 18.62 kB / 0.5344 GB, free: 23.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3013, allocations: 55.44 kB / 0.5344 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.3014, allocations: 26.92 kB / 0.5344 GB, free: 23.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 0.0001057/0.3015, allocations: 156.3 kB / 0.5346 GB, free: 22.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3015, allocations: 16 kB / 0.5346 GB, free: 22.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.3018, allocations: 153.2 kB / 0.5347 GB, free: 22.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3018, allocations: 6.531 kB / 0.5348 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3018, allocations: 0 / 0.5348 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3018, allocations: 4 kB / 0.5348 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.3021, allocations: 404.6 kB / 0.5351 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3022, allocations: 0 / 0.5351 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.3022, allocations: 15.09 kB / 0.5352 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3022, allocations: 6.125 kB / 0.5352 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3022, allocations: 4 kB / 0.5352 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3022, allocations: 3.031 kB / 0.5352 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3023, allocations: 4.188 kB / 0.5352 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.3024, allocations: 204.9 kB / 0.5354 GB, free: 22.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.3025, allocations: 108.5 kB / 0.5355 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.3025, allocations: 6.719 kB / 0.5355 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3026, allocations: 12.77 kB / 0.5355 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.3027, allocations: 2.844 kB / 0.5355 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3027, allocations: 10.3 kB / 0.5355 GB, free: 22.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.077e-05/0.3028, allocations: 149.2 kB / 0.5356 GB, free: 21.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3028, allocations: 0 / 0.5356 GB, free: 21.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004532/0.3033, allocations: 94.72 kB / 0.5357 GB, free: 21.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002848/0.3035, allocations: 164.8 kB / 0.5359 GB, free: 21.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3038, allocations: 165 kB / 0.5361 GB, free: 21.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3038, allocations: 4.062 kB / 0.5361 GB, free: 21.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.3038, allocations: 20.31 kB / 0.5361 GB, free: 21.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.3042, allocations: 43.61 kB / 0.5361 GB, free: 21.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.305, allocations: 0.6566 MB / 0.5368 GB, free: 21.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3052, allocations: 0.7304 MB / 0.5375 GB, free: 20.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.3052, allocations: 28.28 kB / 0.5375 GB, free: 20.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3052, allocations: 0 / 0.5375 GB, free: 20.63 MB / 378.7 MB Notification: Performance of Templates: time 0.004617/0.3099, allocations: 3.243 MB / 0.5407 GB, free: 20.27 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches