Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01163/0.01163, allocations: 107.4 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001242/0.001242, allocations: 184.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.046/2.046, allocations: 194.6 MB / 211.3 MB, free: 10.95 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2866/0.2866, allocations: 40.04 MB / 296.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007637/0.0007639, allocations: 16 kB / 361.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1314, allocations: 54.88 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5822/0.7136, allocations: 126.1 MB / 0.5295 GB, free: 1.875 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.7239, allocations: 5.469 MB / 0.5348 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.7242, allocations: 0 / 0.5348 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.7245, allocations: 45.61 kB / 0.5348 GB, free: 14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005873/0.7304, allocations: 1.276 MB / 0.5361 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.731, allocations: 133.2 kB / 0.5362 GB, free: 13.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.7317, allocations: 269.9 kB / 0.5365 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.632e-05/0.7318, allocations: 16.3 kB / 0.5365 GB, free: 13.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.7323, allocations: 164.6 kB / 0.5366 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.7327, allocations: 149.1 kB / 0.5368 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.7328, allocations: 13.81 kB / 0.5368 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004612/0.7374, allocations: 1.204 MB / 0.538 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.7376, allocations: 48.25 kB / 0.538 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.7378, allocations: 61.47 kB / 0.5381 GB, free: 12.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.7402, allocations: 0.6371 MB / 0.5387 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7403, allocations: 1.312 kB / 0.5387 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.7403, allocations: 0 / 0.5387 GB, free: 12.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.7403, allocations: 0 / 0.5387 GB, free: 12.41 MB / 410.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.002124/0.7424, allocations: 0.6609 MB / 0.5394 GB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.7425, allocations: 9.469 kB / 0.5394 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.7426, allocations: 65.31 kB / 0.5394 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.7562, allocations: 0.5915 MB / 0.54 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.7569, allocations: 257.5 kB / 0.5402 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.7571, allocations: 126.1 kB / 0.5404 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.7573, allocations: 23.5 kB / 0.5404 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.7593, allocations: 0.564 MB / 0.5409 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.7594, allocations: 3.938 kB / 0.5409 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.7595, allocations: 8.875 kB / 0.541 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.7595, allocations: 7.469 kB / 0.541 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.7621, allocations: 0.6268 MB / 0.5416 GB, free: 11.02 MB / 410.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.003146/0.7653, allocations: 1.629 MB / 0.5432 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.7658, allocations: 156.6 kB / 0.5433 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/0.7675, allocations: 1.205 MB / 0.5445 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.7676, allocations: 33.92 kB / 0.5445 GB, free: 8.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.444e-06/0.7676, allocations: 0 / 0.5445 GB, free: 8.297 MB / 410.7 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=20): time 0.001505/0.7691, allocations: 337.3 kB / 0.5448 GB, free: 8.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.7692, allocations: 55.97 kB / 0.5449 GB, free: 8.121 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.7694, allocations: 183.3 kB / 0.5451 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.7695, allocations: 33.7 kB / 0.5451 GB, free: 7.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.7697, allocations: 180.6 kB / 0.5453 GB, free: 7.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.861e-05/0.7698, allocations: 76.09 kB / 0.5453 GB, free: 7.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.7698, allocations: 7.938 kB / 0.5454 GB, free: 7.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.77, allocations: 330.9 kB / 0.5457 GB, free: 7.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.7702, allocations: 64.23 kB / 0.5457 GB, free: 7.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.7706, allocations: 257.5 kB / 0.546 GB, free: 7.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.7709, allocations: 106.8 kB / 0.5461 GB, free: 7.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.7709, allocations: 0 / 0.5461 GB, free: 7.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009242/0.7719, allocations: 367.6 kB / 0.5464 GB, free: 6.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.7719, allocations: 8.625 kB / 0.5464 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.7719, allocations: 15.31 kB / 0.5465 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.772, allocations: 10.25 kB / 0.5465 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.7727, allocations: 122.4 kB / 0.5466 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004847/0.7732, allocations: 0.6004 MB / 0.5472 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.7736, allocations: 43.31 kB / 0.5472 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.7737, allocations: 37.42 kB / 0.5472 GB, free: 6.273 MB / 410.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.774, allocations: 156.7 kB / 0.5474 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.774, allocations: 18.47 kB / 0.5474 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.7753, allocations: 334.6 kB / 0.5477 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.7753, allocations: 4.484 kB / 0.5477 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7753, allocations: 0 / 0.5477 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7754, allocations: 5.562 kB / 0.5477 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.7764, allocations: 0.5172 MB / 0.5482 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.7764, allocations: 2 kB / 0.5482 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.7768, allocations: 57.25 kB / 0.5483 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.7768, allocations: 2.531 kB / 0.5483 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.7769, allocations: 13.11 kB / 0.5483 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004183/0.7773, allocations: 0.5966 MB / 0.5489 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7773, allocations: 3 kB / 0.5489 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.7779, allocations: 336.6 kB / 0.5492 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.778, allocations: 115.9 kB / 0.5493 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.7781, allocations: 6.766 kB / 0.5493 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.7786, allocations: 22.77 kB / 0.5494 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.7786, allocations: 12.7 kB / 0.5494 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.7787, allocations: 19.06 kB / 0.5494 GB, free: 4.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.7788, allocations: 135.4 kB / 0.5495 GB, free: 4.375 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7789, allocations: 0 / 0.5495 GB, free: 4.375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001112/0.78, allocations: 203.7 kB / 0.5497 GB, free: 4.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002433/0.7824, allocations: 1.465 MB / 0.5511 GB, free: 2.707 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.7835, allocations: 224.8 kB / 0.5514 GB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7835, allocations: 0 / 0.5514 GB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.7839, allocations: 83.83 kB / 0.5514 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.7846, allocations: 58.44 kB / 0.5515 GB, free: 2.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.7897, allocations: 5.835 MB / 0.5572 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.7902, allocations: 0.7293 MB / 0.5579 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009623/0.7911, allocations: 97.59 kB / 0.558 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.7914, allocations: 71.41 kB / 0.5581 GB, free: 11.42 MB / 426.7 MB Notification: Performance of SimCode: time 3.497e-06/0.7915, allocations: 0 / 0.5581 GB, free: 11.42 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.8268, allocations: 8.014 MB / 0.5659 GB, free: 3.555 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003616/0.8273, allocations: 254.7 kB / 0.5661 GB, free: 3.258 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.711, allocations: 0 / 0.5661 GB, free: 3.258 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat