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.Test01RegFun3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.975e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2643, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3769, allocations: 73.38 MB / 393.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.3772, allocations: 63.97 kB / 393.4 MB, free: 7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03798/0.4151, allocations: 8.165 MB / 401.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.865e-06/0.4152, allocations: 0 / 401.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4152, allocations: 4 kB / 401.6 MB, free: 14.82 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004032/0.4156, allocations: 338.5 kB / 401.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4157, allocations: 12.03 kB / 402 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.4157, allocations: 0 / 402 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4159, allocations: 163.1 kB / 402.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.4159, allocations: 3.953 kB / 402.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.4159, allocations: 7.922 kB / 402.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.455e-05/0.416, allocations: 4 kB / 402.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.527e-05/0.4161, allocations: 29.7 kB / 402.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4161, allocations: 0 / 402.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-06/0.4161, allocations: 0 / 402.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-06/0.4161, allocations: 4 kB / 402.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.4163, allocations: 130.2 kB / 402.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.4163, allocations: 18.61 kB / 402.3 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.4164, allocations: 4.859 kB / 402.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.4e-05/0.4164, allocations: 8.016 kB / 402.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.4164, allocations: 34.5 kB / 402.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.148e-06/0.4165, allocations: 4 kB / 402.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.4166, allocations: 33.7 kB / 402.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.4167, allocations: 55.41 kB / 402.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.4168, allocations: 88.98 kB / 402.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4168, allocations: 29.64 kB / 402.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.4169, allocations: 150.6 kB / 402.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.4169, allocations: 7.938 kB / 402.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-06/0.4169, allocations: 0 / 402.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4171, allocations: 315 kB / 403 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.4171, allocations: 0 / 403 MB, free: 13.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.4171, allocations: 4 kB / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.4172, allocations: 0 / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.188e-06/0.4172, allocations: 0 / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001082/0.4173, allocations: 41.64 kB / 403.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4174, allocations: 18.22 kB / 403.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.4174, allocations: 4 kB / 403.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4174, allocations: 0 / 403.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-06/0.4174, allocations: 4.094 kB / 403.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.601e-06/0.4174, allocations: 0 / 403.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.4175, allocations: 3.906 kB / 403.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-06/0.4175, allocations: 0 / 403.1 MB, free: 13.14 MB / 346.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.496e-05/0.4176, allocations: 105 kB / 403.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.4176, allocations: 0 / 403.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.4178, allocations: 49.39 kB / 403.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.544e-06/0.4178, allocations: 0 / 403.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.994e-06/0.4178, allocations: 4 kB / 403.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.379e-06/0.4178, allocations: 0 / 403.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.418, allocations: 134.2 kB / 403.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.481e-06/0.418, allocations: 3.938 kB / 403.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-06/0.418, allocations: 0 / 403.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.759e-06/0.418, allocations: 0 / 403.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.418, allocations: 4 kB / 403.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.031e-06/0.418, allocations: 0 / 403.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.641e-06/0.418, allocations: 3.953 kB / 403.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.4182, allocations: 57.17 kB / 403.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.4182, allocations: 81.09 kB / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.4182, allocations: 0 / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.4183, allocations: 4 kB / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.4183, allocations: 0 / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4184, allocations: 3.953 kB / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.4184, allocations: 91.25 kB / 403.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.4184, allocations: 0 / 403.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000405/0.4189, allocations: 51.92 kB / 403.7 MB, free: 12.48 MB / 346.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003681/0.4192, allocations: 143.2 kB / 403.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.4193, allocations: 33.64 kB / 403.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.918e-06/0.4194, allocations: 0 / 403.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.4194, allocations: 33.7 kB / 403.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.4195, allocations: 3.984 kB / 403.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.4198, allocations: 81.92 kB / 404 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4201, allocations: 0.6768 MB / 404.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/0.4202, allocations: 7.438 kB / 404.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.334e-06/0.4202, allocations: 0 / 404.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of Templates: time 0.003047/0.4232, allocations: 1.004 MB / 405.7 MB, free: 10.42 MB / 346.7 MB