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.Test56.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.Test56,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.Test56") Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.000435, allocations: 16 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.281, allocations: 48.7 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001958/0.283, allocations: 1.296 MB / 332.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.2846, allocations: 0.9898 MB / 333.5 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.2847, allocations: 0.9062 kB / 333.5 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.2849, allocations: 27.59 kB / 333.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.2851, allocations: 39.09 kB / 333.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.2853, allocations: 58.89 kB / 333.6 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2855, allocations: 51.22 kB / 333.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.2856, allocations: 7.391 kB / 333.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.2857, allocations: 30.58 kB / 333.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.2858, allocations: 28.47 kB / 333.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2858, allocations: 2.219 kB / 333.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.286, allocations: 44.86 kB / 333.8 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.286, allocations: 14.17 kB / 333.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.2861, allocations: 33.58 kB / 333.8 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.2863, allocations: 94.77 kB / 333.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2863, allocations: 0 / 333.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.912e-06/0.2863, allocations: 0 / 333.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.593e-06/0.2863, allocations: 0 / 333.9 MB, free: 4.91 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.0004041/0.2868, allocations: 403.4 kB / 334.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2868, allocations: 9.938 kB / 334.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.2869, allocations: 6.25 kB / 334.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.2871, allocations: 199 kB / 334.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2871, allocations: 9.859 kB / 334.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.2871, allocations: 5.281 kB / 334.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2873, allocations: 56.8 kB / 334.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2873, allocations: 0 / 334.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2873, allocations: 1.188 kB / 334.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-06/0.2873, allocations: 0 / 334.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.173e-05/0.2874, allocations: 14.25 kB / 334.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.2877, allocations: 285.4 kB / 334.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2879, allocations: 42.61 kB / 334.9 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.288, allocations: 1.25 kB / 334.9 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.2881, allocations: 60.34 kB / 335 MB, free: 3.828 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.24e-06/0.2881, allocations: 0 / 335 MB, free: 3.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003958/0.2886, allocations: 102.1 kB / 335.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.2886, allocations: 82.72 kB / 335.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.2888, allocations: 136.5 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2888, allocations: 34.77 kB / 335.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.2888, allocations: 161.5 kB / 335.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2889, allocations: 11.34 kB / 335.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-06/0.2889, allocations: 1.188 kB / 335.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.2889, allocations: 321.9 kB / 335.8 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.289, allocations: 16.55 kB / 335.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.2891, allocations: 37.48 kB / 335.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.285e-05/0.2892, allocations: 50.78 kB / 335.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-06/0.2892, allocations: 0 / 335.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002038/0.2894, allocations: 114.8 kB / 336 MB, free: 2.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.2895, allocations: 38.23 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.168e-06/0.2895, allocations: 0.6562 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2895, allocations: 1.688 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.2896, allocations: 8.266 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.275e-06/0.2896, allocations: 9.562 kB / 336.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.2896, allocations: 7.984 kB / 336.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.2897, allocations: 2.688 kB / 336.1 MB, free: 2.836 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.212e-05/0.2898, allocations: 124.9 kB / 336.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.2898, allocations: 11.16 kB / 336.2 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.2899, allocations: 12.31 kB / 336.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-06/0.2899, allocations: 2.406 kB / 336.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.2899, allocations: 0 / 336.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.975e-06/0.2899, allocations: 0 / 336.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.2903, allocations: 338.6 kB / 336.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-06/0.2903, allocations: 0.7031 kB / 336.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.2903, allocations: 5.609 kB / 336.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.346e-06/0.2903, allocations: 1.344 kB / 336.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.2904, allocations: 2 kB / 336.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.415e-06/0.2904, allocations: 0.7969 kB / 336.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-06/0.2904, allocations: 0 / 336.6 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.2906, allocations: 171 kB / 336.7 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.2906, allocations: 93.8 kB / 336.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.2906, allocations: 1.438 kB / 336.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.2907, allocations: 2.5 kB / 336.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2908, allocations: 4.141 kB / 336.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.2908, allocations: 3.469 kB / 336.9 MB, free: 2.109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.668e-05/0.2909, allocations: 103.4 kB / 337 MB, free: 2.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.2909, allocations: 0 / 337 MB, free: 2.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003843/0.2913, allocations: 42.94 kB / 337 MB, free: 2.012 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.001332/0.2927, allocations: 447.1 kB / 337.4 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.2929, allocations: 107.5 kB / 337.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2929, allocations: 0 / 337.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.293, allocations: 19.83 kB / 337.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.2932, allocations: 30.28 kB / 337.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.2936, allocations: 190.5 kB / 337.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2938, allocations: 0.6921 MB / 338.5 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.2939, allocations: 20.09 kB / 338.5 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of SimCode: time 1.346e-06/0.2939, allocations: 0 / 338.5 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of Templates: time 0.004475/0.2984, allocations: 1.911 MB / 340.4 MB, free: 32 kB / 266.7 MB