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.244/2.244, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004332, allocations: 8 kB / 314.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.3964, allocations: 79.27 MB / 448.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.3967, allocations: 63.97 kB / 448.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003463/0.4002, allocations: 0.9021 MB / 449.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.141e-06/0.4002, allocations: 0 / 449.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.4002, allocations: 0 / 449.5 MB, free: 10.36 MB / 378.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.0003304/0.4006, allocations: 343.3 kB / 449.8 MB, free: 9.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4006, allocations: 8.031 kB / 449.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.4007, allocations: 7.953 kB / 449.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.4008, allocations: 163 kB / 450 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4008, allocations: 4 kB / 450 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.4009, allocations: 11.94 kB / 450 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.401, allocations: 57.61 kB / 450.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.091e-06/0.401, allocations: 0 / 450.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4011, allocations: 4 kB / 450.1 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-06/0.4011, allocations: 0 / 450.1 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.4012, allocations: 51.91 kB / 450.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.4015, allocations: 185.7 kB / 450.3 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.4016, allocations: 70.55 kB / 450.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.402, allocations: 259.2 kB / 450.6 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4021, allocations: 34.56 kB / 450.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.27e-06/0.4021, allocations: 0 / 450.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002789/0.4024, allocations: 97.89 kB / 450.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.4024, allocations: 55.41 kB / 450.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.4025, allocations: 85 kB / 450.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4025, allocations: 29.7 kB / 450.9 MB, free: 8.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.4026, allocations: 150.6 kB / 451.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.4027, allocations: 35.45 kB / 451.1 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-06/0.4027, allocations: 4.125 kB / 451.1 MB, free: 8.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4029, allocations: 322.8 kB / 451.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.4029, allocations: 19.92 kB / 451.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.403, allocations: 12 kB / 451.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.4031, allocations: 24.5 kB / 451.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-06/0.4031, allocations: 0 / 451.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.4033, allocations: 81.61 kB / 451.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4033, allocations: 4 kB / 451.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.557e-06/0.4033, allocations: 4 kB / 451.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4033, allocations: 0 / 451.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.4035, allocations: 16 kB / 451.6 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4035, allocations: 0 / 451.6 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.4035, allocations: 8 kB / 451.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-06/0.4036, allocations: 0 / 451.6 MB, free: 7.992 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 () * 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.0001235/0.4037, allocations: 121.8 kB / 451.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.4037, allocations: 7.906 kB / 451.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.404, allocations: 97.52 kB / 451.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.404, allocations: 8 kB / 451.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.123e-06/0.404, allocations: 0 / 451.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-06/0.404, allocations: 0 / 451.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.4042, allocations: 173.6 kB / 452 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4042, allocations: 7.938 kB / 452 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.823e-05/0.4043, allocations: 12 kB / 452 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.225e-06/0.4043, allocations: 0 / 452 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4044, allocations: 4 kB / 452 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.67e-06/0.4044, allocations: 0 / 452 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.933e-06/0.4044, allocations: 4 kB / 452 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.4046, allocations: 121 kB / 452.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.4047, allocations: 77.2 kB / 452.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.4047, allocations: 7.938 kB / 452.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.49e-05/0.4047, allocations: 4 kB / 452.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.4048, allocations: 7.984 kB / 452.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-06/0.4048, allocations: 0 / 452.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.4048, allocations: 79.28 kB / 452.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4049, allocations: 0 / 452.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.4052, allocations: 28.03 kB / 452.4 MB, free: 7.141 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 () * 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.0001835/0.4053, allocations: 111.2 kB / 452.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.4055, allocations: 51.92 kB / 452.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4055, allocations: 0 / 452.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.4056, allocations: 31.92 kB / 452.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.4058, allocations: 7.953 kB / 452.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.4062, allocations: 176.3 kB / 452.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.4065, allocations: 0.6848 MB / 453.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.4066, allocations: 11.44 kB / 453.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of SimCode: time 1.494e-06/0.4066, allocations: 0 / 453.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of Templates: time 0.002681/0.4093, allocations: 0.8217 MB / 454.2 MB, free: 5.18 MB / 378.7 MB