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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.806/1.806, allocations: 209.2 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007627/0.0007629, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3106, allocations: 48.7 MB / 331.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.4205, allocations: 74.13 MB / 405.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.4207, allocations: 75.97 kB / 405.5 MB, free: 4.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03894/0.4597, allocations: 8.197 MB / 413.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4598, allocations: 0 / 413.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4598, allocations: 0 / 413.7 MB, free: 11.89 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.0004037/0.4602, allocations: 347.3 kB / 414 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4602, allocations: 12.03 kB / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.4603, allocations: 4 kB / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.4604, allocations: 159.1 kB / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4605, allocations: 3.953 kB / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-06/0.4605, allocations: 0 / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.4606, allocations: 37.62 kB / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.619e-06/0.4606, allocations: 0 / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4606, allocations: 3.938 kB / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.979e-06/0.4606, allocations: 4 kB / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.4607, allocations: 0 / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.4609, allocations: 157.7 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.648e-05/0.4609, allocations: 22.52 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.461, allocations: 3.984 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.461, allocations: 34.62 kB / 414.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.919e-06/0.461, allocations: 0 / 414.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000142/0.4612, allocations: 41.64 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.4612, allocations: 55.53 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.4613, allocations: 85 kB / 414.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4613, allocations: 29.69 kB / 414.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.4614, allocations: 154.6 kB / 414.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.4615, allocations: 3.906 kB / 414.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-06/0.4615, allocations: 0 / 414.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4616, allocations: 310.8 kB / 415.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.4617, allocations: 4 kB / 415.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.4617, allocations: 8.125 kB / 415.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.716e-05/0.4617, allocations: 0 / 415.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-06/0.4617, allocations: 0 / 415.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.844e-05/0.4618, allocations: 41.59 kB / 415.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4619, allocations: 4.625 kB / 415.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4619, allocations: 0 / 415.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4619, allocations: 7.984 kB / 415.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.822e-06/0.4619, allocations: 0 / 415.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.4619, allocations: 3.938 kB / 415.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.462, allocations: 0 / 415.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.462, allocations: 4.094 kB / 415.2 MB, free: 10.17 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 () * Number of clocked 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 9.096e-05/0.4621, allocations: 109.8 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.4621, allocations: 7.938 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.4623, allocations: 52.75 kB / 415.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-06/0.4623, allocations: 0 / 415.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.64e-06/0.4623, allocations: 0 / 415.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-06/0.4623, allocations: 4.031 kB / 415.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.4624, allocations: 149.7 kB / 415.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.018e-06/0.4625, allocations: 0 / 415.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-06/0.4625, allocations: 0 / 415.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.547e-06/0.4625, allocations: 0 / 415.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4625, allocations: 7.953 kB / 415.5 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.782e-06/0.4625, allocations: 0 / 415.5 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4625, allocations: 4 kB / 415.5 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.601e-05/0.4626, allocations: 57.14 kB / 415.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.4627, allocations: 85.03 kB / 415.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.4627, allocations: 0 / 415.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.4628, allocations: 3.953 kB / 415.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.4628, allocations: 4 kB / 415.7 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.4628, allocations: 0 / 415.7 MB, free: 9.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.873e-05/0.4629, allocations: 83.22 kB / 415.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4629, allocations: 0 / 415.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003492/0.4632, allocations: 51.92 kB / 415.8 MB, free: 9.461 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 () * Number of clocked 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.0003385/0.4636, allocations: 147.3 kB / 415.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.4637, allocations: 33.7 kB / 416 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.65e-06/0.4637, allocations: 0 / 416 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.4638, allocations: 33.69 kB / 416 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.4639, allocations: 0 / 416 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.4642, allocations: 112.9 kB / 416.1 MB, free: 9.086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4645, allocations: 0.6811 MB / 416.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.4646, allocations: 7.438 kB / 416.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of SimCode: time 1.239e-06/0.4646, allocations: 0 / 416.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of Templates: time 0.002885/0.4675, allocations: 0.9929 MB / 417.8 MB, free: 7.379 MB / 346.7 MB