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.Test29.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.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 15.98 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2828, allocations: 48.71 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00187/0.2847, allocations: 1.297 MB / 332.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008203/0.2856, allocations: 421.7 kB / 332.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.2856, allocations: 1.031 kB / 332.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.2859, allocations: 21.31 kB / 332.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.286, allocations: 35.28 kB / 333 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.2863, allocations: 57.77 kB / 333 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.2864, allocations: 52.59 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.2865, allocations: 10.19 kB / 333.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.2866, allocations: 32.33 kB / 333.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.2867, allocations: 20.92 kB / 333.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.2867, allocations: 2.781 kB / 333.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2868, allocations: 32.59 kB / 333.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.2868, allocations: 17.61 kB / 333.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.2869, allocations: 37.33 kB / 333.2 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2871, allocations: 76.97 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.346e-06/0.2871, allocations: 0 / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.2871, allocations: 0 / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2871, allocations: 7.938 kB / 333.3 MB, free: 5.344 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.0004185/0.2876, allocations: 400.8 kB / 333.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2876, allocations: 9.25 kB / 333.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.2877, allocations: 12.22 kB / 333.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.2879, allocations: 198.5 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2879, allocations: 1.219 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.2879, allocations: 3.031 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.2881, allocations: 44.14 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2881, allocations: 4 kB / 334 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2881, allocations: 0 / 334 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-06/0.2881, allocations: 5.219 kB / 334 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.2882, allocations: 14.25 kB / 334 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.2885, allocations: 278.2 kB / 334.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.2887, allocations: 39.39 kB / 334.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.2887, allocations: 4 kB / 334.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.2889, allocations: 59.75 kB / 334.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.412e-06/0.2889, allocations: 0 / 334.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004185/0.2893, allocations: 116 kB / 334.5 MB, free: 4.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.2894, allocations: 57.53 kB / 334.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2896, allocations: 172.2 kB / 334.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2896, allocations: 31.39 kB / 334.7 MB, free: 4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.2897, allocations: 160.7 kB / 334.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2897, allocations: 16.39 kB / 334.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-06/0.2897, allocations: 0 / 334.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.2898, allocations: 313.5 kB / 335.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.2899, allocations: 19.8 kB / 335.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.2899, allocations: 20.5 kB / 335.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.29, allocations: 45.97 kB / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.29, allocations: 0 / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002107/0.2902, allocations: 118 kB / 335.4 MB, free: 3.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.2903, allocations: 32.72 kB / 335.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.799e-06/0.2903, allocations: 8.688 kB / 335.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2903, allocations: 1.062 kB / 335.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.2904, allocations: 8.812 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.166e-06/0.2904, allocations: 1.312 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.2905, allocations: 11.25 kB / 335.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.2905, allocations: 6.609 kB / 335.5 MB, free: 3.328 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.576e-05/0.2906, allocations: 132.1 kB / 335.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.2906, allocations: 8.531 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.2907, allocations: 18.25 kB / 335.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-06/0.2907, allocations: 0.75 kB / 335.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.922e-06/0.2907, allocations: 0 / 335.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.305e-06/0.2908, allocations: 1.922 kB / 335.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.2911, allocations: 335.3 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2911, allocations: 1.781 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.2912, allocations: 4.531 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2912, allocations: 1.625 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2912, allocations: 2.25 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-06/0.2912, allocations: 0 / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.339e-06/0.2912, allocations: 9.469 kB / 336 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.2914, allocations: 171.8 kB / 336.1 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.2914, allocations: 83.8 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.2915, allocations: 2.219 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.2916, allocations: 2.312 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.2916, allocations: 4.938 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2916, allocations: 2.875 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.2918, allocations: 141.1 kB / 336.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.2918, allocations: 0 / 336.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.2922, allocations: 24.81 kB / 336.4 MB, free: 2.496 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.001115/0.2933, allocations: 374.1 kB / 336.8 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.2935, allocations: 115 kB / 336.9 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.149e-06/0.2935, allocations: 0 / 336.9 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.2936, allocations: 15.78 kB / 336.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2939, allocations: 9.516 kB / 336.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.2943, allocations: 231.1 kB / 337.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.2945, allocations: 0.7033 MB / 337.8 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.2946, allocations: 17.06 kB / 337.8 MB, free: 1.277 MB / 266.7 MB Notification: Performance of SimCode: time 2.225e-06/0.2946, allocations: 1.406 kB / 337.8 MB, free: 1.277 MB / 266.7 MB Notification: Performance of Templates: time 0.004036/0.2987, allocations: 1.651 MB / 339.5 MB, free: 0.7383 MB / 266.7 MB