Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004339, allocations: 11.98 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.292, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.01044/0.3025, allocations: 4.062 MB / 373.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.3127, allocations: 3.679 MB / 376.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.313, allocations: 0 / 376.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.3134, allocations: 43.72 kB / 377 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.3165, allocations: 0.5686 MB / 377.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3176, allocations: 147.7 kB / 377.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008527/0.3185, allocations: 259.4 kB / 377.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.3186, allocations: 9.688 kB / 377.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.3191, allocations: 143.5 kB / 378.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.3196, allocations: 103.7 kB / 378.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.3196, allocations: 8 kB / 378.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.3215, allocations: 315.6 kB / 378.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.3216, allocations: 43.8 kB / 378.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3218, allocations: 65.64 kB / 378.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.3228, allocations: 268.1 kB / 378.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3228, allocations: 0 / 378.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.28e-06/0.3229, allocations: 0 / 378.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.3229, allocations: 0 / 378.9 MB, free: 0.9961 MB / 298.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.001937/0.3248, allocations: 0.546 MB / 379.4 MB, free: 412 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.3249, allocations: 8.031 kB / 379.4 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.3253, allocations: 35.7 kB / 379.5 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.3258, allocations: 222.8 kB / 379.7 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.3262, allocations: 123.4 kB / 379.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.3263, allocations: 24 kB / 379.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3274, allocations: 335.6 kB / 380.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.3275, allocations: 3.984 kB / 380.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.3276, allocations: 12 kB / 380.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.3276, allocations: 8 kB / 380.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.3296, allocations: 0.7391 MB / 380.9 MB, free: 14.81 MB / 314.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.003121/0.3328, allocations: 1.281 MB / 382.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.3335, allocations: 150.8 kB / 382.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005571/0.3392, allocations: 2.618 MB / 384.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.3393, allocations: 30.56 kB / 385 MB, free: 10.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 5.302e-06/0.3393, allocations: 0 / 385 MB, free: 10.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001779/0.3411, allocations: 244.8 kB / 385.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.3412, allocations: 59.41 kB / 385.3 MB, free: 9.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.3415, allocations: 199.6 kB / 385.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.3416, allocations: 29.7 kB / 385.5 MB, free: 9.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.3418, allocations: 269.4 kB / 385.8 MB, free: 9.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.3419, allocations: 63.19 kB / 385.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.3419, allocations: 8 kB / 385.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3421, allocations: 330.8 kB / 386.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3422, allocations: 44.84 kB / 386.2 MB, free: 8.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.3426, allocations: 312.3 kB / 386.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.3429, allocations: 111.8 kB / 386.6 MB, free: 8.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.3429, allocations: 4 kB / 386.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000808/0.3437, allocations: 360.8 kB / 387 MB, free: 7.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3438, allocations: 12.92 kB / 387 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.3438, allocations: 8 kB / 387 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/0.3438, allocations: 16 kB / 387 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.3443, allocations: 107.8 kB / 387.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/0.3444, allocations: 19.92 kB / 387.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.3447, allocations: 20 kB / 387.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.3448, allocations: 35.92 kB / 387.2 MB, free: 7.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.345, allocations: 153.5 kB / 387.3 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.3451, allocations: 23.72 kB / 387.4 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/0.3456, allocations: 180.9 kB / 387.5 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.3457, allocations: 0 / 387.5 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.3457, allocations: 8.109 kB / 387.5 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.717e-06/0.3457, allocations: 7.984 kB / 387.6 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.3465, allocations: 443.2 kB / 388 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-06/0.3465, allocations: 0 / 388 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3468, allocations: 31.97 kB / 388 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3468, allocations: 4.031 kB / 388 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3468, allocations: 0 / 388 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.745e-06/0.3468, allocations: 7.938 kB / 388 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3468, allocations: 0 / 388 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3472, allocations: 220.1 kB / 388.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3473, allocations: 112.9 kB / 388.4 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.3474, allocations: 0 / 388.4 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.3477, allocations: 19.98 kB / 388.4 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.3477, allocations: 7.984 kB / 388.4 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3478, allocations: 7.984 kB / 388.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3479, allocations: 144.5 kB / 388.5 MB, free: 6.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.348, allocations: 0 / 388.5 MB, free: 6.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006697/0.3486, allocations: 95.98 kB / 388.6 MB, free: 6.176 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002995/0.3489, allocations: 175 kB / 388.8 MB, free: 5.992 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004158/0.3494, allocations: 174 kB / 389 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3494, allocations: 4 kB / 389 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/0.3495, allocations: 39.91 kB / 389 MB, free: 5.781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.3499, allocations: 50.55 kB / 389.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.351, allocations: 0.5442 MB / 389.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.3514, allocations: 0.7287 MB / 390.3 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.3516, allocations: 43.42 kB / 390.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of SimCode: time 1.439e-06/0.3516, allocations: 0 / 390.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of Templates: time 0.007545/0.3591, allocations: 3.428 MB / 393.8 MB, free: 0.9297 MB / 314.7 MB