Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.49e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2972, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.4509, allocations: 80.23 MB / 438.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4512, allocations: 67.97 kB / 438.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01261/0.4639, allocations: 3.195 MB / 441.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.15e-06/0.4639, allocations: 0 / 441.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.464, allocations: 4 kB / 441.5 MB, free: 11.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000514/0.4645, allocations: 420 kB / 441.9 MB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4645, allocations: 11.97 kB / 441.9 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.4646, allocations: 7.906 kB / 442 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.4649, allocations: 203.5 kB / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.4649, allocations: 0 / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.465, allocations: 4 kB / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.075e-05/0.4651, allocations: 12 kB / 442.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.4652, allocations: 45.69 kB / 442.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4652, allocations: 3.953 kB / 442.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-06/0.4652, allocations: 0 / 442.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4652, allocations: 0 / 442.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.4656, allocations: 265.5 kB / 442.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.4658, allocations: 38.5 kB / 442.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.4659, allocations: 12.86 kB / 442.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4659, allocations: 0 / 442.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.466, allocations: 44.33 kB / 442.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.918e-06/0.466, allocations: 0 / 442.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004702/0.4665, allocations: 109.3 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.4665, allocations: 51.41 kB / 442.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.4668, allocations: 209.5 kB / 442.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4668, allocations: 25.7 kB / 443 MB, free: 9.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.467, allocations: 166.5 kB / 443.1 MB, free: 9.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.467, allocations: 11.81 kB / 443.1 MB, free: 9.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-06/0.467, allocations: 0 / 443.1 MB, free: 9.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4672, allocations: 318.8 kB / 443.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.4672, allocations: 12 kB / 443.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.4673, allocations: 12.06 kB / 443.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.4673, allocations: 12 kB / 443.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-06/0.4674, allocations: 4 kB / 443.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001501/0.4675, allocations: 61.62 kB / 443.5 MB, free: 9.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.4676, allocations: 33.7 kB / 443.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.956e-06/0.4676, allocations: 3.953 kB / 443.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4676, allocations: 0 / 443.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.4677, allocations: 15.98 kB / 443.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4677, allocations: 0 / 443.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.4678, allocations: 4 kB / 443.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.4678, allocations: 8 kB / 443.6 MB, free: 9.039 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 8.877e-05/0.4679, allocations: 114.5 kB / 443.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.468, allocations: 7.906 kB / 443.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.4682, allocations: 83.09 kB / 443.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4682, allocations: 7.953 kB / 443.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.432e-06/0.4683, allocations: 0 / 443.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.284e-06/0.4683, allocations: 144 / 443.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.4688, allocations: 327.1 kB / 444.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4688, allocations: 7.984 kB / 444.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.4689, allocations: 16 kB / 444.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.694e-06/0.4689, allocations: 3.938 kB / 444.2 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4689, allocations: 3.953 kB / 444.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.4689, allocations: 3.984 kB / 444.2 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.469, allocations: 8.25 kB / 444.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.4692, allocations: 155.5 kB / 444.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.4693, allocations: 100.9 kB / 444.4 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.4693, allocations: 4 kB / 444.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4694, allocations: 11.94 kB / 444.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.4695, allocations: 4 kB / 444.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.806e-06/0.4695, allocations: 0 / 444.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000208/0.4697, allocations: 168.2 kB / 444.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.4697, allocations: 0 / 444.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000372/0.4701, allocations: 16 kB / 444.6 MB, free: 7.926 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008564/0.471, allocations: 253.1 kB / 444.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.4712, allocations: 83.34 kB / 445 MB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.321e-06/0.4712, allocations: 0 / 445 MB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.4713, allocations: 12 kB / 445 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.4715, allocations: 10.92 kB / 445 MB, free: 7.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.472, allocations: 205.9 kB / 445.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.4725, allocations: 0.7119 MB / 445.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.4725, allocations: 11.44 kB / 445.9 MB, free: 6.613 MB / 378.7 MB Notification: Performance of SimCode: time 1.651e-06/0.4725, allocations: 0 / 445.9 MB, free: 6.613 MB / 378.7 MB Notification: Performance of Templates: time 0.003994/0.4765, allocations: 1.449 MB / 447.4 MB, free: 5.168 MB / 378.7 MB