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.001267/0.001267, allocations: 106.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 74.62 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1583, allocations: 62.44 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4224/0.5808, allocations: 150.8 MB / 0.6153 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006608/0.5875, allocations: 5.398 MB / 0.6206 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.5877, allocations: 0 / 0.6206 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.5882, allocations: 47.72 kB / 0.6206 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.5925, allocations: 1.161 MB / 0.6218 GB, free: 6.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.5928, allocations: 137.4 kB / 0.6219 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006824/0.5935, allocations: 474 kB / 0.6223 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.5936, allocations: 13.67 kB / 0.6224 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.594, allocations: 167.3 kB / 0.6225 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.5944, allocations: 191.4 kB / 0.6227 GB, free: 5.543 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.5944, allocations: 4 kB / 0.6227 GB, free: 5.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.5972, allocations: 1.057 MB / 0.6237 GB, free: 4.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.5973, allocations: 43.81 kB / 0.6238 GB, free: 4.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.5975, allocations: 107.5 kB / 0.6239 GB, free: 4.332 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.5998, allocations: 0.8731 MB / 0.6247 GB, free: 3.457 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5998, allocations: 0 / 0.6247 GB, free: 3.457 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5998, allocations: 0 / 0.6247 GB, free: 3.457 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.5999, allocations: 4 kB / 0.6247 GB, free: 3.453 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.001728/0.6016, allocations: 0.6867 MB / 0.6254 GB, free: 2.715 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6016, allocations: 10.31 kB / 0.6254 GB, free: 2.707 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007967/0.6096, allocations: 0.6063 MB / 0.626 GB, free: 2.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.6102, allocations: 263.7 kB / 0.6263 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.6103, allocations: 123.4 kB / 0.6264 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.6105, allocations: 20 kB / 0.6264 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.6118, allocations: 0.5634 MB / 0.6269 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6118, allocations: 12.62 kB / 0.627 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.612, allocations: 8 kB / 0.627 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.612, allocations: 11.94 kB / 0.627 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.6136, allocations: 0.6299 MB / 0.6276 GB, free: 392 kB / 462.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.002377/0.616, allocations: 1.709 MB / 0.6293 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.6163, allocations: 162.5 kB / 0.6294 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.6166, allocations: 72.83 kB / 0.6295 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/0.6184, allocations: 1.486 MB / 0.6309 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.6185, allocations: 35.81 kB / 0.631 GB, free: 12.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.033e-06/0.6185, allocations: 3.938 kB / 0.631 GB, free: 12.48 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.001099/0.6196, allocations: 332.2 kB / 0.6313 GB, free: 12.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.6197, allocations: 55.41 kB / 0.6313 GB, free: 12.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.6199, allocations: 183 kB / 0.6315 GB, free: 11.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.6199, allocations: 29.7 kB / 0.6315 GB, free: 11.87 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.6201, allocations: 179.3 kB / 0.6317 GB, free: 11.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.6201, allocations: 74.98 kB / 0.6318 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.6203, allocations: 101.9 kB / 0.6319 GB, free: 11.51 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6204, allocations: 330.8 kB / 0.6322 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.6206, allocations: 64.7 kB / 0.6323 GB, free: 11.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.6209, allocations: 264 kB / 0.6325 GB, free: 10.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.6214, allocations: 367 kB / 0.6329 GB, free: 10.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6214, allocations: 0 / 0.6329 GB, free: 10.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006651/0.6221, allocations: 375.9 kB / 0.6332 GB, free: 9.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.6221, allocations: 10.66 kB / 0.6332 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.6221, allocations: 8 kB / 0.6332 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.6222, allocations: 8 kB / 0.6332 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.6226, allocations: 123.8 kB / 0.6334 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004038/0.623, allocations: 0.6097 MB / 0.634 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.6233, allocations: 47.47 kB / 0.634 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.6234, allocations: 43.98 kB / 0.6341 GB, free: 9.074 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.0001637/0.6236, allocations: 141.7 kB / 0.6342 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.6236, allocations: 19.81 kB / 0.6342 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.6248, allocations: 466.2 kB / 0.6346 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.6248, allocations: 4 kB / 0.6347 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6248, allocations: 0 / 0.6347 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6248, allocations: 0 / 0.6347 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.6259, allocations: 0.6352 MB / 0.6353 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6259, allocations: 0 / 0.6353 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.6261, allocations: 59.89 kB / 0.6353 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.6262, allocations: 4.25 kB / 0.6353 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.6262, allocations: 12 kB / 0.6353 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004524/0.6266, allocations: 0.5938 MB / 0.6359 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6267, allocations: 4.031 kB / 0.6359 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.6271, allocations: 294.2 kB / 0.6362 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.6272, allocations: 112.8 kB / 0.6363 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.6273, allocations: 11.84 kB / 0.6363 GB, free: 6.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.6276, allocations: 19.98 kB / 0.6363 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.6276, allocations: 15.92 kB / 0.6364 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.6277, allocations: 20.86 kB / 0.6364 GB, free: 6.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.6278, allocations: 135.9 kB / 0.6365 GB, free: 6.348 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6278, allocations: 3.938 kB / 0.6365 GB, free: 6.344 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007481/0.6286, allocations: 168 kB / 0.6367 GB, free: 6.18 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.0008168/0.6294, allocations: 271.5 kB / 0.6369 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005481/0.63, allocations: 228.1 kB / 0.6372 GB, free: 5.695 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.63, allocations: 0 / 0.6372 GB, free: 5.695 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.6302, allocations: 84.52 kB / 0.6372 GB, free: 5.613 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.6308, allocations: 67.81 kB / 0.6373 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.6326, allocations: 0.9634 MB / 0.6382 GB, free: 4.531 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.6329, allocations: 0.7248 MB / 0.6389 GB, free: 3.777 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008307/0.6338, allocations: 383.4 kB / 0.6393 GB, free: 3.406 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.634, allocations: 63.38 kB / 0.6394 GB, free: 3.344 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.634, allocations: 0 / 0.6394 GB, free: 3.344 MB / 478.1 MB Notification: Performance of Templates: time 0.01103/0.645, allocations: 5.589 MB / 0.6448 GB, free: 13.79 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