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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.161/2.161, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004542, allocations: 16 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2936, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002206/0.2959, allocations: 1.349 MB / 370.5 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2973, allocations: 0.7202 MB / 371.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.2974, allocations: 11.94 kB / 371.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.2977, allocations: 23.84 kB / 371.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.2979, allocations: 35.95 kB / 371.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.2981, allocations: 51.81 kB / 371.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.2982, allocations: 67.86 kB / 371.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.2983, allocations: 7.984 kB / 371.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.95e-05/0.2984, allocations: 47.84 kB / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.2985, allocations: 31.84 kB / 371.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.2986, allocations: 4 kB / 371.5 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.2987, allocations: 27.97 kB / 371.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.2988, allocations: 23.92 kB / 371.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.652e-05/0.2989, allocations: 41.64 kB / 371.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.2991, allocations: 103.8 kB / 371.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.7e-06/0.2992, allocations: 0 / 371.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.949e-06/0.2992, allocations: 0 / 371.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.703e-06/0.2992, allocations: 0 / 371.7 MB, free: 8.125 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.0006297/0.2998, allocations: 478.8 kB / 372.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2999, allocations: 8.031 kB / 372.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.2999, allocations: 15.81 kB / 372.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.3002, allocations: 210.7 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3003, allocations: 4 kB / 372.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.3003, allocations: 4 kB / 372.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3005, allocations: 53.67 kB / 372.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3005, allocations: 0 / 372.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3006, allocations: 11.94 kB / 372.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.816e-06/0.3006, allocations: 3.953 kB / 372.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3007, allocations: 23.97 kB / 372.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.3011, allocations: 300.9 kB / 372.8 MB, free: 6.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3014, allocations: 54.69 kB / 372.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3014, allocations: 4 kB / 372.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.3016, allocations: 79.25 kB / 373 MB, free: 6.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.406e-06/0.3016, allocations: 3.938 kB / 373 MB, free: 6.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006574/0.3023, allocations: 181.1 kB / 373.1 MB, free: 6.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3024, allocations: 55.41 kB / 373.2 MB, free: 6.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.3027, allocations: 254.5 kB / 373.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3028, allocations: 33.69 kB / 373.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3029, allocations: 178.4 kB / 373.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.3029, allocations: 27.64 kB / 373.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-06/0.303, allocations: 3.938 kB / 373.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3031, allocations: 318.8 kB / 374 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3033, allocations: 27.98 kB / 374 MB, free: 5.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3034, allocations: 49.7 kB / 374.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3035, allocations: 61.69 kB / 374.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3035, allocations: 4 kB / 374.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003427/0.3039, allocations: 155.2 kB / 374.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.304, allocations: 37.66 kB / 374.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.589e-06/0.304, allocations: 0 / 374.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.304, allocations: 4 kB / 374.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3041, allocations: 15.98 kB / 374.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3041, allocations: 0 / 374.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.3042, allocations: 8.375 kB / 374.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3043, allocations: 4 kB / 374.4 MB, free: 5.25 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.000167/0.3044, allocations: 145.3 kB / 374.5 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.3045, allocations: 15.81 kB / 374.5 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.3046, allocations: 29.34 kB / 374.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3046, allocations: 0 / 374.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.958e-06/0.3046, allocations: 0 / 374.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.139e-06/0.3046, allocations: 3.938 kB / 374.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.3052, allocations: 407.3 kB / 374.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.637e-06/0.3053, allocations: 4 kB / 374.9 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.3053, allocations: 12 kB / 375 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.49e-06/0.3053, allocations: 0 / 375 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3054, allocations: 0 / 375 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.511e-06/0.3054, allocations: 0 / 375 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3054, allocations: 4 kB / 375 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.3057, allocations: 212.2 kB / 375.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3058, allocations: 104.9 kB / 375.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.3059, allocations: 3.984 kB / 375.3 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.306, allocations: 4 kB / 375.3 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.306, allocations: 4 kB / 375.3 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3061, allocations: 3.984 kB / 375.3 MB, free: 4.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.3063, allocations: 192.5 kB / 375.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.3063, allocations: 0 / 375.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.3067, allocations: 28 kB / 375.5 MB, free: 4.004 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.001515/0.3082, allocations: 464.8 kB / 376 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.3086, allocations: 147.3 kB / 376.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.737e-06/0.3086, allocations: 0 / 376.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3087, allocations: 31.92 kB / 376.1 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.309, allocations: 20.05 kB / 376.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.3097, allocations: 332.6 kB / 376.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3101, allocations: 0.7199 MB / 377.2 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.3102, allocations: 19.44 kB / 377.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3102, allocations: 0 / 377.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of Templates: time 0.004771/0.315, allocations: 2.006 MB / 379.2 MB, free: 308 kB / 298.7 MB