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.LinearColdWater.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.LinearColdWater,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.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.132/2.132, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007975/0.0007982, allocations: 8 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2856, allocations: 54.86 MB / 369.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005414/0.291, allocations: 3.447 MB / 372.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.2967, allocations: 3.465 MB / 376.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.2969, allocations: 0 / 376.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.2971, allocations: 43.78 kB / 376.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.299, allocations: 0.5958 MB / 376.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.2995, allocations: 123.8 kB / 376.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.3, allocations: 255.4 kB / 377.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.3, allocations: 9.688 kB / 377.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.3003, allocations: 135.6 kB / 377.2 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.3006, allocations: 131.6 kB / 377.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.3006, allocations: 8 kB / 377.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.3018, allocations: 383.5 kB / 377.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.057e-05/0.3019, allocations: 43.88 kB / 377.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.302, allocations: 61.58 kB / 377.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.3027, allocations: 296.1 kB / 378.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.077e-06/0.3027, allocations: 0 / 378.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.231e-06/0.3027, allocations: 0 / 378.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.935e-06/0.3027, allocations: 0 / 378.1 MB, free: 1.723 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.001262/0.304, allocations: 0.5577 MB / 378.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3041, allocations: 8.031 kB / 378.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.3042, allocations: 27.72 kB / 378.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.3046, allocations: 222.8 kB / 378.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.3048, allocations: 127.4 kB / 379.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.3048, allocations: 27.89 kB / 379.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.3055, allocations: 327.6 kB / 379.4 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.3055, allocations: 4 kB / 379.4 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.996e-05/0.3056, allocations: 8 kB / 379.4 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.3056, allocations: 11.94 kB / 379.4 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.3068, allocations: 0.7352 MB / 380.2 MB, free: 15.54 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.001879/0.3087, allocations: 1.347 MB / 381.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.3091, allocations: 167.7 kB / 381.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003561/0.3127, allocations: 2.864 MB / 384.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3128, allocations: 34.56 kB / 384.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.533e-06/0.3128, allocations: 0 / 384.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004347/0.3132, allocations: 141.3 kB / 384.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3133, allocations: 51.41 kB / 384.8 MB, free: 10.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.3136, allocations: 210.7 kB / 385 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.3136, allocations: 33.7 kB / 385 MB, free: 10 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3138, allocations: 273.4 kB / 385.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.3139, allocations: 63.19 kB / 385.3 MB, free: 9.672 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.3139, allocations: 8 kB / 385.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3141, allocations: 326.8 kB / 385.7 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3143, allocations: 48.83 kB / 385.7 MB, free: 9.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.3146, allocations: 318.1 kB / 386 MB, free: 8.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.3149, allocations: 99.86 kB / 386.1 MB, free: 8.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.3149, allocations: 7.953 kB / 386.1 MB, free: 8.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008079/0.3157, allocations: 373.1 kB / 386.5 MB, free: 8.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3157, allocations: 10.66 kB / 386.5 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3158, allocations: 8 kB / 386.5 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.3158, allocations: 16 kB / 386.5 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.3162, allocations: 96.48 kB / 386.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.3162, allocations: 15.94 kB / 386.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.3166, allocations: 59.52 kB / 386.7 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.3166, allocations: 27.98 kB / 386.7 MB, free: 8.141 MB / 314.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.0001952/0.3168, allocations: 153.5 kB / 386.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.3169, allocations: 27.67 kB / 386.9 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.3174, allocations: 185.3 kB / 387.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.3175, allocations: 4 kB / 387.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-06/0.3175, allocations: 0 / 387.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.52e-06/0.3175, allocations: 0 / 387.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.3183, allocations: 449.6 kB / 387.5 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.099e-06/0.3183, allocations: 4.062 kB / 387.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.3184, allocations: 24.05 kB / 387.6 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.003e-06/0.3184, allocations: 4 kB / 387.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3185, allocations: 4 kB / 387.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.203e-06/0.3185, allocations: 0 / 387.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.059e-06/0.3185, allocations: 4 kB / 387.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.3188, allocations: 234.5 kB / 387.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.319, allocations: 120.8 kB / 387.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.319, allocations: 4 kB / 387.9 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3192, allocations: 8 kB / 387.9 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.3193, allocations: 7.984 kB / 387.9 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3193, allocations: 4 kB / 387.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.3195, allocations: 148.5 kB / 388.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.3195, allocations: 4 kB / 388.1 MB, free: 6.641 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007072/0.3202, allocations: 107.9 kB / 388.2 MB, free: 6.535 MB / 314.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.0003256/0.3206, allocations: 171.1 kB / 388.4 MB, free: 6.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.321, allocations: 172.4 kB / 388.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.454e-06/0.321, allocations: 4 kB / 388.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.761e-05/0.3211, allocations: 33.61 kB / 388.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3215, allocations: 44.66 kB / 388.6 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3225, allocations: 0.5383 MB / 389.1 MB, free: 5.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.323, allocations: 0.7403 MB / 389.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.3231, allocations: 35.42 kB / 389.9 MB, free: 4.727 MB / 314.7 MB Notification: Performance of SimCode: time 1.674e-06/0.3231, allocations: 0 / 389.9 MB, free: 4.727 MB / 314.7 MB Notification: Performance of Templates: time 0.008077/0.3312, allocations: 3.568 MB / 393.5 MB, free: 1.172 MB / 314.7 MB