Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004334, allocations: 11.98 kB / 282.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 48.71 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.001793/0.2831, allocations: 1.198 MB / 332.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.2836, allocations: 253.2 kB / 332.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.2837, allocations: 1.312 kB / 332.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.2839, allocations: 16.83 kB / 332.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.284, allocations: 21.05 kB / 332.7 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.2841, allocations: 32.3 kB / 332.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2843, allocations: 36.27 kB / 332.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.2844, allocations: 11.3 kB / 332.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.949e-05/0.2844, allocations: 21.62 kB / 332.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.2845, allocations: 15.25 kB / 332.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.2845, allocations: 1.219 kB / 332.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.2846, allocations: 16.81 kB / 332.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.2846, allocations: 13.34 kB / 332.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.2847, allocations: 28.11 kB / 332.8 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.2848, allocations: 46.06 kB / 332.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.423e-06/0.2848, allocations: 0 / 332.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.742e-06/0.2848, allocations: 1.125 kB / 332.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.355e-06/0.2848, allocations: 7.938 kB / 332.9 MB, free: 5.578 MB / 266.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.0003603/0.2852, allocations: 378.3 kB / 333.3 MB, free: 5.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2853, allocations: 8.812 kB / 333.3 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.2853, allocations: 7.125 kB / 333.3 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2855, allocations: 174.5 kB / 333.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.2855, allocations: 5.188 kB / 333.5 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.2855, allocations: 6.312 kB / 333.5 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.2857, allocations: 52.16 kB / 333.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2857, allocations: 0 / 333.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-06/0.2857, allocations: 0 / 333.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-06/0.2857, allocations: 1.281 kB / 333.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.2859, allocations: 31.55 kB / 333.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.2862, allocations: 292.5 kB / 333.8 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.2865, allocations: 48.66 kB / 333.9 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2865, allocations: 0.75 kB / 333.9 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.2865, allocations: 32.28 kB / 333.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.273e-06/0.2865, allocations: 7.875 kB / 333.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006833/0.2872, allocations: 159.1 kB / 334.1 MB, free: 4.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.2873, allocations: 52.47 kB / 334.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2874, allocations: 149.8 kB / 334.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2874, allocations: 30.64 kB / 334.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.2875, allocations: 155.7 kB / 334.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2875, allocations: 20.16 kB / 334.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-06/0.2875, allocations: 1.25 kB / 334.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.2876, allocations: 315.8 kB / 334.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2877, allocations: 25.23 kB / 334.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/0.2878, allocations: 30.42 kB / 334.8 MB, free: 3.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.2879, allocations: 60.89 kB / 334.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-06/0.288, allocations: 0 / 334.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002748/0.2882, allocations: 121.5 kB / 335 MB, free: 3.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.2883, allocations: 33.08 kB / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.387e-06/0.2883, allocations: 0 / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2883, allocations: 1.859 kB / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.2884, allocations: 18.19 kB / 335.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.68e-06/0.2885, allocations: 1.094 kB / 335.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.836e-05/0.2885, allocations: 11.27 kB / 335.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2885, allocations: 5.016 kB / 335.1 MB, free: 3.602 MB / 266.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 7.287e-05/0.2886, allocations: 120.6 kB / 335.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.2887, allocations: 7.609 kB / 335.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.289, allocations: 101 kB / 335.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-06/0.289, allocations: 5.531 kB / 335.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.206e-06/0.289, allocations: 0.7031 kB / 335.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2891, allocations: 5.312 kB / 335.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.2895, allocations: 358.6 kB / 335.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-06/0.2896, allocations: 0 / 335.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.2897, allocations: 13.56 kB / 335.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.354e-06/0.2897, allocations: 5.094 kB / 335.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2897, allocations: 5.031 kB / 335.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2897, allocations: 0.5625 kB / 335.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.586e-06/0.2897, allocations: 5.453 kB / 335.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.29, allocations: 197.6 kB / 335.9 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.29, allocations: 80.19 kB / 336 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.2901, allocations: 8 kB / 336 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.2902, allocations: 7.531 kB / 336 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.2902, allocations: 3.531 kB / 336 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-06/0.2903, allocations: 2.094 kB / 336 MB, free: 2.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.48e-05/0.2903, allocations: 108.6 kB / 336.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.2904, allocations: 0 / 336.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.2907, allocations: 19.89 kB / 336.1 MB, free: 2.727 MB / 266.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.0006676/0.2914, allocations: 243.7 kB / 336.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.2917, allocations: 124 kB / 336.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2917, allocations: 0 / 336.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2918, allocations: 34.2 kB / 336.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.2921, allocations: 4.406 kB / 336.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.2925, allocations: 212.4 kB / 336.7 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2927, allocations: 0.6954 MB / 337.4 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.2927, allocations: 12.69 kB / 337.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of SimCode: time 1.319e-06/0.2927, allocations: 0 / 337.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of Templates: time 0.003244/0.296, allocations: 1.179 MB / 338.6 MB, free: 1.305 MB / 266.7 MB