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.CombiTimeTable.Test64.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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.000467, allocations: 20 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002222/0.2837, allocations: 1.318 MB / 370.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2852, allocations: 0.6969 MB / 371.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.2853, allocations: 0 / 371.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.2856, allocations: 23.91 kB / 371.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.2858, allocations: 55.8 kB / 371.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.286, allocations: 43.83 kB / 371.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.2861, allocations: 63.86 kB / 371.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.2862, allocations: 7.859 kB / 371.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.2863, allocations: 35.91 kB / 371.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.757e-05/0.2864, allocations: 31.84 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.2865, allocations: 4 kB / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.2866, allocations: 23.98 kB / 371.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.2866, allocations: 19.92 kB / 371.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.2867, allocations: 45.62 kB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2869, allocations: 79.88 kB / 371.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.379e-06/0.2869, allocations: 4 kB / 371.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.122e-06/0.2869, allocations: 0 / 371.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.274e-06/0.2869, allocations: 3.938 kB / 371.6 MB, free: 8.242 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000639/0.2876, allocations: 470.7 kB / 372.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2876, allocations: 15.97 kB / 372.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.2877, allocations: 15.89 kB / 372.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.288, allocations: 206.8 kB / 372.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.288, allocations: 0 / 372.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2881, allocations: 4 kB / 372.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2882, allocations: 49.67 kB / 372.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.543e-06/0.2883, allocations: 0 / 372.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2883, allocations: 0 / 372.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.956e-06/0.2883, allocations: 3.953 kB / 372.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.2884, allocations: 15.98 kB / 372.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.2887, allocations: 205.6 kB / 372.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.2889, allocations: 58.55 kB / 372.7 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.289, allocations: 7.984 kB / 372.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.2892, allocations: 63.39 kB / 372.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.471e-06/0.2892, allocations: 0 / 372.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003569/0.2896, allocations: 105.4 kB / 372.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.2896, allocations: 55.36 kB / 372.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.29, allocations: 254.5 kB / 373.1 MB, free: 6.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.29, allocations: 29.7 kB / 373.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2901, allocations: 170.5 kB / 373.3 MB, free: 6.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.2902, allocations: 15.81 kB / 373.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.2902, allocations: 0 / 373.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2904, allocations: 314.8 kB / 373.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.67e-05/0.2905, allocations: 31.92 kB / 373.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.2906, allocations: 37.7 kB / 373.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2907, allocations: 57.69 kB / 373.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2908, allocations: 0 / 373.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000312/0.2911, allocations: 127.3 kB / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.2911, allocations: 33.7 kB / 373.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.373e-06/0.2912, allocations: 3.938 kB / 373.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2912, allocations: 7.969 kB / 374 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2913, allocations: 19.98 kB / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2913, allocations: 0 / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.2914, allocations: 15.8 kB / 374 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2915, allocations: 4 kB / 374 MB, free: 5.637 MB / 298.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001759/0.2916, allocations: 133.8 kB / 374.1 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.2917, allocations: 11.81 kB / 374.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.2917, allocations: 20.98 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-06/0.2918, allocations: 4 kB / 374.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.126e-06/0.2918, allocations: 0 / 374.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-06/0.2918, allocations: 0 / 374.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.292, allocations: 197.6 kB / 374.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-06/0.292, allocations: 0 / 374.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.2921, allocations: 4 kB / 374.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.213e-06/0.2921, allocations: 0 / 374.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.723e-06/0.2921, allocations: 0 / 374.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-06/0.2921, allocations: 4.016 kB / 374.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.78e-06/0.2921, allocations: 3.984 kB / 374.4 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.2924, allocations: 125.2 kB / 374.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.2925, allocations: 93 kB / 374.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.2926, allocations: 4.062 kB / 374.6 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.2927, allocations: 4 kB / 374.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.2927, allocations: 3.984 kB / 374.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.2927, allocations: 4 kB / 374.6 MB, free: 4.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.293, allocations: 188.5 kB / 374.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.363e-06/0.293, allocations: 0 / 374.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.2933, allocations: 27.94 kB / 374.8 MB, free: 4.734 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001355/0.2947, allocations: 395.4 kB / 375.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.295, allocations: 135.3 kB / 375.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.295, allocations: 0 / 375.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.2951, allocations: 23.94 kB / 375.3 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.2954, allocations: 31.8 kB / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.296, allocations: 299.4 kB / 375.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.2965, allocations: 0.716 MB / 376.4 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.2965, allocations: 19.36 kB / 376.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of SimCode: time 1.47e-06/0.2965, allocations: 0 / 376.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of Templates: time 0.004509/0.3011, allocations: 1.776 MB / 378.2 MB, free: 1.375 MB / 298.7 MB