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.Test10.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.Test10,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.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.23/2.23, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004369, allocations: 12 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002104/0.2806, allocations: 1.238 MB / 370.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.282, allocations: 0.853 MB / 371.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.2821, allocations: 0 / 371.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2823, allocations: 11.92 kB / 371.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.2825, allocations: 23.92 kB / 371.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.2826, allocations: 35.89 kB / 371.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2827, allocations: 39.89 kB / 371.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.2828, allocations: 11.98 kB / 371.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.2829, allocations: 19.92 kB / 371.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.2831, allocations: 23.91 kB / 371.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.2831, allocations: 4 kB / 371.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2832, allocations: 35.92 kB / 371.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.2832, allocations: 3.938 kB / 371.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.2833, allocations: 33.7 kB / 371.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2835, allocations: 59.91 kB / 371.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.839e-06/0.2835, allocations: 4 kB / 371.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.938e-06/0.2835, allocations: 0 / 371.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.965e-06/0.2835, allocations: 0 / 371.6 MB, free: 8.277 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.000535/0.2841, allocations: 401.5 kB / 372 MB, free: 7.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2841, allocations: 15.97 kB / 372 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.2841, allocations: 7.859 kB / 372 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.2844, allocations: 183 kB / 372.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2844, allocations: 7.938 kB / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.2845, allocations: 8 kB / 372.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.2847, allocations: 75.38 kB / 372.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2847, allocations: 0 / 372.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2847, allocations: 0 / 372.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.033e-06/0.2848, allocations: 4 kB / 372.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.285, allocations: 55.86 kB / 372.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.2854, allocations: 276.8 kB / 372.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.2856, allocations: 54.55 kB / 372.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2856, allocations: 0 / 372.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2857, allocations: 38.44 kB / 372.7 MB, free: 7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.758e-06/0.2857, allocations: 0 / 372.7 MB, free: 7 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009507/0.2866, allocations: 245.4 kB / 372.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.2867, allocations: 77.11 kB / 373 MB, free: 6.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2869, allocations: 121.8 kB / 373.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.2869, allocations: 25.7 kB / 373.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.287, allocations: 158.6 kB / 373.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.2871, allocations: 23.64 kB / 373.3 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.2871, allocations: 0 / 373.3 MB, free: 6.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2873, allocations: 318.8 kB / 373.6 MB, free: 6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.2874, allocations: 39.97 kB / 373.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.2876, allocations: 61.69 kB / 373.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.2878, allocations: 69.67 kB / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-06/0.2878, allocations: 0 / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000433/0.2883, allocations: 167.2 kB / 374 MB, free: 5.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.2883, allocations: 37.64 kB / 374 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2884, allocations: 0 / 374 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2884, allocations: 4 kB / 374 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2886, allocations: 27.97 kB / 374 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.753e-06/0.2886, allocations: 0 / 374 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.2887, allocations: 12 kB / 374 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.2887, allocations: 11.92 kB / 374.1 MB, free: 5.547 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.0001126/0.2888, allocations: 109.8 kB / 374.2 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.2889, allocations: 11.86 kB / 374.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.2893, allocations: 141.9 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-06/0.2893, allocations: 4 kB / 374.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.957e-06/0.2894, allocations: 4 kB / 374.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2894, allocations: 0 / 374.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.2901, allocations: 398.5 kB / 374.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2901, allocations: 0 / 374.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.2903, allocations: 31.92 kB / 374.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2903, allocations: 0 / 374.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-06/0.2903, allocations: 0 / 374.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.204e-06/0.2903, allocations: 4.469 kB / 374.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.836e-06/0.2903, allocations: 0 / 374.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.2908, allocations: 227.4 kB / 375 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.2909, allocations: 89.05 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.2909, allocations: 4 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.291, allocations: 12 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.2911, allocations: 3.984 kB / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.2911, allocations: 4 kB / 375.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.2912, allocations: 91.27 kB / 375.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.2912, allocations: 3.938 kB / 375.2 MB, free: 4.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.2916, allocations: 35.98 kB / 375.2 MB, free: 4.285 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.001246/0.2929, allocations: 385 kB / 375.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.2933, allocations: 155.3 kB / 375.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.36e-06/0.2934, allocations: 0 / 375.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2935, allocations: 56.05 kB / 375.8 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2938, allocations: 8 kB / 375.8 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.2943, allocations: 210.2 kB / 376 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.2947, allocations: 0.6909 MB / 376.7 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.2948, allocations: 19.42 kB / 376.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of SimCode: time 1.324e-06/0.2948, allocations: 0 / 376.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of Templates: time 0.004041/0.2988, allocations: 1.564 MB / 378.3 MB, free: 1.23 MB / 298.7 MB