Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.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.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.188/2.188, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.77e-05, allocations: 4 kB / 309.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3276, allocations: 54.84 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4503, allocations: 79.19 MB / 443.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4505, allocations: 63.97 kB / 443.8 MB, free: 1.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003522/0.4541, allocations: 0.9014 MB / 444.7 MB, free: 384 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4541, allocations: 3.5 kB / 444.7 MB, free: 384 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.937e-06/0.4541, allocations: 0 / 444.7 MB, free: 384 kB / 362.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.0003089/0.4544, allocations: 334.9 kB / 445 MB, free: 4 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.391e-05/0.4545, allocations: 12.08 kB / 445 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.4546, allocations: 4.703 kB / 445 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4547, allocations: 163 kB / 445.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4548, allocations: 8 kB / 445.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.4548, allocations: 11.98 kB / 445.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.455, allocations: 54.33 kB / 445.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.614e-06/0.455, allocations: 0 / 445.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.455, allocations: 4 kB / 445.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-06/0.455, allocations: 0 / 445.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.4551, allocations: 51.91 kB / 445.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.4554, allocations: 177 kB / 445.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.4556, allocations: 78.59 kB / 445.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.4557, allocations: 28.86 kB / 445.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003718/0.456, allocations: 247.3 kB / 445.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4561, allocations: 34.55 kB / 445.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.577e-06/0.4561, allocations: 0 / 445.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002281/0.4564, allocations: 78.84 kB / 445.9 MB, free: 14.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4564, allocations: 59.41 kB / 446 MB, free: 14.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.4565, allocations: 85 kB / 446.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.4565, allocations: 29.7 kB / 446.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.4566, allocations: 150.6 kB / 446.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.4567, allocations: 35.45 kB / 446.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-06/0.4567, allocations: 0 / 446.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4569, allocations: 322.9 kB / 446.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.4569, allocations: 15.94 kB / 446.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.457, allocations: 20.06 kB / 446.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/0.4571, allocations: 23.98 kB / 446.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.463e-06/0.4571, allocations: 0 / 446.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.4573, allocations: 77.62 kB / 446.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4573, allocations: 11.28 kB / 446.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4573, allocations: 0 / 446.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4573, allocations: 0 / 446.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4575, allocations: 15.98 kB / 446.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.63e-06/0.4575, allocations: 0 / 446.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.4575, allocations: 4 kB / 446.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4576, allocations: 4 kB / 446.8 MB, free: 14.02 MB / 378.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 () * 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 9.063e-05/0.4577, allocations: 112.9 kB / 446.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.4577, allocations: 3.906 kB / 446.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.458, allocations: 97.7 kB / 447 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-06/0.458, allocations: 0.5625 kB / 447 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.458, allocations: 0 / 447 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.27e-06/0.458, allocations: 4.359 kB / 447 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.4582, allocations: 181.5 kB / 447.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.803e-06/0.4582, allocations: 1.188 kB / 447.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.4583, allocations: 23.92 kB / 447.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.8e-06/0.4584, allocations: 3.938 kB / 447.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4584, allocations: 4 kB / 447.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.392e-06/0.4584, allocations: 0 / 447.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-06/0.4584, allocations: 0 / 447.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.4586, allocations: 109 kB / 447.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.4587, allocations: 81.09 kB / 447.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4587, allocations: 4 kB / 447.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.4588, allocations: 11.81 kB / 447.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.4588, allocations: 0 / 447.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4588, allocations: 4 kB / 447.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.4589, allocations: 75.28 kB / 447.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.4589, allocations: 0 / 447.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.4592, allocations: 27.92 kB / 447.5 MB, free: 13.2 MB / 378.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 () * 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.0001853/0.4594, allocations: 107.2 kB / 447.6 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.4596, allocations: 56.25 kB / 447.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.317e-06/0.4596, allocations: 0 / 447.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.4597, allocations: 39.86 kB / 447.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.4598, allocations: 7.953 kB / 447.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.4602, allocations: 115.9 kB / 447.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.4605, allocations: 0.6852 MB / 448.5 MB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.4606, allocations: 15.42 kB / 448.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.456e-06/0.4606, allocations: 0 / 448.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of Templates: time 0.002779/0.4634, allocations: 0.8264 MB / 449.4 MB, free: 11.29 MB / 378.7 MB