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.CombiTable1Ds.Test21.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.523e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2755, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.3986, allocations: 80.46 MB / 438.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.3989, allocations: 71.95 kB / 438.6 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.4114, allocations: 3.183 MB / 441.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4115, allocations: 3.938 kB / 441.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.4115, allocations: 4 kB / 441.8 MB, free: 11.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004597/0.4119, allocations: 384.8 kB / 442.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.412, allocations: 12.03 kB / 442.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.4121, allocations: 11.86 kB / 442.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.4123, allocations: 175 kB / 442.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4123, allocations: 4 kB / 442.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.4124, allocations: 0 / 442.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.051e-05/0.4125, allocations: 12 kB / 442.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4126, allocations: 61.41 kB / 442.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4126, allocations: 0 / 442.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4127, allocations: 4 kB / 442.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.4127, allocations: 3.953 kB / 442.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.4131, allocations: 249.4 kB / 442.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.4133, allocations: 38.56 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.4133, allocations: 12.8 kB / 442.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.4134, allocations: 3.984 kB / 442.7 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4134, allocations: 42.5 kB / 442.8 MB, free: 9.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.115e-06/0.4134, allocations: 0 / 442.8 MB, free: 9.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004599/0.4139, allocations: 101.5 kB / 442.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.414, allocations: 77.11 kB / 442.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4141, allocations: 120.9 kB / 443 MB, free: 9.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4141, allocations: 25.7 kB / 443.1 MB, free: 9.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.4142, allocations: 150.6 kB / 443.2 MB, free: 9.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.4143, allocations: 19.75 kB / 443.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-06/0.4143, allocations: 0 / 443.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4145, allocations: 314.8 kB / 443.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/0.4145, allocations: 12 kB / 443.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.4146, allocations: 33.7 kB / 443.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.4146, allocations: 12.19 kB / 443.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-06/0.4146, allocations: 0 / 443.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001716/0.4148, allocations: 65.59 kB / 443.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.4149, allocations: 29.7 kB / 443.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.083e-06/0.4149, allocations: 4 kB / 443.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4149, allocations: 0 / 443.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.415, allocations: 23.94 kB / 443.7 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4151, allocations: 0 / 443.7 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.4151, allocations: 8.031 kB / 443.7 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4152, allocations: 7.938 kB / 443.7 MB, free: 8.902 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.16e-05/0.4153, allocations: 104.9 kB / 443.8 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.4153, allocations: 7.984 kB / 443.8 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.4155, allocations: 70.08 kB / 443.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-06/0.4156, allocations: 0 / 443.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.659e-06/0.4156, allocations: 3.953 kB / 443.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-06/0.4156, allocations: 0 / 443.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.416, allocations: 303 kB / 444.2 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.416, allocations: 3.938 kB / 444.2 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.4161, allocations: 12 kB / 444.2 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.4162, allocations: 0 / 444.2 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-06/0.4162, allocations: 4 kB / 444.2 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.546e-06/0.4162, allocations: 3.953 kB / 444.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4162, allocations: 3.984 kB / 444.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.4164, allocations: 147.8 kB / 444.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.4165, allocations: 93.06 kB / 444.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.4165, allocations: 4 kB / 444.5 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4166, allocations: 4 kB / 444.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.4167, allocations: 11.94 kB / 444.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-06/0.4167, allocations: 3.938 kB / 444.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.617e-05/0.4168, allocations: 87.28 kB / 444.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.4168, allocations: 4 kB / 444.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000394/0.4172, allocations: 31.98 kB / 444.6 MB, free: 7.93 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001076/0.4183, allocations: 321.4 kB / 444.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.4185, allocations: 79.41 kB / 445 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.005e-06/0.4186, allocations: 0 / 445 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.4186, allocations: 23.88 kB / 445 MB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.4189, allocations: 11.98 kB / 445 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.4192, allocations: 109.8 kB / 445.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4196, allocations: 0.6924 MB / 445.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.4197, allocations: 15.42 kB / 445.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of SimCode: time 1.879e-06/0.4197, allocations: 3.938 kB / 445.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of Templates: time 0.003971/0.4237, allocations: 1.446 MB / 447.3 MB, free: 5.207 MB / 378.7 MB