Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004201, allocations: 12 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3889, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.5646, allocations: 81.26 MB / 451.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5649, allocations: 71.97 kB / 451.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01615/0.5811, allocations: 3.767 MB / 454.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5812, allocations: 0 / 454.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5812, allocations: 0 / 454.9 MB, free: 5.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005821/0.5818, allocations: 404.9 kB / 455.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5818, allocations: 8.031 kB / 455.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.5819, allocations: 11.86 kB / 455.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.5822, allocations: 190.9 kB / 455.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.5822, allocations: 8 kB / 455.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.5823, allocations: 7.922 kB / 455.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.5825, allocations: 75.39 kB / 455.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5825, allocations: 0 / 455.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5826, allocations: 0 / 455.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5826, allocations: 4 kB / 455.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.5828, allocations: 39.92 kB / 455.6 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.5833, allocations: 292.8 kB / 455.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.5835, allocations: 54.5 kB / 456 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.5836, allocations: 4 kB / 456 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.5836, allocations: 34.56 kB / 456 MB, free: 4.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.844e-06/0.5836, allocations: 0 / 456 MB, free: 4.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001116/0.5847, allocations: 205.3 kB / 456.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.5848, allocations: 77.11 kB / 456.3 MB, free: 3.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.585, allocations: 125.8 kB / 456.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.585, allocations: 29.7 kB / 456.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.5851, allocations: 158.8 kB / 456.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.5852, allocations: 23.55 kB / 456.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.5852, allocations: 8 kB / 456.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5854, allocations: 310.8 kB / 456.9 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.5855, allocations: 39.92 kB / 457 MB, free: 3.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.5857, allocations: 49.62 kB / 457 MB, free: 3.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.5859, allocations: 61.72 kB / 457.1 MB, free: 3.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5859, allocations: 4 kB / 457.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004359/0.5864, allocations: 139.3 kB / 457.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.5864, allocations: 37.66 kB / 457.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5864, allocations: 0 / 457.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5865, allocations: 0 / 457.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.5867, allocations: 23.98 kB / 457.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5867, allocations: 0 / 457.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.931e-05/0.5868, allocations: 12 kB / 457.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.5868, allocations: 0 / 457.3 MB, free: 2.867 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 () * Number of clocked 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 0.0001494/0.587, allocations: 125.8 kB / 457.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.587, allocations: 3.906 kB / 457.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.5875, allocations: 134.1 kB / 457.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5876, allocations: 0 / 457.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5876, allocations: 3.938 kB / 457.6 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5876, allocations: 3.984 kB / 457.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.5884, allocations: 402.3 kB / 457.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5884, allocations: 0 / 457.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.5885, allocations: 19.98 kB / 458 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.5886, allocations: 4 kB / 458 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.5886, allocations: 384 / 458 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.5886, allocations: 0 / 458 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.5886, allocations: 4 kB / 458 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.5892, allocations: 207.5 kB / 458.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.5893, allocations: 88.97 kB / 458.3 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.5893, allocations: 288 / 458.3 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5894, allocations: 7.984 kB / 458.3 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.5895, allocations: 12 kB / 458.3 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.5895, allocations: 7.938 kB / 458.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.5897, allocations: 107.6 kB / 458.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5897, allocations: 0 / 458.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.5901, allocations: 31.94 kB / 458.4 MB, free: 1.617 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 () * Number of clocked 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.001131/0.5912, allocations: 393 kB / 458.8 MB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.5917, allocations: 135.3 kB / 458.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5917, allocations: 4 kB / 458.9 MB, free: 1.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.5919, allocations: 31.98 kB / 459 MB, free: 1.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5922, allocations: 11.98 kB / 459 MB, free: 1.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.5928, allocations: 230.9 kB / 459.2 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5931, allocations: 0.6965 MB / 459.9 MB, free: 128 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.5932, allocations: 19.36 kB / 459.9 MB, free: 108 kB / 378.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5932, allocations: 0 / 459.9 MB, free: 108 kB / 378.7 MB Notification: Performance of Templates: time 0.00568/0.5989, allocations: 1.617 MB / 461.5 MB, free: 14.49 MB / 394.7 MB