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.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadModel(ModelicaTest): time 1.88/1.88, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 12 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2842, allocations: 48.7 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001869/0.2861, allocations: 1.297 MB / 332.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.287, allocations: 417.4 kB / 332.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.2871, allocations: 5.625 kB / 332.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.2873, allocations: 23.83 kB / 332.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.2875, allocations: 31.08 kB / 333 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2878, allocations: 58.41 kB / 333 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2879, allocations: 57.02 kB / 333.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.288, allocations: 10.33 kB / 333.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.2881, allocations: 22.61 kB / 333.1 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.2882, allocations: 29.28 kB / 333.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2882, allocations: 1.188 kB / 333.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2883, allocations: 33.48 kB / 333.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.2884, allocations: 9 kB / 333.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.2884, allocations: 37.27 kB / 333.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.2886, allocations: 78.42 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.52e-06/0.2886, allocations: 0 / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.027e-06/0.2887, allocations: 0 / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.2887, allocations: 4 kB / 333.3 MB, free: 5.348 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004241/0.2891, allocations: 400.5 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2892, allocations: 8.875 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.2892, allocations: 11.47 kB / 333.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.2894, allocations: 194.2 kB / 333.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2894, allocations: 1.25 kB / 333.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2895, allocations: 3.094 kB / 333.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.2896, allocations: 46.97 kB / 333.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2896, allocations: 5.094 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2896, allocations: 4 kB / 334 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-06/0.2897, allocations: 4.969 kB / 334 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.2897, allocations: 9.922 kB / 334 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.2901, allocations: 278.2 kB / 334.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.2903, allocations: 42.02 kB / 334.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2903, allocations: 4.703 kB / 334.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.2905, allocations: 59.64 kB / 334.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.583e-06/0.2905, allocations: 0 / 334.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004194/0.2909, allocations: 116 kB / 334.5 MB, free: 4.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.291, allocations: 53.52 kB / 334.5 MB, free: 4.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.2911, allocations: 157.5 kB / 334.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2912, allocations: 31.17 kB / 334.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.2912, allocations: 162.1 kB / 334.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.2913, allocations: 16.08 kB / 334.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-06/0.2913, allocations: 0 / 334.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.2913, allocations: 313.5 kB / 335.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.2914, allocations: 19.02 kB / 335.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.2915, allocations: 16.39 kB / 335.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.224e-05/0.2915, allocations: 54.92 kB / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2916, allocations: 0 / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001988/0.2918, allocations: 108.8 kB / 335.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.2918, allocations: 33.89 kB / 335.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.317e-06/0.2918, allocations: 5.406 kB / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2919, allocations: 0 / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.2919, allocations: 13.06 kB / 335.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.41e-06/0.2919, allocations: 5.875 kB / 335.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.292, allocations: 7.312 kB / 335.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.292, allocations: 10.23 kB / 335.4 MB, free: 3.332 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: 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 (7): * Single equations (assignments): 6 * 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 8.555e-05/0.2921, allocations: 122.8 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.2922, allocations: 11.88 kB / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.2922, allocations: 9.656 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-06/0.2922, allocations: 6.656 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.491e-06/0.2923, allocations: 0 / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.939e-06/0.2923, allocations: 0 / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.2926, allocations: 338.3 kB / 335.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2926, allocations: 5.109 kB / 335.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.2927, allocations: 5.031 kB / 335.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.12e-06/0.2927, allocations: 1.281 kB / 335.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2927, allocations: 2.125 kB / 335.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.658e-06/0.2927, allocations: 0.6562 kB / 335.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.549e-06/0.2927, allocations: 5.125 kB / 335.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.2929, allocations: 167.3 kB / 336.1 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.293, allocations: 84.73 kB / 336.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.293, allocations: 6.516 kB / 336.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.2931, allocations: 1.469 kB / 336.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2931, allocations: 4.984 kB / 336.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.2932, allocations: 2.828 kB / 336.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.713e-05/0.2933, allocations: 130.1 kB / 336.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.2933, allocations: 0 / 336.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.2937, allocations: 28.53 kB / 336.4 MB, free: 2.504 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: 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 (5): * Single equations (assignments): 4 * 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.001069/0.2947, allocations: 379.8 kB / 336.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.2949, allocations: 106.7 kB / 336.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/0.295, allocations: 0 / 336.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.295, allocations: 18.81 kB / 336.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2953, allocations: 12.16 kB / 336.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.2957, allocations: 215.6 kB / 337.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.2959, allocations: 0.7036 MB / 337.8 MB, free: 1.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.296, allocations: 15.5 kB / 337.8 MB, free: 1.293 MB / 266.7 MB Notification: Performance of SimCode: time 1.411e-06/0.296, allocations: 0 / 337.8 MB, free: 1.293 MB / 266.7 MB Notification: Performance of Templates: time 0.004037/0.3, allocations: 1.623 MB / 339.4 MB, free: 0.7734 MB / 266.7 MB