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.Test53.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.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 1.874/1.874, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004333, allocations: 19.98 kB / 282.5 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2796, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.001837/0.2815, allocations: 1.294 MB / 332.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.2824, allocations: 415.7 kB / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.2825, allocations: 0 / 332.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.2827, allocations: 29.28 kB / 332.9 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.2829, allocations: 39.23 kB / 333 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2831, allocations: 55.64 kB / 333 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.2833, allocations: 56.66 kB / 333.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.2834, allocations: 6.75 kB / 333.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.2835, allocations: 28.53 kB / 333.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.2836, allocations: 27.88 kB / 333.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2836, allocations: 1.5 kB / 333.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.2837, allocations: 36.8 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.2838, allocations: 25.56 kB / 333.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2838, allocations: 34.64 kB / 333.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.284, allocations: 79.83 kB / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.568e-06/0.284, allocations: 0 / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.229e-06/0.284, allocations: 6.156 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.377e-06/0.2841, allocations: 3.938 kB / 333.3 MB, free: 5.348 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.0004212/0.2845, allocations: 415.7 kB / 333.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2845, allocations: 13.56 kB / 333.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.2846, allocations: 13.38 kB / 333.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.2848, allocations: 197 kB / 333.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.2848, allocations: 5.109 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.2848, allocations: 2.281 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.285, allocations: 44.42 kB / 334 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.285, allocations: 0 / 334 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.285, allocations: 1.594 kB / 334 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.86e-06/0.285, allocations: 0 / 334 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/0.2851, allocations: 18.23 kB / 334 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.2854, allocations: 290.1 kB / 334.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.2856, allocations: 37.25 kB / 334.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.2857, allocations: 5.516 kB / 334.3 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.2858, allocations: 63.83 kB / 334.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.485e-06/0.2858, allocations: 0 / 334.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004068/0.2863, allocations: 117.4 kB / 334.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2863, allocations: 56.88 kB / 334.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.2865, allocations: 213.1 kB / 334.8 MB, free: 4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2866, allocations: 26.89 kB / 334.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.2866, allocations: 169.5 kB / 335 MB, free: 3.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2867, allocations: 7.734 kB / 335 MB, free: 3.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-06/0.2867, allocations: 1.188 kB / 335 MB, free: 3.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.2868, allocations: 321 kB / 335.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.2868, allocations: 15.28 kB / 335.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.2869, allocations: 24.41 kB / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.287, allocations: 46.08 kB / 335.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.723e-06/0.287, allocations: 1.094 kB / 335.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002012/0.2872, allocations: 125.1 kB / 335.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.2872, allocations: 33.12 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.077e-06/0.2873, allocations: 0 / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2873, allocations: 1.531 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.2873, allocations: 9.047 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.519e-06/0.2874, allocations: 1.031 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.2874, allocations: 7.062 kB / 335.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.2875, allocations: 6.938 kB / 335.6 MB, free: 3.293 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 9.173e-05/0.2876, allocations: 132.9 kB / 335.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.2876, allocations: 9.062 kB / 335.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.2877, allocations: 11.69 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.68e-06/0.2877, allocations: 1.594 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.376e-06/0.2877, allocations: 4.969 kB / 335.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-06/0.2877, allocations: 0 / 335.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.288, allocations: 348.5 kB / 336.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-06/0.2881, allocations: 0 / 336.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.2881, allocations: 6.25 kB / 336.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.95e-06/0.2881, allocations: 1.531 kB / 336.1 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2881, allocations: 4.891 kB / 336.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.248e-06/0.2881, allocations: 1.125 kB / 336.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-06/0.2882, allocations: 0 / 336.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2883, allocations: 177.9 kB / 336.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.2884, allocations: 88.59 kB / 336.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.2884, allocations: 1.891 kB / 336.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.2885, allocations: 2 kB / 336.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.2886, allocations: 8.531 kB / 336.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.2886, allocations: 2.469 kB / 336.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.2887, allocations: 156.3 kB / 336.5 MB, free: 2.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.2887, allocations: 0 / 336.5 MB, free: 2.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.2891, allocations: 32.97 kB / 336.5 MB, free: 2.453 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.001084/0.2902, allocations: 370.4 kB / 336.9 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2904, allocations: 106.9 kB / 337 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.85e-06/0.2904, allocations: 4 kB / 337 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.2905, allocations: 12 kB / 337 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.2908, allocations: 18.38 kB / 337 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.2913, allocations: 263.8 kB / 337.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.2914, allocations: 0.708 MB / 338 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.2915, allocations: 18.38 kB / 338 MB, free: 1.227 MB / 266.7 MB Notification: Performance of SimCode: time 1.471e-06/0.2915, allocations: 5.094 kB / 338 MB, free: 1.223 MB / 266.7 MB Notification: Performance of Templates: time 0.004033/0.2955, allocations: 1.719 MB / 339.7 MB, free: 0.6172 MB / 266.7 MB