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.CombiTable1D.Test4.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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.CombiTable1D.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004686, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2776, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002141/0.2798, allocations: 1.239 MB / 370.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006399/0.2805, allocations: 265.1 kB / 370.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.2806, allocations: 0 / 370.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.2809, allocations: 83.8 kB / 370.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.2811, allocations: 55.86 kB / 370.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.2812, allocations: 35.91 kB / 370.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.2814, allocations: 55.91 kB / 370.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.2815, allocations: 12 kB / 370.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.2816, allocations: 31.91 kB / 370.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2817, allocations: 47.83 kB / 371 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2817, allocations: 4 kB / 371 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.789e-05/0.2818, allocations: 19.92 kB / 371 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.2819, allocations: 19.92 kB / 371 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.2819, allocations: 37.64 kB / 371.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2821, allocations: 75.88 kB / 371.1 MB, free: 8.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.941e-06/0.2821, allocations: 0 / 371.1 MB, free: 8.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2821, allocations: 0 / 371.1 MB, free: 8.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.357e-06/0.2821, allocations: 0 / 371.1 MB, free: 8.711 MB / 298.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.0005695/0.2827, allocations: 421.3 kB / 371.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2828, allocations: 12.03 kB / 371.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.2828, allocations: 11.86 kB / 371.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.2831, allocations: 186.9 kB / 371.8 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-06/0.2831, allocations: 0 / 371.8 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.2831, allocations: 4 kB / 371.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2834, allocations: 83.31 kB / 371.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2834, allocations: 4 kB / 371.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2834, allocations: 3.938 kB / 371.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.137e-06/0.2834, allocations: 4 kB / 371.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.2836, allocations: 47.86 kB / 371.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.2842, allocations: 401 kB / 372.3 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.2846, allocations: 89.16 kB / 372.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2847, allocations: 4.078 kB / 372.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.2847, allocations: 46.5 kB / 372.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.308e-06/0.2847, allocations: 0 / 372.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009976/0.2857, allocations: 264.7 kB / 372.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.2858, allocations: 77.11 kB / 372.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.2861, allocations: 219.3 kB / 373 MB, free: 6.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2861, allocations: 29.7 kB / 373 MB, free: 6.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.2863, allocations: 170.5 kB / 373.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.2863, allocations: 31.47 kB / 373.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-06/0.2863, allocations: 0 / 373.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2865, allocations: 322.8 kB / 373.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2867, allocations: 35.98 kB / 373.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.2868, allocations: 39.97 kB / 373.6 MB, free: 6.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.287, allocations: 73.67 kB / 373.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.287, allocations: 0 / 373.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003935/0.2874, allocations: 167.2 kB / 373.8 MB, free: 5.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.2875, allocations: 29.7 kB / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.373e-06/0.2875, allocations: 0 / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2875, allocations: 0 / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2877, allocations: 23.98 kB / 373.9 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.694e-06/0.2877, allocations: 0 / 373.9 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.2878, allocations: 11.98 kB / 373.9 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2878, allocations: 4 kB / 373.9 MB, free: 5.688 MB / 298.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 (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 0.000159/0.288, allocations: 137.8 kB / 374 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.2881, allocations: 15.77 kB / 374.1 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.2885, allocations: 162.5 kB / 374.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-06/0.2886, allocations: 0 / 374.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.526e-06/0.2886, allocations: 4 kB / 374.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-06/0.2886, allocations: 0 / 374.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009422/0.2895, allocations: 0.518 MB / 374.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.832e-06/0.2896, allocations: 0 / 374.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.2897, allocations: 23.98 kB / 374.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.2897, allocations: 0 / 374.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2897, allocations: 7.938 kB / 374.8 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.721e-06/0.2898, allocations: 3.938 kB / 374.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2898, allocations: 320 / 374.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.2902, allocations: 315.5 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.2903, allocations: 93.02 kB / 375.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2904, allocations: 3.938 kB / 375.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2905, allocations: 19.98 kB / 375.2 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.2906, allocations: 7.984 kB / 375.2 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2906, allocations: 4 kB / 375.2 MB, free: 4.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.2908, allocations: 163.9 kB / 375.4 MB, free: 4.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.2908, allocations: 0 / 375.4 MB, free: 4.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.2912, allocations: 20 kB / 375.4 MB, free: 4.098 MB / 298.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 () * Number of clocked 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.0009735/0.2922, allocations: 298.4 kB / 375.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.2927, allocations: 155.3 kB / 375.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.139e-06/0.2927, allocations: 0 / 375.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.2929, allocations: 55.84 kB / 375.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2932, allocations: 11.95 kB / 375.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.2939, allocations: 344.6 kB / 376.2 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.2944, allocations: 0.7238 MB / 377 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.2944, allocations: 11.44 kB / 377 MB, free: 2.508 MB / 298.7 MB Notification: Performance of SimCode: time 1.448e-06/0.2945, allocations: 0 / 377 MB, free: 2.508 MB / 298.7 MB Notification: Performance of Templates: time 0.00418/0.2986, allocations: 1.596 MB / 378.6 MB, free: 0.9141 MB / 298.7 MB