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.001022/0.001022, allocations: 106.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.4 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.2234/0.2234, allocations: 46.1 MB / 343.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 80.72 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1437, allocations: 62.44 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4413/0.585, allocations: 150.9 MB / 0.6156 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006227/0.5913, allocations: 5.292 MB / 0.6208 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.5916, allocations: 4 kB / 0.6208 GB, free: 7.383 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.592, allocations: 51.72 kB / 0.6208 GB, free: 7.332 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.5966, allocations: 1.196 MB / 0.622 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.597, allocations: 134.8 kB / 0.6221 GB, free: 6.008 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006536/0.5977, allocations: 403.9 kB / 0.6225 GB, free: 5.613 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.5977, allocations: 13.67 kB / 0.6225 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.598, allocations: 183.3 kB / 0.6227 GB, free: 5.422 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.5983, allocations: 183.4 kB / 0.6229 GB, free: 5.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.5984, allocations: 8 kB / 0.6229 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.6009, allocations: 1.084 MB / 0.624 GB, free: 4.148 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.995e-05/0.601, allocations: 43.81 kB / 0.624 GB, free: 4.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.6012, allocations: 111.5 kB / 0.6241 GB, free: 3.996 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.6029, allocations: 0.881 MB / 0.625 GB, free: 3.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.6029, allocations: 0 / 0.625 GB, free: 3.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6029, allocations: 0 / 0.625 GB, free: 3.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.6029, allocations: 0 / 0.625 GB, free: 3.113 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.001544/0.6045, allocations: 0.6851 MB / 0.6256 GB, free: 2.379 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.6046, allocations: 9.469 kB / 0.6256 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007661/0.6122, allocations: 0.6096 MB / 0.6262 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.6127, allocations: 267.7 kB / 0.6265 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.6129, allocations: 127.4 kB / 0.6266 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.483e-05/0.613, allocations: 24 kB / 0.6266 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.6143, allocations: 0.5595 MB / 0.6272 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6143, allocations: 0 / 0.6272 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.6144, allocations: 12 kB / 0.6272 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.6145, allocations: 11.94 kB / 0.6272 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.6159, allocations: 0.6221 MB / 0.6278 GB, free: 52 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.002255/0.6182, allocations: 1.721 MB / 0.6295 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.6185, allocations: 150.5 kB / 0.6296 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.6187, allocations: 80.81 kB / 0.6297 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/0.6203, allocations: 1.475 MB / 0.6312 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.6203, allocations: 38.56 kB / 0.6312 GB, free: 12.15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.6203, allocations: 0 / 0.6312 GB, free: 12.15 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.001044/0.6214, allocations: 324.5 kB / 0.6315 GB, free: 11.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.6214, allocations: 55.41 kB / 0.6316 GB, free: 11.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.6216, allocations: 191 kB / 0.6317 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.6217, allocations: 33.64 kB / 0.6318 GB, free: 11.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.6218, allocations: 187.3 kB / 0.6319 GB, free: 11.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/0.6219, allocations: 67.02 kB / 0.632 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.622, allocations: 93.95 kB / 0.6321 GB, free: 11.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6222, allocations: 334.8 kB / 0.6324 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.6223, allocations: 68.7 kB / 0.6325 GB, free: 10.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.6226, allocations: 260 kB / 0.6327 GB, free: 10.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.6231, allocations: 373.2 kB / 0.6331 GB, free: 9.973 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6231, allocations: 4 kB / 0.6331 GB, free: 9.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006152/0.6237, allocations: 365 kB / 0.6334 GB, free: 9.605 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6237, allocations: 10.34 kB / 0.6334 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6238, allocations: 8 kB / 0.6335 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.6238, allocations: 12 kB / 0.6335 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.6242, allocations: 120.5 kB / 0.6336 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003877/0.6246, allocations: 0.6094 MB / 0.6342 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.6249, allocations: 47.53 kB / 0.6342 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.6249, allocations: 47.86 kB / 0.6343 GB, free: 8.738 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.0001498/0.6251, allocations: 137.7 kB / 0.6344 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.6252, allocations: 19.81 kB / 0.6344 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.6262, allocations: 462.6 kB / 0.6349 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6262, allocations: 0 / 0.6349 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6262, allocations: 0 / 0.6349 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6262, allocations: 4 kB / 0.6349 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.6272, allocations: 0.639 MB / 0.6355 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6272, allocations: 4.25 kB / 0.6355 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.6274, allocations: 63.95 kB / 0.6356 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.6274, allocations: 0 / 0.6356 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.6274, allocations: 8 kB / 0.6356 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003247/0.6278, allocations: 0.5976 MB / 0.6361 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6278, allocations: 0 / 0.6361 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.6282, allocations: 304.8 kB / 0.6364 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6283, allocations: 112.8 kB / 0.6365 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.6283, allocations: 11.84 kB / 0.6366 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.6286, allocations: 15.98 kB / 0.6366 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.6287, allocations: 19.92 kB / 0.6366 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.6287, allocations: 19.98 kB / 0.6366 GB, free: 6.141 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.6288, allocations: 131.9 kB / 0.6367 GB, free: 6.012 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6288, allocations: 4 kB / 0.6367 GB, free: 6.008 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007104/0.6296, allocations: 167.9 kB / 0.6369 GB, free: 5.844 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.0006656/0.6302, allocations: 284.6 kB / 0.6372 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.6308, allocations: 216.8 kB / 0.6374 GB, free: 5.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6308, allocations: 0.5625 kB / 0.6374 GB, free: 5.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.631, allocations: 92.38 kB / 0.6375 GB, free: 5.266 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.6316, allocations: 64.59 kB / 0.6375 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.6332, allocations: 0.9644 MB / 0.6385 GB, free: 4.188 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.6335, allocations: 0.7245 MB / 0.6392 GB, free: 3.434 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008254/0.6344, allocations: 386.9 kB / 0.6395 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.6346, allocations: 63.38 kB / 0.6396 GB, free: 3 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6346, allocations: 0 / 0.6396 GB, free: 3 MB / 478.1 MB Notification: Performance of Templates: time 0.01034/0.6449, allocations: 5.707 MB / 0.6452 GB, free: 13.33 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