Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.233/2.233, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004402, allocations: 20 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2785, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002266/0.2808, allocations: 1.357 MB / 370.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2824, allocations: 0.7124 MB / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.2825, allocations: 4 kB / 371.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.2827, allocations: 19.86 kB / 371.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.2829, allocations: 39.88 kB / 371.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.2831, allocations: 51.83 kB / 371.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.2833, allocations: 71.84 kB / 371.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.2834, allocations: 8 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2835, allocations: 39.83 kB / 371.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.2836, allocations: 23.92 kB / 371.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2837, allocations: 4 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.2838, allocations: 27.92 kB / 371.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.2838, allocations: 19.97 kB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.2839, allocations: 37.64 kB / 371.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.2841, allocations: 87.83 kB / 371.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.451e-06/0.2841, allocations: 0 / 371.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.967e-06/0.2841, allocations: 3.938 kB / 371.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.555e-06/0.2841, allocations: 0 / 371.7 MB, free: 8.195 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006098/0.2848, allocations: 448.2 kB / 372.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2848, allocations: 16.02 kB / 372.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.2849, allocations: 11.81 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.2851, allocations: 198.8 kB / 372.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.2852, allocations: 8 kB / 372.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.2852, allocations: 4 kB / 372.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.2854, allocations: 53.67 kB / 372.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2854, allocations: 3.906 kB / 372.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2855, allocations: 7.938 kB / 372.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.008e-06/0.2855, allocations: 3.953 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.862e-05/0.2856, allocations: 23.98 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.2861, allocations: 292.8 kB / 372.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.2863, allocations: 66.66 kB / 372.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2863, allocations: 0 / 372.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.2866, allocations: 75.34 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.419e-06/0.2866, allocations: 0 / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006659/0.2873, allocations: 181.2 kB / 373.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.2873, allocations: 55.41 kB / 373.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.2876, allocations: 190 kB / 373.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.2876, allocations: 29.7 kB / 373.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2877, allocations: 162.5 kB / 373.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.2878, allocations: 23.7 kB / 373.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.2878, allocations: 4 kB / 373.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.288, allocations: 314.8 kB / 373.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.2881, allocations: 27.98 kB / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2882, allocations: 49.7 kB / 373.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.2884, allocations: 65.69 kB / 374 MB, free: 5.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-06/0.2884, allocations: 0 / 374 MB, free: 5.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003567/0.2888, allocations: 155.2 kB / 374.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.2888, allocations: 45.64 kB / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.775e-06/0.2889, allocations: 0 / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2889, allocations: 0 / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.289, allocations: 20.03 kB / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.843e-06/0.289, allocations: 0 / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.2891, allocations: 4 kB / 374.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2892, allocations: 11.98 kB / 374.2 MB, free: 5.445 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.000146/0.2893, allocations: 129.7 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.2894, allocations: 7.906 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.2894, allocations: 20.75 kB / 374.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-06/0.2894, allocations: 3.938 kB / 374.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.273e-06/0.2894, allocations: 0 / 374.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-06/0.2895, allocations: 7.938 kB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.2901, allocations: 399.2 kB / 374.7 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-06/0.2901, allocations: 0 / 374.7 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.2902, allocations: 8 kB / 374.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.913e-06/0.2902, allocations: 0 / 374.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2902, allocations: 4 kB / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.283e-06/0.2903, allocations: 384 / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.057e-06/0.2903, allocations: 0 / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.2906, allocations: 208.2 kB / 375 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.2907, allocations: 105 kB / 375.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.2908, allocations: 0 / 375.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2909, allocations: 8 kB / 375.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.2909, allocations: 7.984 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.291, allocations: 0 / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.2911, allocations: 139.2 kB / 375.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.2912, allocations: 0 / 375.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.2916, allocations: 31.98 kB / 375.2 MB, free: 4.281 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001524/0.2931, allocations: 446 kB / 375.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.2935, allocations: 147.3 kB / 375.8 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2935, allocations: 4.25 kB / 375.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2936, allocations: 39.91 kB / 375.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.294, allocations: 19.92 kB / 375.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.2946, allocations: 267.7 kB / 376.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.295, allocations: 0.7083 MB / 376.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.295, allocations: 11.44 kB / 376.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of SimCode: time 1.51e-06/0.2951, allocations: 0 / 376.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of Templates: time 0.004645/0.2997, allocations: 1.869 MB / 378.7 MB, free: 0.8086 MB / 298.7 MB