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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.396/2.396, allocations: 234.9 MB / 250.5 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004389, allocations: 15.94 kB / 314.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2941, allocations: 54.86 MB / 369.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002396/0.2965, allocations: 1.341 MB / 370.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2981, allocations: 0.7241 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.2983, allocations: 0 / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.2985, allocations: 31.84 kB / 371.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.2987, allocations: 31.95 kB / 371.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.2989, allocations: 59.75 kB / 371.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.2991, allocations: 67.91 kB / 371.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.241e-05/0.2992, allocations: 4 kB / 371.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.2993, allocations: 39.84 kB / 371.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.2994, allocations: 31.84 kB / 371.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2995, allocations: 4 kB / 371.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/0.2996, allocations: 24 kB / 371.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.2996, allocations: 19.91 kB / 371.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.2997, allocations: 37.64 kB / 371.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2999, allocations: 83.81 kB / 371.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.884e-06/0.2999, allocations: 4 kB / 371.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.082e-06/0.2999, allocations: 0 / 371.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.883e-06/0.3, allocations: 0 / 371.7 MB, free: 10.25 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.0006603/0.3006, allocations: 447 kB / 372.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3007, allocations: 8.031 kB / 372.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.3008, allocations: 19.81 kB / 372.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.3011, allocations: 198.8 kB / 372.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.3011, allocations: 8 kB / 372.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3012, allocations: 7.938 kB / 372.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3014, allocations: 53.67 kB / 372.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.3014, allocations: 7.906 kB / 372.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3014, allocations: 3.938 kB / 372.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-06/0.3014, allocations: 7.891 kB / 372.4 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.3015, allocations: 19.98 kB / 372.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.302, allocations: 296.9 kB / 372.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3023, allocations: 58.62 kB / 372.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3023, allocations: 3.984 kB / 372.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.3025, allocations: 79.33 kB / 372.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.402e-06/0.3026, allocations: 4 kB / 372.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006854/0.3033, allocations: 165.2 kB / 373 MB, free: 8.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.3033, allocations: 59.41 kB / 373.1 MB, free: 8.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3036, allocations: 186 kB / 373.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.3036, allocations: 25.7 kB / 373.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3038, allocations: 166.5 kB / 373.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3038, allocations: 23.7 kB / 373.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.3038, allocations: 8 kB / 373.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.304, allocations: 314.8 kB / 373.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3041, allocations: 31.98 kB / 373.8 MB, free: 7.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3043, allocations: 53.56 kB / 373.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3044, allocations: 61.7 kB / 374 MB, free: 7.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-06/0.3044, allocations: 0 / 374 MB, free: 7.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003748/0.3048, allocations: 159.2 kB / 374.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.3049, allocations: 41.67 kB / 374.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.393e-06/0.3049, allocations: 4 kB / 374.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3049, allocations: 0 / 374.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3051, allocations: 19.98 kB / 374.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.757e-06/0.3051, allocations: 0 / 374.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.3052, allocations: 4 kB / 374.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3052, allocations: 8 kB / 374.2 MB, free: 7.492 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.0001624/0.3054, allocations: 131 kB / 374.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3054, allocations: 11.91 kB / 374.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.3055, allocations: 16.67 kB / 374.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.985e-06/0.3055, allocations: 4 kB / 374.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.821e-06/0.3055, allocations: 0 / 374.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.315e-06/0.3055, allocations: 7.875 kB / 374.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.3062, allocations: 391.2 kB / 374.7 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.989e-06/0.3062, allocations: 384 / 374.7 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.3063, allocations: 15.94 kB / 374.7 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.434e-06/0.3063, allocations: 8.016 kB / 374.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3063, allocations: 4 kB / 374.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.124e-06/0.3064, allocations: 4 kB / 374.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3064, allocations: 0 / 374.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3067, allocations: 196.4 kB / 375 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.3068, allocations: 100.9 kB / 375.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.3069, allocations: 4 kB / 375.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.307, allocations: 4 kB / 375.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.307, allocations: 11.92 kB / 375.1 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3071, allocations: 4 kB / 375.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.3072, allocations: 135.2 kB / 375.2 MB, free: 6.359 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.3073, allocations: 4 kB / 375.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003816/0.3076, allocations: 28 kB / 375.2 MB, free: 6.328 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.001528/0.3092, allocations: 453 kB / 375.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.3096, allocations: 155.3 kB / 375.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.311e-06/0.3096, allocations: 0 / 375.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3097, allocations: 24 kB / 375.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.31, allocations: 23.22 kB / 375.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.3106, allocations: 267.7 kB / 376.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.3111, allocations: 0.7043 MB / 376.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.3111, allocations: 15.44 kB / 376.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of SimCode: time 1.925e-06/0.3111, allocations: 4 kB / 376.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of Templates: time 0.004613/0.3158, allocations: 1.873 MB / 378.7 MB, free: 2.859 MB / 298.7 MB