Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.344/2.344, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006641/0.0006644, allocations: 12 kB / 314.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3798, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.5264, allocations: 79.26 MB / 449.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5267, allocations: 75.89 kB / 449.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003895/0.5306, allocations: 0.8983 MB / 450 MB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5307, allocations: 0 / 450 MB, free: 10.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.5307, allocations: 0 / 450 MB, free: 10.4 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.0003402/0.5311, allocations: 339.3 kB / 450.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5311, allocations: 8.031 kB / 450.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.5312, allocations: 7.953 kB / 450.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.5313, allocations: 170.9 kB / 450.5 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.5314, allocations: 8 kB / 450.5 MB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.5314, allocations: 0 / 450.5 MB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.5316, allocations: 57.69 kB / 450.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5316, allocations: 0 / 450.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.5316, allocations: 4 kB / 450.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5316, allocations: 3.938 kB / 450.6 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.5318, allocations: 60.05 kB / 450.7 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.532, allocations: 169.6 kB / 450.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.5322, allocations: 74.48 kB / 450.9 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004083/0.5326, allocations: 255.3 kB / 451.2 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5327, allocations: 34.56 kB / 451.2 MB, free: 9.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.5327, allocations: 0 / 451.2 MB, free: 9.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003146/0.533, allocations: 97.89 kB / 451.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.5331, allocations: 55.41 kB / 451.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.5332, allocations: 93.8 kB / 451.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.5332, allocations: 25.7 kB / 451.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.5333, allocations: 154.7 kB / 451.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.5333, allocations: 35.45 kB / 451.6 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.5333, allocations: 4 kB / 451.6 MB, free: 8.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5335, allocations: 322.8 kB / 452 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.5335, allocations: 12 kB / 452 MB, free: 8.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.5336, allocations: 19.98 kB / 452 MB, free: 8.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.372e-05/0.5337, allocations: 16 kB / 452 MB, free: 8.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5337, allocations: 0 / 452 MB, free: 8.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.5339, allocations: 86.12 kB / 452.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5339, allocations: 12 kB / 452.1 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.5339, allocations: 0 / 452.1 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.534, allocations: 0 / 452.1 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.5341, allocations: 15.98 kB / 452.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5341, allocations: 4 kB / 452.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.5342, allocations: 4 kB / 452.1 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.5342, allocations: 0 / 452.1 MB, free: 8.031 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.0001033/0.5343, allocations: 121.7 kB / 452.2 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.5344, allocations: 3.906 kB / 452.3 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.5346, allocations: 105.5 kB / 452.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5347, allocations: 4 kB / 452.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.5347, allocations: 3.984 kB / 452.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5347, allocations: 0 / 452.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.5349, allocations: 173.6 kB / 452.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5349, allocations: 0 / 452.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.535, allocations: 15.98 kB / 452.5 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.535, allocations: 0 / 452.5 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.535, allocations: 0 / 452.5 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.5351, allocations: 4 kB / 452.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5351, allocations: 7.938 kB / 452.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5353, allocations: 112.9 kB / 452.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.5354, allocations: 89.08 kB / 452.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.5354, allocations: 0 / 452.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.5355, allocations: 0 / 452.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.5355, allocations: 4 kB / 452.8 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.5355, allocations: 4 kB / 452.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.5356, allocations: 87.27 kB / 452.8 MB, free: 7.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5356, allocations: 288 / 452.8 MB, free: 7.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.5359, allocations: 19.94 kB / 452.9 MB, free: 7.18 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.0002005/0.5361, allocations: 115.2 kB / 453 MB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.5363, allocations: 55.91 kB / 453 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5363, allocations: 3.938 kB / 453 MB, free: 7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.5364, allocations: 24 kB / 453.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.5365, allocations: 8.047 kB / 453.1 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.5369, allocations: 176.2 kB / 453.2 MB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.5372, allocations: 0.6897 MB / 453.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.5373, allocations: 11.44 kB / 453.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5373, allocations: 0 / 453.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of Templates: time 0.003111/0.5404, allocations: 0.8219 MB / 454.8 MB, free: 5.211 MB / 378.7 MB