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.Test16.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.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 12 kB / 282.5 MB, free: 9.625 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.Test16): time 0.001839/0.286, allocations: 1.289 MB / 332.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.2869, allocations: 421.6 kB / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.287, allocations: 2.406 kB / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.2872, allocations: 25.34 kB / 332.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.2874, allocations: 25.36 kB / 333 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.2876, allocations: 58.03 kB / 333 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.2877, allocations: 56.94 kB / 333.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.2878, allocations: 10.78 kB / 333.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.2879, allocations: 27.05 kB / 333.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.288, allocations: 24.75 kB / 333.1 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.288, allocations: 2.312 kB / 333.1 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2881, allocations: 33.66 kB / 333.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.2882, allocations: 16.53 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.2882, allocations: 32.89 kB / 333.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.2884, allocations: 74.23 kB / 333.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.631e-06/0.2885, allocations: 0 / 333.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.556e-06/0.2885, allocations: 4.656 kB / 333.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.086e-06/0.2885, allocations: 3.938 kB / 333.3 MB, free: 5.359 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.0004063/0.2889, allocations: 400 kB / 333.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2889, allocations: 8 kB / 333.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.289, allocations: 9.328 kB / 333.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.2892, allocations: 207.2 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2892, allocations: 1.125 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.2893, allocations: 3.25 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2894, allocations: 47.73 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2894, allocations: 0 / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.764e-06/0.2894, allocations: 0 / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-06/0.2895, allocations: 1.344 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.2895, allocations: 13.59 kB / 334 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.2899, allocations: 277.5 kB / 334.2 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2901, allocations: 39.11 kB / 334.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2901, allocations: 4 kB / 334.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.2903, allocations: 64.91 kB / 334.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.421e-06/0.2903, allocations: 0 / 334.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004281/0.2907, allocations: 115.2 kB / 334.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.2908, allocations: 52.47 kB / 334.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.2909, allocations: 159 kB / 334.7 MB, free: 4.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.291, allocations: 27.52 kB / 334.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.291, allocations: 165.1 kB / 334.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.2911, allocations: 11.36 kB / 334.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-06/0.2911, allocations: 1.156 kB / 334.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.2911, allocations: 317.2 kB / 335.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.2912, allocations: 19.23 kB / 335.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/0.2913, allocations: 20.86 kB / 335.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.2914, allocations: 45.47 kB / 335.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2914, allocations: 0 / 335.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002035/0.2916, allocations: 125.8 kB / 335.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.2916, allocations: 38.06 kB / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.516e-06/0.2916, allocations: 0 / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2917, allocations: 1.156 kB / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.2917, allocations: 8.969 kB / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.308e-06/0.2918, allocations: 1.344 kB / 335.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.2918, allocations: 6.031 kB / 335.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2919, allocations: 7.641 kB / 335.4 MB, free: 3.344 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.458e-05/0.2919, allocations: 119.2 kB / 335.6 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.292, allocations: 8.25 kB / 335.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.292, allocations: 17.38 kB / 335.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-06/0.2921, allocations: 1.125 kB / 335.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.39e-06/0.2921, allocations: 0 / 335.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.348e-06/0.2921, allocations: 0.75 kB / 335.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.2924, allocations: 343.1 kB / 335.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-06/0.2925, allocations: 0 / 335.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.2925, allocations: 6.672 kB / 335.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.389e-06/0.2925, allocations: 0 / 335.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2925, allocations: 6.094 kB / 335.9 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.655e-06/0.2926, allocations: 5.406 kB / 335.9 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.182e-06/0.2926, allocations: 0 / 335.9 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2927, allocations: 171.8 kB / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.2928, allocations: 85.58 kB / 336.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2928, allocations: 0.6562 kB / 336.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.2929, allocations: 3.188 kB / 336.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.293, allocations: 7.766 kB / 336.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.293, allocations: 6.844 kB / 336.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.2931, allocations: 126.4 kB / 336.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.98e-07/0.2931, allocations: 1.344 kB / 336.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.2935, allocations: 31.95 kB / 336.4 MB, free: 2.508 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.001089/0.2946, allocations: 369.1 kB / 336.7 MB, free: 2.293 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.2948, allocations: 105.8 kB / 336.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.321e-06/0.2948, allocations: 0 / 336.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.2949, allocations: 19.72 kB / 336.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2952, allocations: 19.17 kB / 336.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.2956, allocations: 216.8 kB / 337.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.2958, allocations: 0.696 MB / 337.8 MB, free: 1.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.2958, allocations: 18.94 kB / 337.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2958, allocations: 0 / 337.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of Templates: time 0.004012/0.2999, allocations: 1.629 MB / 339.4 MB, free: 0.7695 MB / 266.7 MB