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.Test22.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.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004373, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002221/0.2784, allocations: 1.349 MB / 370.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2799, allocations: 0.7164 MB / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.28, allocations: 0 / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.2802, allocations: 27.84 kB / 371.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2804, allocations: 35.91 kB / 371.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.2806, allocations: 55.81 kB / 371.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.2808, allocations: 67.86 kB / 371.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.2809, allocations: 11.97 kB / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.281, allocations: 39.84 kB / 371.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.2811, allocations: 27.84 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2811, allocations: 4 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.2812, allocations: 31.98 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.2813, allocations: 15.92 kB / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.2814, allocations: 41.64 kB / 371.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.2816, allocations: 79.81 kB / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.852e-06/0.2816, allocations: 0 / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.976e-06/0.2816, allocations: 3.938 kB / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.609e-06/0.2816, allocations: 4 kB / 371.7 MB, free: 8.172 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.0006235/0.2823, allocations: 451 kB / 372.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2823, allocations: 8.031 kB / 372.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.2824, allocations: 15.81 kB / 372.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.2827, allocations: 202.8 kB / 372.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2827, allocations: 3.984 kB / 372.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.2827, allocations: 4 kB / 372.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.2829, allocations: 53.67 kB / 372.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.283, allocations: 3.906 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.283, allocations: 11.88 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-06/0.283, allocations: 3.953 kB / 372.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2831, allocations: 19.98 kB / 372.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.2836, allocations: 296.9 kB / 372.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.2838, allocations: 54.69 kB / 372.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.2839, allocations: 3.938 kB / 372.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.2841, allocations: 71.34 kB / 372.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.569e-06/0.2841, allocations: 4 kB / 372.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006849/0.2848, allocations: 181.2 kB / 373.1 MB, free: 6.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2849, allocations: 55.41 kB / 373.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.2851, allocations: 186 kB / 373.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.2852, allocations: 29.7 kB / 373.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2853, allocations: 158.6 kB / 373.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.2853, allocations: 23.7 kB / 373.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.2853, allocations: 4 kB / 373.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2855, allocations: 318.8 kB / 373.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2856, allocations: 27.98 kB / 373.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.2858, allocations: 50.67 kB / 373.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2859, allocations: 61.7 kB / 373.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-06/0.2859, allocations: 0 / 373.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003611/0.2863, allocations: 159.2 kB / 374.1 MB, free: 5.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.2864, allocations: 41.67 kB / 374.1 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-06/0.2864, allocations: 4 kB / 374.1 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2864, allocations: 4 kB / 374.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2866, allocations: 15.94 kB / 374.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.955e-06/0.2866, allocations: 3.984 kB / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.2867, allocations: 4 kB / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2867, allocations: 4 kB / 374.2 MB, free: 5.434 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.0001459/0.2868, allocations: 129.8 kB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.2869, allocations: 11.89 kB / 374.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.287, allocations: 20.77 kB / 374.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.799e-06/0.287, allocations: 7.938 kB / 374.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.644e-06/0.287, allocations: 0 / 374.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.932e-06/0.287, allocations: 3.938 kB / 374.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.2877, allocations: 403.6 kB / 374.7 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2877, allocations: 0 / 374.7 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.2877, allocations: 12 kB / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.746e-06/0.2878, allocations: 3.984 kB / 374.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2878, allocations: 8.016 kB / 374.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.118e-06/0.2878, allocations: 4 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.335e-06/0.2878, allocations: 3.938 kB / 374.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.2882, allocations: 196.3 kB / 375 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.2883, allocations: 96.95 kB / 375.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2883, allocations: 4 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2884, allocations: 4 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.2885, allocations: 11.98 kB / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.2885, allocations: 4 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.2887, allocations: 131.2 kB / 375.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.2887, allocations: 0 / 375.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000373/0.2891, allocations: 32 kB / 375.2 MB, free: 4.262 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.001529/0.2906, allocations: 456 kB / 375.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.291, allocations: 151.3 kB / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.19e-06/0.291, allocations: 192 / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2911, allocations: 27.94 kB / 375.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2915, allocations: 19.92 kB / 375.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.2921, allocations: 267.8 kB / 376.1 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.2925, allocations: 0.7004 MB / 376.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.2926, allocations: 19.42 kB / 376.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.502e-06/0.2926, allocations: 0 / 376.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004649/0.2973, allocations: 1.877 MB / 378.7 MB, free: 0.7852 MB / 298.7 MB