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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.000438, allocations: 12 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2859, allocations: 48.71 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002277/0.2882, allocations: 1.449 MB / 332.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.2892, allocations: 447.4 kB / 333.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.2894, allocations: 3.281 kB / 333.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.2896, allocations: 21.69 kB / 333.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.2898, allocations: 37.58 kB / 333.1 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.2901, allocations: 72.48 kB / 333.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.2903, allocations: 75.53 kB / 333.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2904, allocations: 22.45 kB / 333.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.2905, allocations: 31.7 kB / 333.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.2906, allocations: 41.98 kB / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.2906, allocations: 3.25 kB / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2907, allocations: 30.31 kB / 333.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.2908, allocations: 13.67 kB / 333.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.2908, allocations: 39.83 kB / 333.5 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.2911, allocations: 99.19 kB / 333.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.565e-06/0.2911, allocations: 1.312 kB / 333.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.882e-06/0.2911, allocations: 0 / 333.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2911, allocations: 7.875 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.0005141/0.2916, allocations: 459.9 kB / 334 MB, free: 4.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2917, allocations: 9 kB / 334 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.2918, allocations: 11.09 kB / 334 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.292, allocations: 207 kB / 334.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.292, allocations: 7.234 kB / 334.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.2921, allocations: 8.062 kB / 334.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2923, allocations: 78.44 kB / 334.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.863e-06/0.2923, allocations: 0 / 334.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2923, allocations: 1.469 kB / 334.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.133e-06/0.2924, allocations: 2.203 kB / 334.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.2925, allocations: 44.3 kB / 334.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.2931, allocations: 337.9 kB / 334.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.2934, allocations: 73.84 kB / 334.8 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2935, allocations: 1.406 kB / 334.8 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.2937, allocations: 72.97 kB / 334.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.988e-06/0.2937, allocations: 0 / 334.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004074/0.2941, allocations: 119.4 kB / 335 MB, free: 3.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2942, allocations: 57.81 kB / 335 MB, free: 3.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2944, allocations: 162.6 kB / 335.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2944, allocations: 28.62 kB / 335.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.2945, allocations: 162 kB / 335.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.2945, allocations: 25.17 kB / 335.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.2945, allocations: 1.125 kB / 335.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.2946, allocations: 325.8 kB / 335.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.2947, allocations: 28.59 kB / 335.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.2949, allocations: 43.33 kB / 335.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.295, allocations: 67.55 kB / 335.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.991e-06/0.295, allocations: 0 / 335.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00032/0.2953, allocations: 146.4 kB / 336 MB, free: 3.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.2954, allocations: 33.73 kB / 336 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.199e-06/0.2954, allocations: 1.891 kB / 336 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2954, allocations: 1.188 kB / 336 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2955, allocations: 18.72 kB / 336.1 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.898e-06/0.2956, allocations: 2.125 kB / 336.1 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.2957, allocations: 11.73 kB / 336.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2957, allocations: 6.969 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.959e-05/0.2958, allocations: 122.9 kB / 336.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.2958, allocations: 13.09 kB / 336.2 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.2959, allocations: 14.41 kB / 336.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-06/0.2959, allocations: 3.938 kB / 336.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.966e-06/0.2959, allocations: 5.797 kB / 336.2 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.603e-06/0.2959, allocations: 4.5 kB / 336.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.2961, allocations: 201 kB / 336.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-06/0.2961, allocations: 1.5 kB / 336.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2963, allocations: 14.23 kB / 336.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.393e-06/0.2963, allocations: 1 kB / 336.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2963, allocations: 5.75 kB / 336.5 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2963, allocations: 8.969 kB / 336.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.824e-06/0.2963, allocations: 0.5625 kB / 336.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.2967, allocations: 158.4 kB / 336.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.2968, allocations: 84.84 kB / 336.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.2968, allocations: 1.781 kB / 336.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.2969, allocations: 7.344 kB / 336.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.297, allocations: 8.672 kB / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.297, allocations: 3.594 kB / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.2971, allocations: 123.2 kB / 336.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.2971, allocations: 0 / 336.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.2975, allocations: 25.55 kB / 336.9 MB, free: 2.355 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.0009947/0.2985, allocations: 336 kB / 337.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.2988, allocations: 126.5 kB / 337.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.578e-06/0.2988, allocations: 0 / 337.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.299, allocations: 39.36 kB / 337.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2992, allocations: 31.44 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.0005486/0.2998, allocations: 269.5 kB / 337.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3, allocations: 0.7139 MB / 338.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.3, allocations: 19.53 kB / 338.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of SimCode: time 1.51e-06/0.3001, allocations: 0 / 338.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of Templates: time 0.004458/0.3045, allocations: 1.844 MB / 340.2 MB, free: 360 kB / 266.7 MB