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.CombiTable2D.Test3.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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.235/2.235, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004351, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2774, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002102/0.2796, allocations: 1.238 MB / 370.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006033/0.2802, allocations: 269.2 kB / 370.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.2803, allocations: 0 / 370.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.2809, allocations: 443.1 kB / 371.1 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.2813, allocations: 231.6 kB / 371.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.2814, allocations: 23.97 kB / 371.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.2817, allocations: 127.7 kB / 371.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.2818, allocations: 11.98 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.2819, allocations: 103.8 kB / 371.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.2822, allocations: 147.7 kB / 371.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.2822, allocations: 0 / 371.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.2823, allocations: 15.98 kB / 371.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2824, allocations: 79.75 kB / 371.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.2825, allocations: 65.52 kB / 371.9 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.2828, allocations: 171.8 kB / 372.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.997e-06/0.2828, allocations: 0 / 372.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.314e-05/0.2828, allocations: 0 / 372.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.777e-06/0.2828, allocations: 3.938 kB / 372.1 MB, free: 7.793 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008573/0.2837, allocations: 0.6168 MB / 372.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2837, allocations: 8.031 kB / 372.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.2838, allocations: 43.39 kB / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.2842, allocations: 267.5 kB / 373 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2842, allocations: 0 / 373 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.2843, allocations: 4 kB / 373 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.2845, allocations: 65.61 kB / 373.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2845, allocations: 0 / 373.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2845, allocations: 0 / 373.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-06/0.2845, allocations: 0 / 373.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.2847, allocations: 55.86 kB / 373.1 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.2853, allocations: 380.7 kB / 373.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.2855, allocations: 50.55 kB / 373.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.2855, allocations: 4 kB / 373.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2856, allocations: 34.5 kB / 373.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.319e-06/0.2856, allocations: 0 / 373.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001046/0.2866, allocations: 328.1 kB / 373.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.2867, allocations: 55.34 kB / 374 MB, free: 5.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.2878, allocations: 0.8417 MB / 374.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.2879, allocations: 29.7 kB / 374.8 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.2881, allocations: 238.4 kB / 375.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.2882, allocations: 23.7 kB / 375.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-06/0.2882, allocations: 4 kB / 375.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2884, allocations: 314.8 kB / 375.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.2885, allocations: 39.97 kB / 375.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2887, allocations: 47.97 kB / 375.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.2889, allocations: 69.67 kB / 375.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-06/0.2889, allocations: 0 / 375.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004287/0.2894, allocations: 155.3 kB / 375.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.2894, allocations: 33.7 kB / 375.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.458e-06/0.2894, allocations: 0 / 375.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2895, allocations: 0 / 375.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2896, allocations: 31.92 kB / 375.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.4e-06/0.2896, allocations: 0 / 375.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2898, allocations: 11.98 kB / 375.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.2898, allocations: 4 kB / 375.8 MB, free: 3.84 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 (8): * Single equations (assignments): 7 * 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.0002566/0.2901, allocations: 205.8 kB / 376 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.2902, allocations: 47.39 kB / 376 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.2907, allocations: 193.2 kB / 376.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-06/0.2908, allocations: 4 kB / 376.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.577e-06/0.2908, allocations: 7.938 kB / 376.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.254e-06/0.2908, allocations: 0 / 376.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000915/0.2917, allocations: 0.4984 MB / 376.7 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-06/0.2917, allocations: 0 / 376.7 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2919, allocations: 23.98 kB / 376.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.646e-06/0.2919, allocations: 0 / 376.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2919, allocations: 0 / 376.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.4e-06/0.2919, allocations: 4 kB / 376.8 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.972e-06/0.2919, allocations: 3.938 kB / 376.8 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.2924, allocations: 259.7 kB / 377 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.2925, allocations: 120.6 kB / 377.1 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.2926, allocations: 0 / 377.1 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.2927, allocations: 15.98 kB / 377.2 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.2928, allocations: 7.984 kB / 377.2 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2928, allocations: 4 kB / 377.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008436/0.2937, allocations: 0.6394 MB / 377.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.2937, allocations: 0 / 377.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.2941, allocations: 24 kB / 377.8 MB, free: 1.691 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 (7): * Single equations (assignments): 7 * 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.0009529/0.295, allocations: 291.2 kB / 378.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.2955, allocations: 163.2 kB / 378.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.451e-06/0.2955, allocations: 4 kB / 378.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2957, allocations: 47.97 kB / 378.3 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.296, allocations: 13.97 kB / 378.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.2976, allocations: 0.8623 MB / 379.2 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.2983, allocations: 0.8301 MB / 380 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.2984, allocations: 15.42 kB / 380 MB, free: 15.47 MB / 314.7 MB Notification: Performance of SimCode: time 1.551e-06/0.2984, allocations: 0 / 380 MB, free: 15.47 MB / 314.7 MB Notification: Performance of Templates: time 0.00931/0.3077, allocations: 3.453 MB / 383.5 MB, free: 12.01 MB / 314.7 MB