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.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004491, allocations: 16 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2784, allocations: 54.85 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03629/0.3147, allocations: 22.52 MB / 391.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00423/0.319, allocations: 2.577 MB / 394.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.3192, allocations: 0 / 394.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3195, allocations: 39.78 kB / 394.3 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.3215, allocations: 0.6036 MB / 394.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.322, allocations: 123.8 kB / 395 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005063/0.3225, allocations: 259.4 kB / 395.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.3226, allocations: 17.69 kB / 395.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08964/0.4122, allocations: 22.13 MB / 417.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.4126, allocations: 131.6 kB / 417.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.4127, allocations: 8 kB / 417.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01194/0.4247, allocations: 5.563 MB / 423.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.479e-05/0.4248, allocations: 39.88 kB / 423.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.4249, allocations: 65.58 kB / 423.2 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007165/0.4256, allocations: 287.4 kB / 423.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.912e-06/0.4257, allocations: 0 / 423.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4257, allocations: 0 / 423.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.189e-06/0.4257, allocations: 0 / 423.5 MB, free: 4.277 MB / 346.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.001337/0.427, allocations: 0.5577 MB / 424.1 MB, free: 3.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4271, allocations: 8.031 kB / 424.1 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.4273, allocations: 23.81 kB / 424.1 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.4276, allocations: 222.8 kB / 424.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.4278, allocations: 131.4 kB / 424.5 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.4279, allocations: 24 kB / 424.5 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.4286, allocations: 331.6 kB / 424.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4286, allocations: 4 kB / 424.8 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.4286, allocations: 15.88 kB / 424.8 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.4287, allocations: 8 kB / 424.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.4298, allocations: 0.7313 MB / 425.6 MB, free: 2.098 MB / 346.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.001917/0.4317, allocations: 1.355 MB / 426.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.4322, allocations: 163.7 kB / 427.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003621/0.4358, allocations: 2.856 MB / 429.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4359, allocations: 34.56 kB / 430 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 5.526e-06/0.4359, allocations: 0 / 430 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004485/0.4364, allocations: 148.8 kB / 430.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.4365, allocations: 59.36 kB / 430.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.4367, allocations: 210.8 kB / 430.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.4368, allocations: 29.69 kB / 430.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.437, allocations: 277.3 kB / 430.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.4371, allocations: 55.28 kB / 430.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/0.4371, allocations: 8 kB / 430.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4373, allocations: 326.8 kB / 431.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.4374, allocations: 48.83 kB / 431.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.4378, allocations: 318.1 kB / 431.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.438, allocations: 103.9 kB / 431.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.438, allocations: 4 kB / 431.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008015/0.4389, allocations: 377.5 kB / 431.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.4389, allocations: 8.188 kB / 431.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.4389, allocations: 16 kB / 431.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.439, allocations: 12 kB / 431.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.4393, allocations: 95.83 kB / 432 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/0.4394, allocations: 19.89 kB / 432 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.4398, allocations: 59.42 kB / 432.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.4398, allocations: 28 kB / 432.1 MB, free: 10.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001814/0.44, allocations: 149.5 kB / 432.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.4401, allocations: 19.81 kB / 432.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.4406, allocations: 185.4 kB / 432.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.4407, allocations: 0 / 432.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.987e-06/0.4407, allocations: 0 / 432.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.321e-06/0.4407, allocations: 4.062 kB / 432.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.4415, allocations: 457.5 kB / 432.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-06/0.4415, allocations: 0 / 432.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.4416, allocations: 23.92 kB / 432.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.048e-06/0.4417, allocations: 4 kB / 432.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.4417, allocations: 7.953 kB / 433 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.532e-06/0.4417, allocations: 4 kB / 433 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.608e-06/0.4417, allocations: 0 / 433 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.442, allocations: 222.8 kB / 433.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4422, allocations: 120.7 kB / 433.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.4422, allocations: 4 kB / 433.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.4425, allocations: 7.953 kB / 433.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.4425, allocations: 15.98 kB / 433.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.4425, allocations: 8 kB / 433.3 MB, free: 9.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.4427, allocations: 148.5 kB / 433.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.4427, allocations: 0 / 433.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007227/0.4435, allocations: 107.9 kB / 433.6 MB, free: 9.082 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * 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.0003304/0.4438, allocations: 163.4 kB / 433.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.4442, allocations: 177.7 kB / 433.9 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.469e-06/0.4443, allocations: 0 / 433.9 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.4443, allocations: 36.42 kB / 433.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.4448, allocations: 50.22 kB / 434 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.4458, allocations: 0.5538 MB / 434.5 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.4462, allocations: 0.7326 MB / 435.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.4463, allocations: 31.42 kB / 435.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.574e-06/0.4463, allocations: 3.938 kB / 435.3 MB, free: 7.266 MB / 362.7 MB Notification: Performance of Templates: time 0.007915/0.4542, allocations: 3.582 MB / 438.9 MB, free: 3.688 MB / 362.7 MB