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.Test20.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.Test20,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.CombiTable1D.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004352, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2743, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002127/0.2765, allocations: 1.223 MB / 370.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.278, allocations: 0.8335 MB / 371.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2781, allocations: 0 / 371.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2783, allocations: 19.92 kB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.2784, allocations: 31.91 kB / 371.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.2786, allocations: 31.84 kB / 371.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.2787, allocations: 39.95 kB / 371.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.2788, allocations: 7.984 kB / 371.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.2789, allocations: 19.92 kB / 371.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.2791, allocations: 23.86 kB / 371.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2791, allocations: 0 / 371.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.2792, allocations: 31.97 kB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.2793, allocations: 12 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.2793, allocations: 29.64 kB / 371.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.2795, allocations: 67.84 kB / 371.5 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.473e-06/0.2795, allocations: 0 / 371.5 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.27e-06/0.2795, allocations: 0 / 371.5 MB, free: 8.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.677e-06/0.2795, allocations: 0 / 371.5 MB, free: 8.324 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005086/0.28, allocations: 389.6 kB / 371.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2801, allocations: 8.031 kB / 371.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.2802, allocations: 11.95 kB / 371.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.2804, allocations: 179 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2804, allocations: 4 kB / 372.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.2805, allocations: 4 kB / 372.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.2807, allocations: 67.34 kB / 372.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2807, allocations: 0 / 372.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2807, allocations: 0 / 372.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.626e-06/0.2807, allocations: 4 kB / 372.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.2809, allocations: 35.92 kB / 372.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.2813, allocations: 277 kB / 372.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.2816, allocations: 62.36 kB / 372.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.2816, allocations: 0 / 372.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.2817, allocations: 38.56 kB / 372.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.95e-06/0.2817, allocations: 0 / 372.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000711/0.2824, allocations: 161.5 kB / 372.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.2825, allocations: 85.11 kB / 372.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.2827, allocations: 121.8 kB / 373 MB, free: 6.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.2827, allocations: 25.7 kB / 373 MB, free: 6.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.2828, allocations: 158.5 kB / 373.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.2829, allocations: 19.73 kB / 373.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-06/0.2829, allocations: 8 kB / 373.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2831, allocations: 310.8 kB / 373.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2832, allocations: 27.98 kB / 373.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.2833, allocations: 45.69 kB / 373.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2835, allocations: 61.73 kB / 373.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-06/0.2835, allocations: 0 / 373.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003179/0.2838, allocations: 127.4 kB / 373.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.2839, allocations: 29.7 kB / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.105e-06/0.2839, allocations: 4 kB / 373.8 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.2839, allocations: 7.938 kB / 373.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.284, allocations: 12 kB / 373.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2841, allocations: 3.984 kB / 373.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.2841, allocations: 8 kB / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2841, allocations: 0 / 373.8 MB, free: 5.82 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 (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 0.0001115/0.2843, allocations: 113.8 kB / 373.9 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.2843, allocations: 11.91 kB / 373.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.2847, allocations: 109.5 kB / 374 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.621e-06/0.2847, allocations: 7.953 kB / 374 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-06/0.2847, allocations: 0 / 374 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-06/0.2847, allocations: 0 / 374 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.2853, allocations: 354.9 kB / 374.4 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-06/0.2854, allocations: 3.938 kB / 374.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.2854, allocations: 15.94 kB / 374.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2855, allocations: 3.953 kB / 374.4 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2855, allocations: 11.98 kB / 374.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.392e-06/0.2855, allocations: 0 / 374.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-06/0.2855, allocations: 4 kB / 374.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.2858, allocations: 179.4 kB / 374.6 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.2859, allocations: 85.09 kB / 374.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.286, allocations: 7.953 kB / 374.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2861, allocations: 8 kB / 374.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.2861, allocations: 7.984 kB / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-06/0.2861, allocations: 3.938 kB / 374.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.867e-05/0.2863, allocations: 99.27 kB / 374.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.2863, allocations: 0 / 374.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003643/0.2866, allocations: 20 kB / 374.8 MB, free: 4.688 MB / 298.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 (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.001266/0.2879, allocations: 400.1 kB / 375.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.2883, allocations: 119.4 kB / 375.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.997e-06/0.2883, allocations: 0 / 375.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.2884, allocations: 28.11 kB / 375.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2887, allocations: 15.92 kB / 375.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.2892, allocations: 206.5 kB / 375.6 MB, free: 3.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2896, allocations: 0.6887 MB / 376.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.2896, allocations: 15.42 kB / 376.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of SimCode: time 1.505e-06/0.2896, allocations: 0 / 376.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of Templates: time 0.003917/0.2936, allocations: 1.478 MB / 377.8 MB, free: 1.762 MB / 298.7 MB