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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 1.84/1.84, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004316, allocations: 8 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2893, allocations: 48.71 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.001746/0.2911, allocations: 1.206 MB / 332.4 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005128/0.2917, allocations: 245.3 kB / 332.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.2917, allocations: 0 / 332.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.292, allocations: 68 kB / 332.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.2922, allocations: 56.61 kB / 332.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.2923, allocations: 23.59 kB / 332.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.2925, allocations: 53.39 kB / 332.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.2926, allocations: 11.78 kB / 332.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.2926, allocations: 25.33 kB / 332.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.2928, allocations: 42.09 kB / 332.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2928, allocations: 1.312 kB / 332.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.2929, allocations: 16.41 kB / 332.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.2929, allocations: 18.28 kB / 332.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.293, allocations: 32.02 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.2931, allocations: 53.86 kB / 333 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.552e-06/0.2931, allocations: 0 / 333 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.908e-06/0.2931, allocations: 0 / 333 MB, free: 5.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.243e-06/0.2932, allocations: 5.188 kB / 333 MB, free: 5.57 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.0003883/0.2936, allocations: 401.4 kB / 333.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2936, allocations: 9.281 kB / 333.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.2937, allocations: 11.59 kB / 333.4 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.2938, allocations: 185.6 kB / 333.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2938, allocations: 2.078 kB / 333.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.2939, allocations: 2.719 kB / 333.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.294, allocations: 60.27 kB / 333.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2941, allocations: 3.938 kB / 333.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-06/0.2941, allocations: 0 / 333.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-06/0.2941, allocations: 1.469 kB / 333.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.2942, allocations: 30.62 kB / 333.7 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.2946, allocations: 298.2 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.2949, allocations: 44.44 kB / 334.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2949, allocations: 2.344 kB / 334.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.2949, allocations: 34.5 kB / 334.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.188e-06/0.2949, allocations: 0 / 334.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006872/0.2956, allocations: 169.8 kB / 334.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.2957, allocations: 56.59 kB / 334.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.2959, allocations: 204.7 kB / 334.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2959, allocations: 25.7 kB / 334.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.296, allocations: 169.7 kB / 334.7 MB, free: 4.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.296, allocations: 15.16 kB / 334.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-06/0.296, allocations: 0 / 334.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.2961, allocations: 317.2 kB / 335 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.2962, allocations: 25.47 kB / 335.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.595e-05/0.2963, allocations: 31.09 kB / 335.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.2965, allocations: 56.27 kB / 335.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-06/0.2965, allocations: 0 / 335.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002784/0.2968, allocations: 122.2 kB / 335.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.2968, allocations: 32.33 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.716e-06/0.2968, allocations: 0 / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2969, allocations: 0.875 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.297, allocations: 19.55 kB / 335.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.125e-06/0.297, allocations: 0 / 335.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.297, allocations: 11.69 kB / 335.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2971, allocations: 5.109 kB / 335.3 MB, free: 3.551 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 8.496e-05/0.2972, allocations: 127 kB / 335.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.2972, allocations: 8.625 kB / 335.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.2976, allocations: 109.4 kB / 335.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.378e-06/0.2976, allocations: 1.156 kB / 335.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2976, allocations: 4 kB / 335.6 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.504e-06/0.2976, allocations: 8.531 kB / 335.6 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.2981, allocations: 372.9 kB / 335.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-06/0.2982, allocations: 1.922 kB / 335.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.2982, allocations: 17 kB / 336 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.861e-06/0.2983, allocations: 5.984 kB / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.2983, allocations: 0 / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.786e-06/0.2983, allocations: 1.906 kB / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-06/0.2983, allocations: 0 / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.2986, allocations: 198.8 kB / 336.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.2986, allocations: 83.41 kB / 336.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.2987, allocations: 6.641 kB / 336.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.2988, allocations: 6.156 kB / 336.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2988, allocations: 3.828 kB / 336.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-06/0.2988, allocations: 2 kB / 336.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.299, allocations: 154.4 kB / 336.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.299, allocations: 0 / 336.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.2993, allocations: 14.72 kB / 336.4 MB, free: 2.656 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.0007034/0.3001, allocations: 252.1 kB / 336.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.3004, allocations: 123.2 kB / 336.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.038e-06/0.3004, allocations: 0 / 336.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3005, allocations: 30.59 kB / 336.8 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.3008, allocations: 8.641 kB / 336.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.3013, allocations: 266.2 kB / 337.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.3015, allocations: 0.7052 MB / 337.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.3015, allocations: 13.06 kB / 337.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of SimCode: time 1.505e-06/0.3016, allocations: 0 / 337.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of Templates: time 0.003412/0.305, allocations: 1.296 MB / 339.1 MB, free: 1.062 MB / 266.7 MB