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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004483, allocations: 16 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.002134/0.2813, allocations: 1.238 MB / 370.4 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006175/0.282, allocations: 261.2 kB / 370.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.2821, allocations: 0 / 370.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.2823, allocations: 47.81 kB / 370.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2824, allocations: 31.89 kB / 370.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.2826, allocations: 31.97 kB / 370.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2827, allocations: 47.81 kB / 370.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.2828, allocations: 12 kB / 370.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.2829, allocations: 19.92 kB / 370.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.283, allocations: 27.89 kB / 370.9 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2831, allocations: 4 kB / 370.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.2831, allocations: 15.94 kB / 370.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.2832, allocations: 11.98 kB / 370.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.2832, allocations: 33.64 kB / 371 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2834, allocations: 55.92 kB / 371 MB, free: 8.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.893e-06/0.2834, allocations: 0 / 371 MB, free: 8.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.151e-06/0.2834, allocations: 0 / 371 MB, free: 8.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.973e-06/0.2834, allocations: 0 / 371 MB, free: 8.855 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.0005564/0.284, allocations: 401.5 kB / 371.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2841, allocations: 8.031 kB / 371.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.2841, allocations: 7.953 kB / 371.4 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2844, allocations: 190.3 kB / 371.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2844, allocations: 3.984 kB / 371.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.2844, allocations: 4 kB / 371.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.2846, allocations: 69.55 kB / 371.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2847, allocations: 0 / 371.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.2847, allocations: 3.984 kB / 371.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2847, allocations: 3.984 kB / 371.7 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.2849, allocations: 59.91 kB / 371.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.2854, allocations: 280.8 kB / 372 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2856, allocations: 54.5 kB / 372.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2856, allocations: 0 / 372.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.2856, allocations: 34.64 kB / 372.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.912e-06/0.2857, allocations: 0 / 372.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009709/0.2866, allocations: 241.2 kB / 372.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.2867, allocations: 51.41 kB / 372.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2869, allocations: 158 kB / 372.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2869, allocations: 29.64 kB / 372.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2871, allocations: 158.5 kB / 372.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.2871, allocations: 27.77 kB / 372.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-06/0.2871, allocations: 0 / 372.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2873, allocations: 322.8 kB / 373.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2875, allocations: 35.97 kB / 373.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.2877, allocations: 47.97 kB / 373.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.2879, allocations: 65.69 kB / 373.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-06/0.2879, allocations: 0 / 373.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004277/0.2883, allocations: 167.1 kB / 373.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.2884, allocations: 33.69 kB / 373.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.319e-06/0.2884, allocations: 0 / 373.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2884, allocations: 0 / 373.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2886, allocations: 27.98 kB / 373.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.614e-06/0.2886, allocations: 0 / 373.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.2887, allocations: 15.98 kB / 373.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2887, allocations: 4 kB / 373.5 MB, free: 6.168 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.0001293/0.2889, allocations: 117.8 kB / 373.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.2889, allocations: 11.86 kB / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.2894, allocations: 142.3 kB / 373.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.965e-06/0.2894, allocations: 0 / 373.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-06/0.2894, allocations: 3.938 kB / 373.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2894, allocations: 7.984 kB / 373.7 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.2902, allocations: 398.5 kB / 374.1 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-06/0.2902, allocations: 3.938 kB / 374.1 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2903, allocations: 23.98 kB / 374.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.661e-06/0.2903, allocations: 0 / 374.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2904, allocations: 4 kB / 374.2 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-06/0.2904, allocations: 4.469 kB / 374.2 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.31e-06/0.2904, allocations: 0 / 374.2 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.2908, allocations: 231.4 kB / 374.4 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.2909, allocations: 88.97 kB / 374.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.291, allocations: 4 kB / 374.5 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2911, allocations: 11.98 kB / 374.5 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.2912, allocations: 11.98 kB / 374.5 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.655e-06/0.2912, allocations: 0 / 374.5 MB, free: 5.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.2913, allocations: 122 kB / 374.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.2913, allocations: 0 / 374.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000344/0.2917, allocations: 23.98 kB / 374.7 MB, free: 4.875 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.0009809/0.2927, allocations: 301.8 kB / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.2932, allocations: 147.3 kB / 375.1 MB, free: 4.492 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.679e-06/0.2932, allocations: 4 kB / 375.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.2934, allocations: 51.91 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.2937, allocations: 9.078 kB / 375.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.2942, allocations: 234.8 kB / 375.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.2946, allocations: 0.6965 MB / 376.1 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.2947, allocations: 19.44 kB / 376.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of SimCode: time 1.863e-06/0.2947, allocations: 0 / 376.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of Templates: time 0.003732/0.2985, allocations: 1.312 MB / 377.4 MB, free: 2.113 MB / 298.7 MB