Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.694e-05, allocations: 0 / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.08971, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3378/0.4275, allocations: 74.7 MB / 401.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4278, allocations: 79.23 kB / 401.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.4401, allocations: 3.476 MB / 404.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.232e-06/0.4401, allocations: 0 / 404.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.4402, allocations: 3.25 kB / 404.8 MB, free: 8.988 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003214/0.4405, allocations: 394.4 kB / 405.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4406, allocations: 7.75 kB / 405.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.4406, allocations: 3.906 kB / 405.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.4408, allocations: 194.5 kB / 405.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4408, allocations: 3.969 kB / 405.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.4409, allocations: 7.984 kB / 405.4 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.441, allocations: 72.16 kB / 405.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.441, allocations: 3.906 kB / 405.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4411, allocations: 3.984 kB / 405.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-06/0.4411, allocations: 0 / 405.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.4412, allocations: 22.94 kB / 405.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.4415, allocations: 292.7 kB / 405.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.4416, allocations: 59.62 kB / 405.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.4417, allocations: 11.95 kB / 405.8 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4417, allocations: 3.719 kB / 405.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4417, allocations: 36.12 kB / 405.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.098e-06/0.4417, allocations: 0 / 405.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005063/0.4422, allocations: 138.9 kB / 406 MB, free: 7.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.4423, allocations: 83.33 kB / 406.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4424, allocations: 125.2 kB / 406.2 MB, free: 7.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.4424, allocations: 25.7 kB / 406.3 MB, free: 7.629 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.4425, allocations: 165.3 kB / 406.4 MB, free: 7.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.4425, allocations: 25.31 kB / 406.4 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-06/0.4425, allocations: 0 / 406.4 MB, free: 7.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.4426, allocations: 314.8 kB / 406.7 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.4427, allocations: 22.17 kB / 406.8 MB, free: 7.133 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.4427, allocations: 37.72 kB / 406.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.4428, allocations: 53.75 kB / 406.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-06/0.4428, allocations: 0 / 406.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001836/0.443, allocations: 113.6 kB / 407 MB, free: 7.008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.4431, allocations: 29.55 kB / 407 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-06/0.4431, allocations: 4 kB / 407 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4431, allocations: 0 / 407 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4432, allocations: 23.39 kB / 407 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.133e-06/0.4433, allocations: 8.188 kB / 407 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.4433, allocations: 6.469 kB / 407 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.4434, allocations: 7.797 kB / 407 MB, free: 6.957 MB / 314.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 5.598e-05/0.4434, allocations: 112 kB / 407.2 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.4435, allocations: 7.75 kB / 407.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.4437, allocations: 106.9 kB / 407.3 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.4437, allocations: 0 / 407.3 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.095e-06/0.4438, allocations: 0 / 407.3 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.163e-06/0.4438, allocations: 0 / 407.3 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.4442, allocations: 373.2 kB / 407.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-06/0.4442, allocations: 3.938 kB / 407.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.4443, allocations: 19.23 kB / 407.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-06/0.4443, allocations: 0 / 407.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-06/0.4443, allocations: 4 kB / 407.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-06/0.4444, allocations: 3.969 kB / 407.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-06/0.4444, allocations: 3.953 kB / 407.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.4445, allocations: 176.9 kB / 407.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.4446, allocations: 85 kB / 407.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4446, allocations: 7.062 kB / 407.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4447, allocations: 3.844 kB / 407.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.4448, allocations: 11.83 kB / 407.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.4448, allocations: 7.641 kB / 408 MB, free: 6.191 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.494e-05/0.4449, allocations: 101.4 kB / 408 MB, free: 6.109 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4449, allocations: 0 / 408 MB, free: 6.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003601/0.4453, allocations: 26.62 kB / 408.1 MB, free: 6.105 MB / 314.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 (8): * Single equations (assignments): 8 * 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.0008679/0.4461, allocations: 323 kB / 408.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.4464, allocations: 104.8 kB / 408.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.907e-06/0.4464, allocations: 11.91 kB / 408.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.4464, allocations: 26.45 kB / 408.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.4467, allocations: 7.562 kB / 408.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.447, allocations: 147.2 kB / 408.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.4472, allocations: 0.6957 MB / 409.4 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.4473, allocations: 14.97 kB / 409.4 MB, free: 5.008 MB / 314.7 MB Notification: Performance of SimCode: time 1.507e-06/0.4473, allocations: 0 / 409.4 MB, free: 5.008 MB / 314.7 MB Notification: Performance of Templates: time 0.003847/0.4511, allocations: 1.635 MB / 411 MB, free: 4.168 MB / 314.7 MB