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.CombiTable1Ds.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.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.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004653, allocations: 15.98 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2867, allocations: 48.7 MB / 331.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002885/0.2896, allocations: 1.203 MB / 332.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.2907, allocations: 251.3 kB / 332.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.2908, allocations: 0 / 332.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.291, allocations: 11.95 kB / 332.7 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.2912, allocations: 25.08 kB / 332.7 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.2914, allocations: 31.55 kB / 332.7 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2916, allocations: 34.59 kB / 332.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2917, allocations: 10.73 kB / 332.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.2918, allocations: 18.06 kB / 332.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.2919, allocations: 19.33 kB / 332.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.292, allocations: 1.812 kB / 332.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.2921, allocations: 20.91 kB / 332.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.2921, allocations: 4.375 kB / 332.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.2922, allocations: 36.84 kB / 332.8 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.2924, allocations: 40.47 kB / 332.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2924, allocations: 0 / 332.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.28e-06/0.2924, allocations: 0 / 332.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.96e-06/0.2924, allocations: 4 kB / 332.9 MB, free: 5.586 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.0004744/0.2929, allocations: 379.3 kB / 333.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.293, allocations: 9.5 kB / 333.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.293, allocations: 6.625 kB / 333.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.2932, allocations: 178.6 kB / 333.5 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2933, allocations: 1.062 kB / 333.5 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.2933, allocations: 6.781 kB / 333.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.2935, allocations: 55.61 kB / 333.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2936, allocations: 0 / 333.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.2936, allocations: 0.5625 kB / 333.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-06/0.2936, allocations: 8.719 kB / 333.5 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.2939, allocations: 25.42 kB / 333.5 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.2944, allocations: 276 kB / 333.8 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.2947, allocations: 49.78 kB / 333.9 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.2948, allocations: 6.078 kB / 333.9 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2948, allocations: 30.56 kB / 333.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.981e-06/0.2948, allocations: 1.375 kB / 333.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009562/0.2958, allocations: 154.7 kB / 334.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.2959, allocations: 53.2 kB / 334.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2961, allocations: 137.4 kB / 334.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2961, allocations: 30.8 kB / 334.3 MB, free: 4.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.2962, allocations: 164.2 kB / 334.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.2962, allocations: 20.34 kB / 334.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-06/0.2963, allocations: 0 / 334.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.2963, allocations: 317.5 kB / 334.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2965, allocations: 23.08 kB / 334.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2967, allocations: 28.11 kB / 334.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2968, allocations: 49.64 kB / 334.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-06/0.2968, allocations: 0 / 334.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002682/0.2971, allocations: 117.3 kB / 335 MB, free: 3.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.2972, allocations: 31.84 kB / 335 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2972, allocations: 1.188 kB / 335 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2972, allocations: 4.969 kB / 335 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.2973, allocations: 17.28 kB / 335 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2973, allocations: 1.75 kB / 335 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.2974, allocations: 11.16 kB / 335 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2974, allocations: 6.609 kB / 335 MB, free: 3.613 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.179e-05/0.2975, allocations: 118.3 kB / 335.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.2975, allocations: 7.375 kB / 335.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.2978, allocations: 97.39 kB / 335.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.005e-06/0.2979, allocations: 3.938 kB / 335.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.454e-06/0.2979, allocations: 5.719 kB / 335.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.926e-06/0.2979, allocations: 4 kB / 335.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.2984, allocations: 344.1 kB / 335.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-06/0.2984, allocations: 0 / 335.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/0.2985, allocations: 17.97 kB / 335.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2985, allocations: 5.281 kB / 335.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.529e-06/0.2985, allocations: 0.6562 kB / 335.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2985, allocations: 1.375 kB / 335.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-06/0.2985, allocations: 0 / 335.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.2988, allocations: 188.3 kB / 335.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.2988, allocations: 84.61 kB / 335.9 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2989, allocations: 5.438 kB / 335.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.299, allocations: 6.016 kB / 335.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.299, allocations: 4.312 kB / 335.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-06/0.2991, allocations: 5.469 kB / 335.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.2991, allocations: 105.9 kB / 336 MB, free: 2.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.2991, allocations: 0 / 336 MB, free: 2.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003273/0.2995, allocations: 18.16 kB / 336 MB, free: 2.75 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.0006842/0.3002, allocations: 253.7 kB / 336.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.3005, allocations: 118.5 kB / 336.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.104e-06/0.3005, allocations: 0 / 336.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3006, allocations: 28.03 kB / 336.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.3009, allocations: 6 kB / 336.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.3013, allocations: 205.1 kB / 336.6 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.3014, allocations: 0.691 MB / 337.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.3015, allocations: 13.02 kB / 337.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of SimCode: time 1.432e-06/0.3015, allocations: 0 / 337.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of Templates: time 0.003199/0.3047, allocations: 1.147 MB / 338.5 MB, free: 1.355 MB / 266.7 MB