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.001433/0.001433, allocations: 108.5 kB / 17.85 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 213.7 kB / 18.79 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.207/2.207, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.373/0.373, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 76.28 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.194, allocations: 62.45 MB / 479.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.7024/0.8965, allocations: 150.8 MB / 0.6159 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.908, allocations: 5.39 MB / 0.6212 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.9084, allocations: 0 / 0.6212 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.9089, allocations: 47.72 kB / 0.6212 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007537/0.9165, allocations: 1.169 MB / 0.6224 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/0.9174, allocations: 138.1 kB / 0.6225 GB, free: 6.246 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.9188, allocations: 458.1 kB / 0.623 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.9189, allocations: 17.67 kB / 0.623 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005824/0.9195, allocations: 183.2 kB / 0.6231 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.9201, allocations: 175.5 kB / 0.6233 GB, free: 5.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.9201, allocations: 4 kB / 0.6233 GB, free: 5.426 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004565/0.9247, allocations: 1.064 MB / 0.6244 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.9249, allocations: 47.75 kB / 0.6244 GB, free: 4.312 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.9253, allocations: 99.58 kB / 0.6245 GB, free: 4.215 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.9278, allocations: 0.6199 MB / 0.6251 GB, free: 3.594 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.9279, allocations: 0 / 0.6251 GB, free: 3.594 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.9279, allocations: 0 / 0.6251 GB, free: 3.594 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.9279, allocations: 3.938 kB / 0.6251 GB, free: 3.59 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.002631/0.9306, allocations: 0.6867 MB / 0.6258 GB, free: 2.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.181e-05/0.9306, allocations: 10.31 kB / 0.6258 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.9443, allocations: 0.6063 MB / 0.6264 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008311/0.9452, allocations: 271.7 kB / 0.6266 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.9455, allocations: 119.4 kB / 0.6268 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.9457, allocations: 22.19 kB / 0.6268 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.948, allocations: 0.5673 MB / 0.6273 GB, free: 1.176 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.948, allocations: 0 / 0.6273 GB, free: 1.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.9482, allocations: 12 kB / 0.6273 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.9483, allocations: 11.98 kB / 0.6274 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.9511, allocations: 0.6299 MB / 0.628 GB, free: 0.5195 MB / 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.004256/0.9554, allocations: 1.717 MB / 0.6296 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.9561, allocations: 154.5 kB / 0.6298 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.9564, allocations: 76.81 kB / 0.6299 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/0.9592, allocations: 1.479 MB / 0.6313 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.9593, allocations: 42.5 kB / 0.6314 GB, free: 12.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 4.238e-06/0.9593, allocations: 0 / 0.6314 GB, free: 12.62 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.001953/0.9613, allocations: 320.9 kB / 0.6317 GB, free: 12.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.9613, allocations: 55.41 kB / 0.6317 GB, free: 12.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.9617, allocations: 191 kB / 0.6319 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.9618, allocations: 29.7 kB / 0.6319 GB, free: 12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.962, allocations: 175.3 kB / 0.6321 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.9621, allocations: 74.98 kB / 0.6322 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.9624, allocations: 89.97 kB / 0.6322 GB, free: 11.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.9626, allocations: 338.8 kB / 0.6326 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.9629, allocations: 68.66 kB / 0.6326 GB, free: 11.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.9634, allocations: 264 kB / 0.6329 GB, free: 10.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/0.9643, allocations: 373.8 kB / 0.6332 GB, free: 10.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.9643, allocations: 0 / 0.6332 GB, free: 10.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001231/0.9655, allocations: 365.6 kB / 0.6336 GB, free: 10.08 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.9656, allocations: 8 kB / 0.6336 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.9656, allocations: 11.98 kB / 0.6336 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.9657, allocations: 11.94 kB / 0.6336 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.9665, allocations: 123.8 kB / 0.6337 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007149/0.9672, allocations: 0.6077 MB / 0.6343 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.9677, allocations: 51.19 kB / 0.6344 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.9679, allocations: 40 kB / 0.6344 GB, free: 9.215 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.0003406/0.9682, allocations: 145.6 kB / 0.6346 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.9684, allocations: 19.81 kB / 0.6346 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.9702, allocations: 459.9 kB / 0.635 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.9702, allocations: 4 kB / 0.635 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9702, allocations: 0 / 0.635 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.9703, allocations: 3.938 kB / 0.635 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.9719, allocations: 0.6352 MB / 0.6356 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9719, allocations: 0 / 0.6356 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.9723, allocations: 59.91 kB / 0.6357 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.9724, allocations: 4 kB / 0.6357 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.9724, allocations: 11.98 kB / 0.6357 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006072/0.973, allocations: 0.594 MB / 0.6363 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.9731, allocations: 4.031 kB / 0.6363 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.9738, allocations: 298.2 kB / 0.6366 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.974, allocations: 112.8 kB / 0.6367 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.412e-05/0.9741, allocations: 11.84 kB / 0.6367 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.9746, allocations: 19.73 kB / 0.6367 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.9747, allocations: 19.98 kB / 0.6367 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.9748, allocations: 12 kB / 0.6368 GB, free: 6.621 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.975, allocations: 135.9 kB / 0.6369 GB, free: 6.488 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.975, allocations: 0 / 0.6369 GB, free: 6.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001338/0.9764, allocations: 167.9 kB / 0.637 GB, free: 6.324 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.001109/0.9775, allocations: 283.3 kB / 0.6373 GB, free: 6.047 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.9786, allocations: 223.7 kB / 0.6375 GB, free: 5.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.9786, allocations: 0 / 0.6375 GB, free: 5.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.979, allocations: 77.58 kB / 0.6376 GB, free: 5.754 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.9802, allocations: 76.31 kB / 0.6377 GB, free: 5.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.9833, allocations: 0.9875 MB / 0.6386 GB, free: 4.637 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.9839, allocations: 0.7248 MB / 0.6393 GB, free: 3.883 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.9845, allocations: 83.36 kB / 0.6394 GB, free: 3.801 MB / 478.1 MB Notification: Performance of SimCode: time 1.643e-06/0.9845, allocations: 0 / 0.6394 GB, free: 3.801 MB / 478.1 MB Notification: Performance of Templates: time 0.01854/1.003, allocations: 5.539 MB / 0.6448 GB, free: 14.27 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches