Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 1.832/1.832, allocations: 209.3 MB / 224.9 MB, free: 272 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004474, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2893, allocations: 48.71 MB / 331.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3991, allocations: 72.89 MB / 404.2 MB, free: 5.402 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.3994, allocations: 71.95 kB / 404.2 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003581/0.403, allocations: 0.8964 MB / 405.1 MB, free: 4.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.467e-06/0.403, allocations: 0 / 405.1 MB, free: 4.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.403, allocations: 0 / 405.1 MB, free: 4.434 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003389/0.4034, allocations: 335.4 kB / 405.5 MB, free: 4.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4034, allocations: 8.031 kB / 405.5 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.4035, allocations: 8 kB / 405.5 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.4036, allocations: 170.9 kB / 405.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4037, allocations: 11.95 kB / 405.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.4037, allocations: 5.734 kB / 405.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4039, allocations: 61.56 kB / 405.7 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.521e-06/0.4039, allocations: 0 / 405.7 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4039, allocations: 0 / 405.7 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-06/0.4039, allocations: 0 / 405.7 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.404, allocations: 55.94 kB / 405.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.4043, allocations: 173.7 kB / 405.9 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.4045, allocations: 78.53 kB / 406 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/0.4049, allocations: 247.3 kB / 406.3 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.4049, allocations: 38.56 kB / 406.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.664e-06/0.4049, allocations: 0 / 406.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002865/0.4052, allocations: 93.8 kB / 406.4 MB, free: 2.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.4053, allocations: 59.41 kB / 406.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.4054, allocations: 89 kB / 406.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4054, allocations: 25.7 kB / 406.6 MB, free: 2.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.4055, allocations: 150.6 kB / 406.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.4056, allocations: 37.75 kB / 406.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-06/0.4056, allocations: 4 kB / 406.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4058, allocations: 314.8 kB / 407.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.4058, allocations: 16.11 kB / 407.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.4059, allocations: 16 kB / 407.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.538e-05/0.406, allocations: 28.48 kB / 407.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.46e-06/0.406, allocations: 3.938 kB / 407.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.4062, allocations: 81.64 kB / 407.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4062, allocations: 4.625 kB / 407.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.949e-06/0.4062, allocations: 3.938 kB / 407.2 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4062, allocations: 0 / 407.2 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4064, allocations: 16 kB / 407.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.4064, allocations: 3.984 kB / 407.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.4064, allocations: 3.906 kB / 407.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4065, allocations: 8 kB / 407.2 MB, free: 2.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001137/0.4066, allocations: 109.8 kB / 407.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.4066, allocations: 7.953 kB / 407.4 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.4069, allocations: 101.5 kB / 407.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.4069, allocations: 0 / 407.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.424e-06/0.4069, allocations: 0 / 407.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4069, allocations: 4 kB / 407.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.4071, allocations: 173.8 kB / 407.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-06/0.4071, allocations: 4 kB / 407.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.4072, allocations: 27.88 kB / 407.7 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.53e-06/0.4073, allocations: 0 / 407.7 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4073, allocations: 7.938 kB / 407.7 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.327e-06/0.4073, allocations: 0 / 407.7 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-06/0.4073, allocations: 0 / 407.7 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.4075, allocations: 105.2 kB / 407.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.4076, allocations: 81.02 kB / 407.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.4076, allocations: 16.08 kB / 407.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.4077, allocations: 7.891 kB / 407.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.4077, allocations: 0 / 407.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.4077, allocations: 4 kB / 407.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.909e-05/0.4078, allocations: 79.28 kB / 408 MB, free: 1.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.4078, allocations: 0 / 408 MB, free: 1.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.4081, allocations: 23.92 kB / 408 MB, free: 1.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001909/0.4083, allocations: 115.3 kB / 408.1 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.4085, allocations: 47.92 kB / 408.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.366e-06/0.4085, allocations: 4 kB / 408.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/0.4086, allocations: 31.92 kB / 408.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.4087, allocations: 4 kB / 408.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.4091, allocations: 168.9 kB / 408.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.4095, allocations: 0.6878 MB / 409 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.4095, allocations: 19.42 kB / 409 MB, free: 92 kB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4095, allocations: 3.938 kB / 409 MB, free: 88 kB / 330.7 MB Notification: Performance of Templates: time 0.002743/0.4123, allocations: 0.8145 MB / 409.9 MB, free: 15.27 MB / 346.7 MB