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.CombiTimeTable.Test12.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.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.905/1.905, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004443, allocations: 20 kB / 282.5 MB, free: 9.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2848, allocations: 48.71 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002046/0.2869, allocations: 1.449 MB / 332.7 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.2878, allocations: 443.3 kB / 333.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.2879, allocations: 3.75 kB / 333.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.2881, allocations: 25.25 kB / 333.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.2883, allocations: 37.09 kB / 333.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2886, allocations: 68.5 kB / 333.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.2888, allocations: 80.06 kB / 333.3 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2889, allocations: 22.08 kB / 333.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.289, allocations: 35.8 kB / 333.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.2891, allocations: 29.75 kB / 333.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2891, allocations: 2.906 kB / 333.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2893, allocations: 35.02 kB / 333.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.2893, allocations: 16.81 kB / 333.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.2894, allocations: 43.27 kB / 333.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2896, allocations: 96.52 kB / 333.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.851e-06/0.2896, allocations: 1.219 kB / 333.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.77e-06/0.2896, allocations: 0 / 333.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.145e-06/0.2896, allocations: 3.938 kB / 333.6 MB, free: 5.18 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004785/0.2901, allocations: 463.9 kB / 334 MB, free: 4.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2902, allocations: 9.125 kB / 334 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2902, allocations: 10.47 kB / 334 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.2904, allocations: 211.4 kB / 334.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2905, allocations: 7.656 kB / 334.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.2905, allocations: 5.375 kB / 334.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.2907, allocations: 76.66 kB / 334.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2908, allocations: 1.125 kB / 334.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2908, allocations: 7.938 kB / 334.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-06/0.2908, allocations: 2.938 kB / 334.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.291, allocations: 43.25 kB / 334.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.2915, allocations: 330.2 kB / 334.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.2918, allocations: 77.72 kB / 334.8 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2918, allocations: 1.219 kB / 334.8 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.292, allocations: 73.27 kB / 334.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.82e-06/0.292, allocations: 0 / 334.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003835/0.2924, allocations: 123 kB / 335 MB, free: 3.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.2925, allocations: 52.66 kB / 335 MB, free: 3.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2927, allocations: 161.3 kB / 335.2 MB, free: 3.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2927, allocations: 27.14 kB / 335.2 MB, free: 3.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.2928, allocations: 166.7 kB / 335.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2928, allocations: 20.52 kB / 335.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.2928, allocations: 5.156 kB / 335.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.2929, allocations: 321.9 kB / 335.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.293, allocations: 28.34 kB / 335.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.2931, allocations: 42.56 kB / 335.8 MB, free: 3.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.2933, allocations: 64.31 kB / 335.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-06/0.2933, allocations: 0 / 335.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003142/0.2936, allocations: 147.2 kB / 336 MB, free: 3.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.2937, allocations: 38.8 kB / 336 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-06/0.2937, allocations: 0 / 336 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2937, allocations: 1.188 kB / 336 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2938, allocations: 20.33 kB / 336.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.577e-06/0.2938, allocations: 1.219 kB / 336.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.2939, allocations: 7.094 kB / 336.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.2939, allocations: 7.719 kB / 336.1 MB, free: 3.023 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 9.524e-05/0.2941, allocations: 126.5 kB / 336.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.2941, allocations: 13.61 kB / 336.2 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.2941, allocations: 13.8 kB / 336.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-06/0.2942, allocations: 5.188 kB / 336.2 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.497e-06/0.2942, allocations: 4 kB / 336.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.665e-06/0.2942, allocations: 5.766 kB / 336.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2944, allocations: 204.2 kB / 336.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-06/0.2944, allocations: 1.469 kB / 336.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.2945, allocations: 14.91 kB / 336.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.2945, allocations: 0 / 336.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2945, allocations: 2.562 kB / 336.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.347e-06/0.2945, allocations: 0.5625 kB / 336.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-06/0.2946, allocations: 3.938 kB / 336.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.2949, allocations: 159.1 kB / 336.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.295, allocations: 84.77 kB / 336.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.295, allocations: 6.562 kB / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.2951, allocations: 6 kB / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.2952, allocations: 5.328 kB / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.2952, allocations: 2.969 kB / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.2953, allocations: 123.8 kB / 336.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.2953, allocations: 1.094 kB / 336.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.2957, allocations: 29.25 kB / 336.9 MB, free: 2.352 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009537/0.2966, allocations: 331.1 kB / 337.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.2969, allocations: 130.9 kB / 337.3 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.059e-06/0.2969, allocations: 0 / 337.3 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2971, allocations: 30.75 kB / 337.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2973, allocations: 32.72 kB / 337.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.2979, allocations: 273.2 kB / 337.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.2981, allocations: 0.7098 MB / 338.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.2981, allocations: 14.34 kB / 338.4 MB, free: 1.121 MB / 266.7 MB Notification: Performance of SimCode: time 1.515e-06/0.2981, allocations: 3.938 kB / 338.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of Templates: time 0.004285/0.3024, allocations: 1.849 MB / 340.2 MB, free: 364 kB / 266.7 MB