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.Test60.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.Test60,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.Test60") Notification: Performance of loadModel(ModelicaTest): time 2.037/2.037, allocations: 209.3 MB / 224.8 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004419, allocations: 15.98 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2815, allocations: 48.71 MB / 331.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001873/0.2834, allocations: 1.297 MB / 332.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2849, allocations: 0.9904 MB / 333.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.285, allocations: 3.469 kB / 333.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.2852, allocations: 26.38 kB / 333.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.2854, allocations: 32.44 kB / 333.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.2857, allocations: 65.91 kB / 333.6 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.2858, allocations: 51.86 kB / 333.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.2859, allocations: 9.359 kB / 333.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.286, allocations: 23.27 kB / 333.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.2861, allocations: 33.56 kB / 333.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2862, allocations: 1.25 kB / 333.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2863, allocations: 44.58 kB / 333.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.2864, allocations: 15.12 kB / 333.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.2864, allocations: 33.8 kB / 333.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.2866, allocations: 89.42 kB / 333.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.618e-06/0.2867, allocations: 1.281 kB / 333.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.977e-06/0.2867, allocations: 4 kB / 333.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2867, allocations: 0 / 333.9 MB, free: 4.906 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.0004132/0.2871, allocations: 396 kB / 334.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2871, allocations: 8.656 kB / 334.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.2872, allocations: 15.78 kB / 334.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.2874, allocations: 202.4 kB / 334.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2874, allocations: 1.062 kB / 334.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2875, allocations: 3.375 kB / 334.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2876, allocations: 63.44 kB / 334.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2876, allocations: 0 / 334.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2877, allocations: 0.6094 kB / 334.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-06/0.2877, allocations: 5.219 kB / 334.6 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.2877, allocations: 9.641 kB / 334.6 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.2881, allocations: 280.9 kB / 334.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.2883, allocations: 42.81 kB / 334.9 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2883, allocations: 0.6562 kB / 334.9 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.2885, allocations: 57.52 kB / 335 MB, free: 3.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.683e-06/0.2885, allocations: 0 / 335 MB, free: 3.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004084/0.2889, allocations: 110.6 kB / 335.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.289, allocations: 78.23 kB / 335.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.2891, allocations: 136.7 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2892, allocations: 31.17 kB / 335.3 MB, free: 3.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.522e-05/0.2892, allocations: 160.8 kB / 335.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.2892, allocations: 15.58 kB / 335.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-06/0.2893, allocations: 1 kB / 335.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.2893, allocations: 317.2 kB / 335.8 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.2894, allocations: 24.33 kB / 335.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.2895, allocations: 34.09 kB / 335.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.2895, allocations: 46.47 kB / 335.9 MB, free: 2.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-06/0.2896, allocations: 5.344 kB / 335.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002054/0.2898, allocations: 118.3 kB / 336 MB, free: 2.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.2898, allocations: 34.62 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.306e-06/0.2898, allocations: 0.6562 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2899, allocations: 0 / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.2899, allocations: 13.89 kB / 336.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.996e-06/0.29, allocations: 0 / 336.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.29, allocations: 4.406 kB / 336.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2901, allocations: 11.31 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.388e-05/0.2901, allocations: 132.5 kB / 336.2 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.2902, allocations: 7.312 kB / 336.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.2902, allocations: 7.938 kB / 336.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-06/0.2902, allocations: 1.406 kB / 336.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.863e-06/0.2903, allocations: 0 / 336.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-06/0.2903, allocations: 1.906 kB / 336.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.2906, allocations: 341.3 kB / 336.6 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-06/0.2906, allocations: 1.438 kB / 336.6 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.2907, allocations: 5.422 kB / 336.6 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.2907, allocations: 5.125 kB / 336.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2907, allocations: 1.922 kB / 336.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.613e-06/0.2907, allocations: 0 / 336.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.849e-06/0.2908, allocations: 1.891 kB / 336.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.2909, allocations: 170.3 kB / 336.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.291, allocations: 84.61 kB / 336.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.291, allocations: 1.875 kB / 336.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.2911, allocations: 10.86 kB / 336.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.2912, allocations: 4.641 kB / 336.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.2912, allocations: 2.875 kB / 336.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.56e-05/0.2913, allocations: 104.3 kB / 337 MB, free: 2.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.2913, allocations: 0 / 337 MB, free: 2.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003869/0.2917, allocations: 39.38 kB / 337 MB, free: 2.008 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.001341/0.2931, allocations: 440.6 kB / 337.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.2933, allocations: 111.6 kB / 337.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2933, allocations: 4 kB / 337.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.2934, allocations: 16.28 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.0002699/0.2937, allocations: 19.5 kB / 337.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.2941, allocations: 190.1 kB / 337.8 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.2943, allocations: 0.7004 MB / 338.5 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.2943, allocations: 15.67 kB / 338.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of SimCode: time 2.016e-06/0.2944, allocations: 1.125 kB / 338.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of Templates: time 0.004511/0.2989, allocations: 1.92 MB / 340.4 MB, free: 28 kB / 266.7 MB