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.CombiTable2D.Test8.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.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadModel(ModelicaTest): time 1.845/1.845, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 8 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 48.71 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.001778/0.2899, allocations: 1.19 MB / 332.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005206/0.2904, allocations: 246.2 kB / 332.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.2905, allocations: 1.156 kB / 332.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.2912, allocations: 433.2 kB / 333 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.2916, allocations: 234.4 kB / 333.3 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.2918, allocations: 29.5 kB / 333.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.292, allocations: 100.9 kB / 333.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.2921, allocations: 7.609 kB / 333.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.2922, allocations: 106.5 kB / 333.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.2925, allocations: 141.2 kB / 333.6 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2925, allocations: 1.281 kB / 333.6 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.2926, allocations: 14.62 kB / 333.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.2927, allocations: 74.45 kB / 333.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.2927, allocations: 62.23 kB / 333.8 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.293, allocations: 158.9 kB / 333.9 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.348e-06/0.293, allocations: 1.5 kB / 334 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.02e-06/0.293, allocations: 4 kB / 334 MB, free: 5.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.293, allocations: 0 / 334 MB, free: 5.508 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.0005895/0.2936, allocations: 0.5907 MB / 334.5 MB, free: 4.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2937, allocations: 8.406 kB / 334.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.2937, allocations: 41.62 kB / 334.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.294, allocations: 263.1 kB / 334.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.294, allocations: 9.203 kB / 334.9 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2941, allocations: 3.203 kB / 334.9 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.2942, allocations: 50.19 kB / 334.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.184e-06/0.2942, allocations: 0 / 334.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-06/0.2942, allocations: 0 / 334.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-06/0.2943, allocations: 1.469 kB / 334.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2944, allocations: 24.31 kB / 334.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.2948, allocations: 376.6 kB / 335.3 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.295, allocations: 31.64 kB / 335.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2951, allocations: 0.8438 kB / 335.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2951, allocations: 31.72 kB / 335.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 3.321e-06/0.2951, allocations: 3.938 kB / 335.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.000361/0.2955, allocations: 112.7 kB / 335.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.2956, allocations: 52.69 kB / 335.5 MB, free: 4.117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2966, allocations: 0.8483 MB / 336.4 MB, free: 3.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2966, allocations: 25.7 kB / 336.4 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.2967, allocations: 237.6 kB / 336.6 MB, free: 3.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.2968, allocations: 5.062 kB / 336.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.996e-06/0.2968, allocations: 3.938 kB / 336.6 MB, free: 3.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.2968, allocations: 324 kB / 337 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.2969, allocations: 12.17 kB / 337 MB, free: 3.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.152e-05/0.297, allocations: 11.62 kB / 337 MB, free: 3.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.943e-05/0.2971, allocations: 38.41 kB / 337 MB, free: 3.109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-06/0.2971, allocations: 0 / 337 MB, free: 3.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001772/0.2973, allocations: 92.2 kB / 337.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2973, allocations: 32.39 kB / 337.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2973, allocations: 5.141 kB / 337.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2974, allocations: 0 / 337.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.2974, allocations: 5.438 kB / 337.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.388e-06/0.2975, allocations: 0 / 337.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.2975, allocations: 3.75 kB / 337.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2976, allocations: 1.156 kB / 337.2 MB, free: 2.992 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 (3): * Single equations (assignments): 2 * 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.0001999/0.2978, allocations: 216.5 kB / 337.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.2979, allocations: 40.3 kB / 337.4 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.2981, allocations: 110 kB / 337.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.627e-06/0.2981, allocations: 1.719 kB / 337.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.955e-06/0.2981, allocations: 3.938 kB / 337.5 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.769e-06/0.2982, allocations: 0 / 337.5 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.2985, allocations: 277.6 kB / 337.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-06/0.2985, allocations: 8.031 kB / 337.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.2985, allocations: 9.297 kB / 337.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.133e-06/0.2986, allocations: 0 / 337.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-06/0.2986, allocations: 1.062 kB / 337.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.298e-06/0.2986, allocations: 0 / 337.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.291e-06/0.2986, allocations: 0 / 337.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.2988, allocations: 187.8 kB / 338 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.2989, allocations: 117.5 kB / 338.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.2989, allocations: 0 / 338.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.2992, allocations: 3.594 kB / 338.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.2992, allocations: 1.312 kB / 338.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-06/0.2993, allocations: 0 / 338.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007124/0.3, allocations: 0.642 MB / 338.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.823e-06/0.3, allocations: 0 / 338.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.3004, allocations: 22.72 kB / 338.8 MB, free: 1.863 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 (2): * Single equations (assignments): 2 * 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.000575/0.3009, allocations: 220.3 kB / 339 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3012, allocations: 83.81 kB / 339.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.773e-06/0.3012, allocations: 0 / 339.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.3013, allocations: 9.156 kB / 339.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3016, allocations: 22.62 kB / 339.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3028, allocations: 0.82 MB / 339.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.3033, allocations: 0.8223 MB / 340.8 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.3034, allocations: 13.88 kB / 340.8 MB, free: 364 kB / 266.7 MB Notification: Performance of SimCode: time 1.407e-06/0.3034, allocations: 0 / 340.8 MB, free: 364 kB / 266.7 MB Notification: Performance of Templates: time 0.008882/0.3123, allocations: 3.098 MB / 343.9 MB, free: 14.76 MB / 282.7 MB