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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.827/1.827, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004397, allocations: 16 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2789, allocations: 48.7 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001839/0.2808, allocations: 1.294 MB / 332.5 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.2816, allocations: 417.9 kB / 332.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.2817, allocations: 2.312 kB / 332.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.2819, allocations: 28.25 kB / 332.9 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.2821, allocations: 31.48 kB / 333 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.2823, allocations: 63.08 kB / 333 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2824, allocations: 49.19 kB / 333.1 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.2825, allocations: 14.03 kB / 333.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.2826, allocations: 28.12 kB / 333.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.2827, allocations: 22.83 kB / 333.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.2827, allocations: 1.656 kB / 333.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.2828, allocations: 33.31 kB / 333.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.2829, allocations: 18.97 kB / 333.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.2829, allocations: 37.3 kB / 333.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2831, allocations: 82.2 kB / 333.3 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.442e-06/0.2831, allocations: 4 kB / 333.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2831, allocations: 0 / 333.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.131e-06/0.2832, allocations: 0 / 333.3 MB, free: 5.328 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.000402/0.2836, allocations: 411.7 kB / 333.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2836, allocations: 8.031 kB / 333.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.2837, allocations: 13.55 kB / 333.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.2839, allocations: 194.9 kB / 333.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2839, allocations: 1.5 kB / 333.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.2839, allocations: 3.344 kB / 333.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.284, allocations: 47.28 kB / 334 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2841, allocations: 3.938 kB / 334 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2841, allocations: 0 / 334 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-06/0.2841, allocations: 2.094 kB / 334 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.486e-05/0.2842, allocations: 12.22 kB / 334 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.2845, allocations: 292.1 kB / 334.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.2847, allocations: 43.09 kB / 334.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2847, allocations: 4.859 kB / 334.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.2849, allocations: 59.12 kB / 334.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.367e-06/0.2849, allocations: 1.25 kB / 334.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003916/0.2853, allocations: 111.1 kB / 334.5 MB, free: 4.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.2854, allocations: 56.69 kB / 334.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.2856, allocations: 181.4 kB / 334.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2856, allocations: 27.45 kB / 334.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.2856, allocations: 165.4 kB / 334.9 MB, free: 3.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.2857, allocations: 19.78 kB / 334.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.2857, allocations: 1.062 kB / 334.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.2858, allocations: 318 kB / 335.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.2858, allocations: 18.77 kB / 335.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/0.2859, allocations: 16.47 kB / 335.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.286, allocations: 50.27 kB / 335.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-06/0.286, allocations: 0 / 335.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001929/0.2862, allocations: 121 kB / 335.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.2862, allocations: 34.55 kB / 335.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.838e-06/0.2862, allocations: 1.562 kB / 335.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2863, allocations: 0 / 335.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.2863, allocations: 9.062 kB / 335.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.877e-06/0.2863, allocations: 0.9062 kB / 335.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.2864, allocations: 11.92 kB / 335.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2864, allocations: 2.875 kB / 335.5 MB, free: 3.301 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.164e-05/0.2865, allocations: 134.4 kB / 335.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.2866, allocations: 11.59 kB / 335.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.2866, allocations: 17.91 kB / 335.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2867, allocations: 1.984 kB / 335.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-06/0.2867, allocations: 0 / 335.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-06/0.2867, allocations: 1.906 kB / 335.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.287, allocations: 337.5 kB / 336 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-06/0.2871, allocations: 0 / 336 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.2871, allocations: 5.359 kB / 336 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.97e-06/0.2871, allocations: 1.406 kB / 336 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2871, allocations: 10.06 kB / 336 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.853e-06/0.2872, allocations: 4.641 kB / 336 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-06/0.2872, allocations: 0 / 336 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.2873, allocations: 169 kB / 336.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.2874, allocations: 84.92 kB / 336.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.2874, allocations: 1.922 kB / 336.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.2875, allocations: 1.984 kB / 336.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.2876, allocations: 4.344 kB / 336.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2876, allocations: 10.47 kB / 336.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2877, allocations: 137.2 kB / 336.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.2878, allocations: 0 / 336.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.2881, allocations: 27.75 kB / 336.4 MB, free: 2.465 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.001155/0.2893, allocations: 373.5 kB / 336.8 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.2895, allocations: 106.1 kB / 336.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.673e-06/0.2895, allocations: 0 / 336.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.2896, allocations: 16.5 kB / 336.9 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.2899, allocations: 19.03 kB / 336.9 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.2903, allocations: 238.6 kB / 337.2 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.2905, allocations: 0.704 MB / 337.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.2905, allocations: 14.16 kB / 337.9 MB, free: 1.25 MB / 266.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2906, allocations: 0 / 337.9 MB, free: 1.25 MB / 266.7 MB Notification: Performance of Templates: time 0.003976/0.2945, allocations: 1.684 MB / 339.6 MB, free: 0.6797 MB / 266.7 MB