Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,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_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,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_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 76.66 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1352, allocations: 62.45 MB / 480 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5133/0.6485, allocations: 153 MB / 0.6182 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.6551, allocations: 5.317 MB / 0.6234 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.6554, allocations: 3.938 kB / 0.6234 GB, free: 4.844 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.6558, allocations: 55.64 kB / 0.6234 GB, free: 4.789 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.6608, allocations: 1.32 MB / 0.6247 GB, free: 3.469 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.6612, allocations: 144 kB / 0.6249 GB, free: 3.332 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006267/0.6618, allocations: 398.2 kB / 0.6252 GB, free: 2.941 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.603e-05/0.6619, allocations: 17.66 kB / 0.6253 GB, free: 2.926 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.6622, allocations: 167.3 kB / 0.6254 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.6625, allocations: 171.5 kB / 0.6256 GB, free: 2.594 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.6626, allocations: 11.98 kB / 0.6256 GB, free: 2.582 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.6652, allocations: 1.057 MB / 0.6266 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.6653, allocations: 43.83 kB / 0.6267 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.6654, allocations: 107.5 kB / 0.6268 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.6672, allocations: 0.8537 MB / 0.6276 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6672, allocations: 3.984 kB / 0.6276 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6672, allocations: 0 / 0.6276 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.6672, allocations: 0 / 0.6276 GB, free: 0.5156 MB / 462.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.001347/0.6686, allocations: 0.6866 MB / 0.6283 GB, free: 15.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.6686, allocations: 9.469 kB / 0.6283 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00825/0.6769, allocations: 0.6097 MB / 0.6289 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.6773, allocations: 272.5 kB / 0.6291 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.6774, allocations: 123.4 kB / 0.6293 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.6775, allocations: 24 kB / 0.6293 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.6787, allocations: 0.5634 MB / 0.6298 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6787, allocations: 0 / 0.6298 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.6788, allocations: 12 kB / 0.6298 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.6788, allocations: 11.94 kB / 0.6299 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.6802, allocations: 0.6299 MB / 0.6305 GB, free: 13.43 MB / 478.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.002099/0.6824, allocations: 1.713 MB / 0.6321 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.6827, allocations: 161.4 kB / 0.6323 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.6829, allocations: 75.25 kB / 0.6324 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.6844, allocations: 1.478 MB / 0.6338 GB, free: 9.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.6844, allocations: 38.56 kB / 0.6338 GB, free: 9.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.715e-06/0.6844, allocations: 0 / 0.6338 GB, free: 9.543 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.001006/0.6854, allocations: 325.4 kB / 0.6342 GB, free: 9.219 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.6855, allocations: 59.34 kB / 0.6342 GB, free: 9.148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.6856, allocations: 182.5 kB / 0.6344 GB, free: 8.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.6857, allocations: 29.7 kB / 0.6344 GB, free: 8.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.6858, allocations: 183.3 kB / 0.6346 GB, free: 8.742 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.6859, allocations: 71.02 kB / 0.6347 GB, free: 8.672 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.686, allocations: 89.95 kB / 0.6347 GB, free: 8.578 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6861, allocations: 330.8 kB / 0.6351 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.6863, allocations: 72.7 kB / 0.6351 GB, free: 8.176 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.6865, allocations: 256 kB / 0.6354 GB, free: 7.832 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.687, allocations: 370.2 kB / 0.6357 GB, free: 7.375 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.687, allocations: 4 kB / 0.6357 GB, free: 7.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006097/0.6876, allocations: 373.4 kB / 0.6361 GB, free: 7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6876, allocations: 8.125 kB / 0.6361 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6876, allocations: 8 kB / 0.6361 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.6877, allocations: 12 kB / 0.6361 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.6881, allocations: 123.8 kB / 0.6362 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003345/0.6884, allocations: 0.6055 MB / 0.6368 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.6887, allocations: 43.53 kB / 0.6369 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.6887, allocations: 43.98 kB / 0.6369 GB, free: 6.137 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.6889, allocations: 145.8 kB / 0.637 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.6889, allocations: 15.81 kB / 0.6371 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.69, allocations: 465.9 kB / 0.6375 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.69, allocations: 0 / 0.6375 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.69, allocations: 0 / 0.6375 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.69, allocations: 0 / 0.6375 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008912/0.6909, allocations: 0.6429 MB / 0.6381 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6909, allocations: 0 / 0.6381 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.6911, allocations: 63.95 kB / 0.6382 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6911, allocations: 0 / 0.6382 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.6912, allocations: 8 kB / 0.6382 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003221/0.6915, allocations: 0.6019 MB / 0.6388 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6915, allocations: 3.984 kB / 0.6388 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.6918, allocations: 294.8 kB / 0.6391 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.643e-05/0.692, allocations: 112.8 kB / 0.6392 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.692, allocations: 11.84 kB / 0.6392 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.6923, allocations: 19.48 kB / 0.6392 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.6923, allocations: 19.92 kB / 0.6392 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.6923, allocations: 23.98 kB / 0.6393 GB, free: 3.539 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.6925, allocations: 135.2 kB / 0.6394 GB, free: 3.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6925, allocations: 0 / 0.6394 GB, free: 3.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006478/0.6931, allocations: 164 kB / 0.6395 GB, free: 3.246 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005945/0.6937, allocations: 280.4 kB / 0.6398 GB, free: 2.973 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.6942, allocations: 225 kB / 0.64 GB, free: 2.754 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6943, allocations: 3.938 kB / 0.64 GB, free: 2.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.6945, allocations: 83.83 kB / 0.6401 GB, free: 2.668 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.695, allocations: 68.95 kB / 0.6402 GB, free: 2.602 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.6966, allocations: 0.8896 MB / 0.641 GB, free: 1.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.6969, allocations: 0.7284 MB / 0.6418 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008375/0.6978, allocations: 383.1 kB / 0.6421 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.6979, allocations: 55.39 kB / 0.6422 GB, free: 484 kB / 478.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6979, allocations: 0 / 0.6422 GB, free: 484 kB / 478.1 MB Notification: Performance of Templates: time 0.009795/0.7078, allocations: 5.734 MB / 0.6478 GB, free: 10.78 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches