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.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.139/2.139, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004498, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2765, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002115/0.2786, allocations: 1.243 MB / 370.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2801, allocations: 0.8375 MB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.2801, allocations: 0 / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.2803, allocations: 15.86 kB / 371.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.2805, allocations: 27.97 kB / 371.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.2806, allocations: 31.84 kB / 371.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.2808, allocations: 47.89 kB / 371.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2809, allocations: 23.97 kB / 371.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.281, allocations: 15.94 kB / 371.4 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2811, allocations: 23.91 kB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2811, allocations: 4 kB / 371.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.2812, allocations: 31.97 kB / 371.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.2813, allocations: 7.938 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.2813, allocations: 33.64 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.2815, allocations: 67.89 kB / 371.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.838e-06/0.2815, allocations: 0 / 371.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.058e-06/0.2816, allocations: 0 / 371.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.286e-06/0.2816, allocations: 0 / 371.6 MB, free: 8.289 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005413/0.2821, allocations: 405.5 kB / 372 MB, free: 7.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2822, allocations: 8.031 kB / 372 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.2822, allocations: 11.86 kB / 372 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2825, allocations: 187 kB / 372.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2825, allocations: 0 / 372.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.2825, allocations: 15.88 kB / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2827, allocations: 75.39 kB / 372.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2828, allocations: 0 / 372.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2828, allocations: 0 / 372.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-06/0.2828, allocations: 0 / 372.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.283, allocations: 47.86 kB / 372.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.2834, allocations: 288.8 kB / 372.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.2836, allocations: 58.55 kB / 372.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.2837, allocations: 3.938 kB / 372.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2837, allocations: 30.56 kB / 372.7 MB, free: 7.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 3.998e-06/0.2837, allocations: 7.984 kB / 372.7 MB, free: 7 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008162/0.2846, allocations: 205.5 kB / 372.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.2846, allocations: 77.11 kB / 373 MB, free: 6.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.2848, allocations: 133.8 kB / 373.1 MB, free: 6.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2849, allocations: 29.7 kB / 373.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.285, allocations: 162.7 kB / 373.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.285, allocations: 23.64 kB / 373.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.285, allocations: 4 kB / 373.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2852, allocations: 314.8 kB / 373.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.2853, allocations: 31.97 kB / 373.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2855, allocations: 45.7 kB / 373.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.2856, allocations: 69.62 kB / 373.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-06/0.2857, allocations: 0 / 373.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003506/0.286, allocations: 147.3 kB / 373.9 MB, free: 5.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.2861, allocations: 33.94 kB / 373.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.635e-06/0.2861, allocations: 0 / 373.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2861, allocations: 0 / 373.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.2862, allocations: 27.86 kB / 374 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.2863, allocations: 0 / 374 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.2863, allocations: 11.94 kB / 374 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2864, allocations: 3.984 kB / 374 MB, free: 5.625 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 (9): * Single equations (assignments): 8 * 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.0001174/0.2865, allocations: 121.8 kB / 374.1 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.2866, allocations: 7.906 kB / 374.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.2869, allocations: 126 kB / 374.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-06/0.287, allocations: 3.938 kB / 374.2 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-06/0.287, allocations: 4 kB / 374.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.287, allocations: 0 / 374.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006655/0.2877, allocations: 386.5 kB / 374.6 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-06/0.2877, allocations: 0 / 374.6 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.757e-05/0.2878, allocations: 27.92 kB / 374.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.359e-06/0.2878, allocations: 0 / 374.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2878, allocations: 8 kB / 374.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-06/0.2879, allocations: 0 / 374.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-06/0.2879, allocations: 0 / 374.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.2882, allocations: 207.4 kB / 374.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.2883, allocations: 88.95 kB / 375 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.2884, allocations: 8 kB / 375 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2885, allocations: 4 kB / 375 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.2885, allocations: 7.984 kB / 375 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-06/0.2886, allocations: 0 / 375 MB, free: 4.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.2887, allocations: 103.7 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.2887, allocations: 4 kB / 375.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.289, allocations: 20 kB / 375.1 MB, free: 4.41 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 (8): * Single equations (assignments): 8 * 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.001245/0.2903, allocations: 392.4 kB / 375.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.2907, allocations: 135.3 kB / 375.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.34e-06/0.2907, allocations: 0 / 375.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.2908, allocations: 47.91 kB / 375.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.2911, allocations: 12 kB / 375.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.2916, allocations: 219 kB / 375.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.292, allocations: 0.6926 MB / 376.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.2921, allocations: 15.44 kB / 376.6 MB, free: 2.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.578e-06/0.2921, allocations: 4 kB / 376.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of Templates: time 0.004062/0.2962, allocations: 1.623 MB / 378.2 MB, free: 1.301 MB / 298.7 MB