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.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004409, allocations: 16 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002104/0.2776, allocations: 1.227 MB / 370.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005901/0.2782, allocations: 253.2 kB / 370.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.2783, allocations: 0 / 370.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2785, allocations: 11.98 kB / 370.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.2786, allocations: 23.86 kB / 370.7 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.2788, allocations: 35.89 kB / 370.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2789, allocations: 35.97 kB / 370.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.279, allocations: 11.98 kB / 370.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.2791, allocations: 11.94 kB / 370.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.2792, allocations: 19.91 kB / 370.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2792, allocations: 0 / 370.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.2793, allocations: 23.86 kB / 370.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.2793, allocations: 8 kB / 370.8 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2794, allocations: 25.7 kB / 370.9 MB, free: 9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2795, allocations: 51.92 kB / 370.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.703e-06/0.2795, allocations: 0 / 370.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.847e-06/0.2795, allocations: 3.938 kB / 370.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.842e-06/0.2795, allocations: 0 / 370.9 MB, free: 8.945 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.0005117/0.2801, allocations: 389.6 kB / 371.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2801, allocations: 8.031 kB / 371.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.2802, allocations: 11.86 kB / 371.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2804, allocations: 167.1 kB / 371.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2804, allocations: 8 kB / 371.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.2805, allocations: 4 kB / 371.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2806, allocations: 45.69 kB / 371.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2807, allocations: 0 / 371.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-06/0.2807, allocations: 0 / 371.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.748e-06/0.2807, allocations: 3.938 kB / 371.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2808, allocations: 43.8 kB / 371.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.2813, allocations: 272.8 kB / 371.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.2815, allocations: 42.56 kB / 371.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2816, allocations: 0 / 371.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.2816, allocations: 42.58 kB / 371.9 MB, free: 7.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.828e-06/0.2816, allocations: 4 kB / 371.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006824/0.2823, allocations: 153.7 kB / 372.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.2824, allocations: 59.34 kB / 372.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.2825, allocations: 134.1 kB / 372.3 MB, free: 7.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2826, allocations: 25.7 kB / 372.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2827, allocations: 162.5 kB / 372.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.2827, allocations: 11.75 kB / 372.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-06/0.2828, allocations: 4 kB / 372.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2829, allocations: 310.8 kB / 372.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.283, allocations: 27.98 kB / 372.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.868e-05/0.2831, allocations: 27.97 kB / 372.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.2833, allocations: 49.7 kB / 372.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2833, allocations: 0 / 372.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002975/0.2836, allocations: 127.3 kB / 373 MB, free: 6.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.2837, allocations: 29.7 kB / 373 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.449e-06/0.2837, allocations: 0 / 373 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2837, allocations: 3.953 kB / 373 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.2838, allocations: 19.92 kB / 373.1 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.957e-06/0.2838, allocations: 0 / 373.1 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.2839, allocations: 12 kB / 373.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2839, allocations: 0 / 373.1 MB, free: 6.555 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.0001157/0.284, allocations: 117.8 kB / 373.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.2841, allocations: 4 kB / 373.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.2844, allocations: 105.8 kB / 373.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.093e-06/0.2844, allocations: 4.016 kB / 373.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2845, allocations: 4 kB / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-06/0.2845, allocations: 0 / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.2851, allocations: 342.5 kB / 373.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.707e-06/0.2851, allocations: 0 / 373.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.2852, allocations: 19.94 kB / 373.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-06/0.2852, allocations: 7.953 kB / 373.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2852, allocations: 3.984 kB / 373.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.419e-06/0.2852, allocations: 0 / 373.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-06/0.2853, allocations: 0 / 373.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.2856, allocations: 187.4 kB / 373.8 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.2856, allocations: 77.11 kB / 373.9 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.2857, allocations: 11.89 kB / 373.9 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2858, allocations: 11.98 kB / 373.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.2858, allocations: 0 / 373.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.875e-06/0.2859, allocations: 4 kB / 374 MB, free: 5.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.286, allocations: 107.8 kB / 374.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.286, allocations: 4 kB / 374.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.2863, allocations: 8 kB / 374.1 MB, free: 5.449 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.00097/0.2873, allocations: 297.9 kB / 374.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.2877, allocations: 111.3 kB / 374.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2877, allocations: 4 kB / 374.5 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2878, allocations: 27.98 kB / 374.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.2881, allocations: 11.94 kB / 374.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.2886, allocations: 202.4 kB / 374.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.289, allocations: 0.6926 MB / 375.4 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.289, allocations: 15.44 kB / 375.4 MB, free: 4.098 MB / 298.7 MB Notification: Performance of SimCode: time 1.439e-06/0.289, allocations: 0 / 375.4 MB, free: 4.098 MB / 298.7 MB Notification: Performance of Templates: time 0.003348/0.2924, allocations: 1.151 MB / 376.6 MB, free: 2.945 MB / 298.7 MB