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.287/2.287, allocations: 234.9 MB / 250.5 MB, free: 9.609 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004659, allocations: 16 kB / 314.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2913, allocations: 54.86 MB / 369.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006994/0.292, allocations: 300.3 kB / 369.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.2924, allocations: 113.8 kB / 369.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.2924, allocations: 3.938 kB / 369.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.885e-06/0.2925, allocations: 0 / 369.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.2927, allocations: 27.89 kB / 369.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.303e-06/0.2927, allocations: 3.938 kB / 369.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.088e-05/0.2927, allocations: 11.98 kB / 369.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.2928, allocations: 11.98 kB / 369.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/0.2928, allocations: 3.938 kB / 369.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.2929, allocations: 11.98 kB / 369.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2929, allocations: 11.88 kB / 369.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2931, allocations: 39.95 kB / 369.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.2931, allocations: 11.97 kB / 369.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.2931, allocations: 29.7 kB / 369.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.928e-05/0.2932, allocations: 23.95 kB / 369.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.576e-06/0.2933, allocations: 4 kB / 369.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2933, allocations: 0 / 369.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.226e-06/0.2933, allocations: 4 kB / 369.8 MB, free: 12.17 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003431/0.2936, allocations: 331.3 kB / 370.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2937, allocations: 8.031 kB / 370.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.2937, allocations: 3.953 kB / 370.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2939, allocations: 171.7 kB / 370.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2939, allocations: 4 kB / 370.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2939, allocations: 4 kB / 370.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2941, allocations: 53.67 kB / 370.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.97e-06/0.2941, allocations: 4 kB / 370.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2941, allocations: 7.984 kB / 370.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-06/0.2942, allocations: 0 / 370.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.2943, allocations: 63.78 kB / 370.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.2945, allocations: 173.6 kB / 370.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.2947, allocations: 74.56 kB / 370.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/0.2952, allocations: 255.3 kB / 370.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2952, allocations: 38.56 kB / 370.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.161e-06/0.2952, allocations: 0 / 370.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002763/0.2955, allocations: 105.8 kB / 371.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.2956, allocations: 51.41 kB / 371.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.722e-05/0.2957, allocations: 93.8 kB / 371.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2957, allocations: 29.7 kB / 371.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.2958, allocations: 154.6 kB / 371.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.2958, allocations: 35.58 kB / 371.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-06/0.2959, allocations: 4 kB / 371.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.296, allocations: 318.8 kB / 371.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.2961, allocations: 15.98 kB / 371.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.2961, allocations: 19.98 kB / 371.8 MB, free: 9.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.885e-05/0.2962, allocations: 20 kB / 371.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2962, allocations: 0 / 371.8 MB, free: 9.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.2964, allocations: 81.62 kB / 371.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2964, allocations: 4 kB / 371.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.185e-06/0.2965, allocations: 0 / 371.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2965, allocations: 8 kB / 371.9 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2966, allocations: 15.98 kB / 371.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.676e-06/0.2966, allocations: 0 / 371.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.2967, allocations: 0 / 371.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2967, allocations: 8 kB / 371.9 MB, free: 9.789 MB / 298.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.0001065/0.2968, allocations: 117.7 kB / 372 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.2968, allocations: 4.562 kB / 372 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.2971, allocations: 105.5 kB / 372.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2971, allocations: 8 kB / 372.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.255e-06/0.2972, allocations: 3.984 kB / 372.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2972, allocations: 0 / 372.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.2974, allocations: 173.6 kB / 372.3 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2974, allocations: 0 / 372.3 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/0.2975, allocations: 15.98 kB / 372.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.016e-06/0.2975, allocations: 0 / 372.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2975, allocations: 15.94 kB / 372.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.383e-06/0.2975, allocations: 0 / 372.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-06/0.2975, allocations: 0 / 372.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.2978, allocations: 116.9 kB / 372.4 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.2978, allocations: 81.11 kB / 372.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2979, allocations: 4 kB / 372.5 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.2979, allocations: 0 / 372.5 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.2979, allocations: 4 kB / 372.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.298, allocations: 7.984 kB / 372.5 MB, free: 9.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.298, allocations: 75.28 kB / 372.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.298, allocations: 4.094 kB / 372.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.2983, allocations: 20 kB / 372.6 MB, free: 8.945 MB / 298.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.0001655/0.2985, allocations: 111.2 kB / 372.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.2987, allocations: 55.91 kB / 372.8 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.063e-06/0.2987, allocations: 0 / 372.8 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/0.2987, allocations: 24 kB / 372.8 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.2989, allocations: 10.06 kB / 372.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.2993, allocations: 184.2 kB / 373 MB, free: 8.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2997, allocations: 0.6848 MB / 373.7 MB, free: 7.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.2997, allocations: 19.38 kB / 373.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2997, allocations: 0 / 373.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of Templates: time 0.002622/0.3024, allocations: 0.802 MB / 374.5 MB, free: 6.988 MB / 298.7 MB