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.CombiTable1D.Test2.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.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.2_cpp_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004348, allocations: 12 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2921, allocations: 54.87 MB / 369.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.00212/0.2943, allocations: 1.215 MB / 370.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006357/0.2949, allocations: 261.1 kB / 370.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.295, allocations: 0 / 370.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.2952, allocations: 15.92 kB / 370.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.2953, allocations: 23.91 kB / 370.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.2955, allocations: 31.91 kB / 370.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2956, allocations: 39.89 kB / 370.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.2957, allocations: 12 kB / 370.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.2958, allocations: 19.91 kB / 370.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.2959, allocations: 11.94 kB / 370.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2959, allocations: 0 / 370.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.296, allocations: 19.92 kB / 370.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.296, allocations: 8 kB / 370.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.2961, allocations: 33.64 kB / 370.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.2962, allocations: 47.92 kB / 370.9 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2962, allocations: 0 / 370.9 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.817e-06/0.2963, allocations: 4 kB / 370.9 MB, free: 11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2963, allocations: 0 / 370.9 MB, free: 11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004992/0.2968, allocations: 385.6 kB / 371.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2968, allocations: 8.031 kB / 371.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.2969, allocations: 11.86 kB / 371.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2971, allocations: 167.1 kB / 371.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2971, allocations: 12 kB / 371.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2972, allocations: 0 / 371.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.2974, allocations: 53.61 kB / 371.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2974, allocations: 0 / 371.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2974, allocations: 4 kB / 371.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2974, allocations: 0 / 371.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.2976, allocations: 35.88 kB / 371.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.298, allocations: 284.8 kB / 371.9 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.2983, allocations: 54.48 kB / 371.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2984, allocations: 0 / 371.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.2984, allocations: 38.56 kB / 371.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.2984, allocations: 0 / 371.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007165/0.2991, allocations: 165.4 kB / 372.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2992, allocations: 51.41 kB / 372.2 MB, free: 9.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2994, allocations: 134.1 kB / 372.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2994, allocations: 25.7 kB / 372.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.2995, allocations: 158.5 kB / 372.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.2996, allocations: 19.69 kB / 372.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-06/0.2996, allocations: 4 kB / 372.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2998, allocations: 310.8 kB / 372.8 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2999, allocations: 27.98 kB / 372.8 MB, free: 8.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3, allocations: 31.97 kB / 372.9 MB, free: 8.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.3002, allocations: 53.69 kB / 372.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3002, allocations: 0 / 372.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003124/0.3005, allocations: 131.2 kB / 373 MB, free: 8.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.3006, allocations: 33.7 kB / 373.1 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.176e-06/0.3006, allocations: 0 / 373.1 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3006, allocations: 3.953 kB / 373.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3008, allocations: 19.98 kB / 373.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.014e-06/0.3008, allocations: 0 / 373.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.3009, allocations: 8 kB / 373.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.3009, allocations: 4 kB / 373.1 MB, free: 8.57 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 (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 0.0001151/0.3011, allocations: 113.8 kB / 373.2 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.3011, allocations: 7.984 kB / 373.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.3015, allocations: 110 kB / 373.3 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-06/0.3015, allocations: 3.953 kB / 373.3 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.953e-06/0.3015, allocations: 8.062 kB / 373.3 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.884e-06/0.3015, allocations: 3.984 kB / 373.3 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.3021, allocations: 354.6 kB / 373.7 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.985e-06/0.3022, allocations: 0 / 373.7 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.3023, allocations: 19.88 kB / 373.7 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3023, allocations: 3.953 kB / 373.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3023, allocations: 4 kB / 373.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.585e-06/0.3023, allocations: 3.984 kB / 373.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.3023, allocations: 0 / 373.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.3027, allocations: 187.4 kB / 373.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.3028, allocations: 89.09 kB / 374 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3028, allocations: 3.953 kB / 374 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.3029, allocations: 4 kB / 374 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.303, allocations: 7.984 kB / 374 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-06/0.303, allocations: 0 / 374 MB, free: 7.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3031, allocations: 107.8 kB / 374.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.3031, allocations: 0 / 374.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.3035, allocations: 12 kB / 374.1 MB, free: 7.441 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 (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.0009694/0.3044, allocations: 302.4 kB / 374.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.3048, allocations: 115.4 kB / 374.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3048, allocations: 8 kB / 374.5 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3049, allocations: 31.97 kB / 374.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3052, allocations: 4 kB / 374.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.3057, allocations: 218.4 kB / 374.8 MB, free: 6.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3061, allocations: 0.6926 MB / 375.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3062, allocations: 11.44 kB / 375.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of SimCode: time 2.15e-06/0.3062, allocations: 0 / 375.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of Templates: time 0.003373/0.3096, allocations: 1.183 MB / 376.7 MB, free: 4.891 MB / 298.7 MB