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.002299/0.002299, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006802/0.0006803, allocations: 100.3 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.18/0.18, allocations: 44.84 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002548, allocations: 15.98 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.09364, allocations: 62.95 MB / 0.5153 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.194/0.2876, allocations: 4.447 MB / 0.5197 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.2913, allocations: 4.202 MB / 0.5238 GB, free: 7.973 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2915, allocations: 1.5 kB / 0.5238 GB, free: 7.973 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.2917, allocations: 45.64 kB / 0.5238 GB, free: 7.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.293, allocations: 0.5243 MB / 0.5243 GB, free: 7.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.2934, allocations: 152.4 kB / 0.5245 GB, free: 7.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005145/0.2939, allocations: 394.6 kB / 0.5248 GB, free: 7.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.294, allocations: 11.95 kB / 0.5249 GB, free: 7.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.2942, allocations: 145.4 kB / 0.525 GB, free: 7.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2944, allocations: 128.2 kB / 0.5251 GB, free: 7.309 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.2945, allocations: 6.406 kB / 0.5251 GB, free: 7.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000729/0.2952, allocations: 268.7 kB / 0.5254 GB, free: 7.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.2953, allocations: 41.84 kB / 0.5254 GB, free: 7.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.2953, allocations: 63.23 kB / 0.5255 GB, free: 7.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.2958, allocations: 282.7 kB / 0.5257 GB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2958, allocations: 0 / 0.5257 GB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2958, allocations: 1.438 kB / 0.5258 GB, free: 7.082 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2958, allocations: 0 / 0.5258 GB, free: 7.082 MB / 346.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.0008442/0.2967, allocations: 0.5351 MB / 0.5263 GB, free: 6.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2967, allocations: 9.25 kB / 0.5263 GB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2968, allocations: 25.44 kB / 0.5263 GB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.2971, allocations: 227.5 kB / 0.5265 GB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.2972, allocations: 123.6 kB / 0.5266 GB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.2972, allocations: 26.44 kB / 0.5267 GB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.2977, allocations: 321.4 kB / 0.527 GB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2977, allocations: 7.875 kB / 0.527 GB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.2977, allocations: 8.312 kB / 0.527 GB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.2977, allocations: 7.312 kB / 0.527 GB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/0.2987, allocations: 0.7436 MB / 0.5277 GB, free: 5.926 MB / 346.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.001065/0.2997, allocations: 1.245 MB / 0.5289 GB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3, allocations: 146.5 kB / 0.5291 GB, free: 4.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3001, allocations: 75.83 kB / 0.5291 GB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/0.3017, allocations: 2.665 MB / 0.5318 GB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3017, allocations: 36.42 kB / 0.5318 GB, free: 1.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.043e-06/0.3017, allocations: 0 / 0.5318 GB, free: 1.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005769/0.3023, allocations: 218 kB / 0.532 GB, free: 1.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.3023, allocations: 54.12 kB / 0.532 GB, free: 1.637 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3025, allocations: 222.2 kB / 0.5323 GB, free: 1.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3025, allocations: 26.73 kB / 0.5323 GB, free: 1.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.3026, allocations: 209.6 kB / 0.5325 GB, free: 1.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3026, allocations: 57.34 kB / 0.5325 GB, free: 1.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.3027, allocations: 9.281 kB / 0.5325 GB, free: 1.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.3027, allocations: 328.1 kB / 0.5329 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.3028, allocations: 47.77 kB / 0.5329 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.303, allocations: 312.8 kB / 0.5332 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3031, allocations: 101.8 kB / 0.5333 GB, free: 484 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3031, allocations: 1.969 kB / 0.5333 GB, free: 484 kB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004818/0.3036, allocations: 369.8 kB / 0.5337 GB, free: 316 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3037, allocations: 9.375 kB / 0.5337 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3037, allocations: 12.83 kB / 0.5337 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3037, allocations: 15.16 kB / 0.5337 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.304, allocations: 110.8 kB / 0.5338 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.3041, allocations: 18.16 kB / 0.5338 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3043, allocations: 20.03 kB / 0.5338 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.3043, allocations: 28.36 kB / 0.5339 GB, free: 280 kB / 346.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 0.0001011/0.3045, allocations: 144.6 kB / 0.534 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.3045, allocations: 17.62 kB / 0.534 GB, free: 132 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.3048, allocations: 167 kB / 0.5342 GB, free: 32 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3048, allocations: 5.797 kB / 0.5342 GB, free: 28 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3048, allocations: 0 / 0.5342 GB, free: 28 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3048, allocations: 2.344 kB / 0.5342 GB, free: 28 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.3054, allocations: 433.7 kB / 0.5346 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3054, allocations: 1.125 kB / 0.5346 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.3056, allocations: 33.06 kB / 0.5346 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.3056, allocations: 6.328 kB / 0.5346 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3056, allocations: 1.734 kB / 0.5346 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3056, allocations: 1.75 kB / 0.5346 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3056, allocations: 5.188 kB / 0.5346 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.3059, allocations: 224 kB / 0.5349 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.306, allocations: 105 kB / 0.535 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.306, allocations: 7.281 kB / 0.535 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.3062, allocations: 11.48 kB / 0.535 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.3063, allocations: 9.359 kB / 0.535 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3063, allocations: 9.594 kB / 0.535 GB, free: 15.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3064, allocations: 151.6 kB / 0.5351 GB, free: 15.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3064, allocations: 0 / 0.5351 GB, free: 15.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004768/0.3069, allocations: 104.8 kB / 0.5352 GB, free: 15.23 MB / 362.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.0002489/0.3072, allocations: 152.6 kB / 0.5354 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.3075, allocations: 172.5 kB / 0.5355 GB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3075, allocations: 4 kB / 0.5356 GB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.3075, allocations: 36.94 kB / 0.5356 GB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.308, allocations: 47.61 kB / 0.5356 GB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.309, allocations: 0.6443 MB / 0.5363 GB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3094, allocations: 0.7296 MB / 0.537 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.3094, allocations: 35.94 kB / 0.537 GB, free: 13.93 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3094, allocations: 0 / 0.537 GB, free: 13.93 MB / 362.7 MB Notification: Performance of Templates: time 0.005912/0.3154, allocations: 3.422 MB / 0.5403 GB, free: 13.54 MB / 362.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