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.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.924e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08895, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4511, allocations: 74.77 MB / 401.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4513, allocations: 68.62 kB / 401.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.4635, allocations: 3.522 MB / 404.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4636, allocations: 0 / 404.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.4636, allocations: 0 / 404.9 MB, free: 9.031 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003353/0.4639, allocations: 397.8 kB / 405.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.464, allocations: 7.688 kB / 405.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.464, allocations: 3.969 kB / 405.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.4642, allocations: 201.8 kB / 405.5 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4642, allocations: 7.25 kB / 405.5 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.4643, allocations: 3.844 kB / 405.5 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4644, allocations: 78.94 kB / 405.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4645, allocations: 0 / 405.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4645, allocations: 3.812 kB / 405.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-06/0.4645, allocations: 0 / 405.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.4646, allocations: 30.2 kB / 405.6 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.465, allocations: 394.9 kB / 406 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.4653, allocations: 79.98 kB / 406.1 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.4654, allocations: 32.69 kB / 406.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4654, allocations: 7.922 kB / 406.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.4655, allocations: 38.44 kB / 406.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.26e-06/0.4655, allocations: 3.984 kB / 406.2 MB, free: 7.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006214/0.4661, allocations: 177.1 kB / 406.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.4662, allocations: 110.8 kB / 406.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4663, allocations: 127.5 kB / 406.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.4663, allocations: 28.83 kB / 406.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.4663, allocations: 158.4 kB / 406.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.4664, allocations: 31.33 kB / 406.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.4664, allocations: 0 / 406.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.4665, allocations: 314.5 kB / 407.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.4665, allocations: 30.2 kB / 407.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.4666, allocations: 44.72 kB / 407.2 MB, free: 6.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.4667, allocations: 62.92 kB / 407.2 MB, free: 6.926 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-06/0.4667, allocations: 0 / 407.2 MB, free: 6.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.467, allocations: 132.1 kB / 407.4 MB, free: 6.848 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.467, allocations: 33.39 kB / 407.4 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.823e-06/0.467, allocations: 0 / 407.4 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.467, allocations: 0 / 407.4 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4672, allocations: 29.7 kB / 407.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.478e-06/0.4672, allocations: 32 / 407.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.4673, allocations: 15.73 kB / 407.4 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4673, allocations: 3.656 kB / 407.4 MB, free: 6.801 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 (11): * Single equations (assignments): 10 * 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.898e-05/0.4674, allocations: 108.2 kB / 407.5 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.4675, allocations: 7.281 kB / 407.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.4677, allocations: 135.2 kB / 407.7 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4678, allocations: 0 / 407.7 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.739e-06/0.4678, allocations: 7.844 kB / 407.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.902e-06/0.4678, allocations: 0 / 407.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.4684, allocations: 493.5 kB / 408.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.006e-06/0.4684, allocations: 64 / 408.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.4685, allocations: 31.23 kB / 408.2 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.4686, allocations: 0 / 408.2 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4686, allocations: 3.75 kB / 408.2 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.988e-06/0.4686, allocations: 7.984 kB / 408.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.213e-06/0.4686, allocations: 3.875 kB / 408.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.4688, allocations: 294.6 kB / 408.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.4689, allocations: 91.66 kB / 408.6 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.4689, allocations: 11.83 kB / 408.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.4691, allocations: 7.562 kB / 408.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.4691, allocations: 11.52 kB / 408.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4692, allocations: 96 / 408.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.615e-05/0.4692, allocations: 106.6 kB / 408.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4693, allocations: 0 / 408.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.4697, allocations: 31.22 kB / 408.8 MB, free: 5.723 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0008835/0.4706, allocations: 324.3 kB / 409.1 MB, free: 5.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.4708, allocations: 121.9 kB / 409.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.098e-06/0.4708, allocations: 0 / 409.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.4709, allocations: 41.7 kB / 409.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.4712, allocations: 11.47 kB / 409.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.4717, allocations: 195.6 kB / 409.4 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.4718, allocations: 0.6958 MB / 410.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.4719, allocations: 19.17 kB / 410.2 MB, free: 4.578 MB / 314.7 MB Notification: Performance of SimCode: time 1.689e-06/0.4719, allocations: 0 / 410.2 MB, free: 4.578 MB / 314.7 MB Notification: Performance of Templates: time 0.003692/0.4756, allocations: 1.715 MB / 411.9 MB, free: 3.715 MB / 314.7 MB