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.Test51.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.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004513, allocations: 16 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 54.88 MB / 369.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002319/0.2837, allocations: 1.345 MB / 370.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2852, allocations: 0.7202 MB / 371.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.2853, allocations: 0 / 371.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.2856, allocations: 31.83 kB / 371.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.2858, allocations: 43.88 kB / 371.3 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.286, allocations: 51.83 kB / 371.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.2862, allocations: 71.84 kB / 371.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.2863, allocations: 8 kB / 371.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.2864, allocations: 39.84 kB / 371.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.2865, allocations: 27.91 kB / 371.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2865, allocations: 0 / 371.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.2866, allocations: 35.92 kB / 371.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.2867, allocations: 15.92 kB / 371.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.2867, allocations: 41.7 kB / 371.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.2869, allocations: 87.8 kB / 371.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.895e-06/0.287, allocations: 0 / 371.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.97e-06/0.287, allocations: 3.938 kB / 371.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.414e-06/0.287, allocations: 0 / 371.7 MB, free: 8.039 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.0006389/0.2876, allocations: 462.9 kB / 372.2 MB, free: 7.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2877, allocations: 12.03 kB / 372.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.2877, allocations: 19.8 kB / 372.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.288, allocations: 202.9 kB / 372.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.2881, allocations: 0 / 372.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.2881, allocations: 4 kB / 372.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2883, allocations: 57.67 kB / 372.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2883, allocations: 0 / 372.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2884, allocations: 3.938 kB / 372.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.232e-06/0.2884, allocations: 7.938 kB / 372.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.2885, allocations: 23.94 kB / 372.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.289, allocations: 296.9 kB / 372.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2892, allocations: 54.62 kB / 372.8 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.2893, allocations: 4 kB / 372.8 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.2895, allocations: 79.28 kB / 372.9 MB, free: 6.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.51e-06/0.2895, allocations: 0 / 372.9 MB, free: 6.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006959/0.2902, allocations: 189 kB / 373.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.2903, allocations: 55.41 kB / 373.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.2906, allocations: 218.3 kB / 373.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.2906, allocations: 25.7 kB / 373.4 MB, free: 6.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.2907, allocations: 178.4 kB / 373.6 MB, free: 5.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.2908, allocations: 23.66 kB / 373.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-06/0.2908, allocations: 0 / 373.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.291, allocations: 326.8 kB / 373.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.2911, allocations: 27.98 kB / 373.9 MB, free: 5.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2912, allocations: 46.69 kB / 374 MB, free: 5.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.2914, allocations: 61.7 kB / 374 MB, free: 5.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-06/0.2914, allocations: 0 / 374 MB, free: 5.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003694/0.2918, allocations: 155.2 kB / 374.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.2919, allocations: 45.67 kB / 374.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2919, allocations: 0 / 374.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2919, allocations: 4 kB / 374.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.2921, allocations: 20.3 kB / 374.3 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.161e-06/0.2921, allocations: 0 / 374.3 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.2922, allocations: 8 kB / 374.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2922, allocations: 8 kB / 374.3 MB, free: 5.223 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.0001714/0.2924, allocations: 137.3 kB / 374.4 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.2925, allocations: 7.906 kB / 374.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.814e-05/0.2925, allocations: 25.34 kB / 374.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-06/0.2925, allocations: 4 kB / 374.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.129e-06/0.2926, allocations: 0 / 374.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.455e-06/0.2926, allocations: 7.922 kB / 374.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006916/0.2933, allocations: 403.2 kB / 374.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-06/0.2933, allocations: 0 / 374.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.2934, allocations: 8 kB / 374.9 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2934, allocations: 0 / 374.9 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2934, allocations: 4.031 kB / 374.9 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.605e-06/0.2934, allocations: 4 kB / 374.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.2934, allocations: 3.984 kB / 374.9 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.2938, allocations: 200.2 kB / 375.1 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.2939, allocations: 100.9 kB / 375.2 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.2939, allocations: 4 kB / 375.2 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.294, allocations: 8.094 kB / 375.2 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.2941, allocations: 11.92 kB / 375.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.2941, allocations: 4 kB / 375.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.2943, allocations: 163.2 kB / 375.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.95e-07/0.2944, allocations: 0 / 375.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004022/0.2948, allocations: 27.98 kB / 375.4 MB, free: 4.023 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.001549/0.2963, allocations: 453 kB / 375.8 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.2968, allocations: 147.3 kB / 376 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.351e-06/0.2968, allocations: 0 / 376 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.2969, allocations: 35.92 kB / 376 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2972, allocations: 20.12 kB / 376 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.2979, allocations: 292.4 kB / 376.3 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.2983, allocations: 0.716 MB / 377 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.2984, allocations: 15.44 kB / 377 MB, free: 2.379 MB / 298.7 MB Notification: Performance of SimCode: time 1.882e-06/0.2984, allocations: 4 kB / 377 MB, free: 2.375 MB / 298.7 MB Notification: Performance of Templates: time 0.004824/0.3033, allocations: 1.939 MB / 379 MB, free: 448 kB / 298.7 MB