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.Test27.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.Test27,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.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.116e-05, allocations: 7.938 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3793, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.5189, allocations: 80.23 MB / 438.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.5192, allocations: 71.95 kB / 438.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01236/0.5315, allocations: 3.298 MB / 441.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.287e-06/0.5316, allocations: 0 / 441.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.5316, allocations: 4 kB / 441.6 MB, free: 11.24 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.000501/0.5321, allocations: 423.8 kB / 442 MB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5322, allocations: 8.031 kB / 442.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.5322, allocations: 15.81 kB / 442.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.5325, allocations: 206.9 kB / 442.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.5326, allocations: 0 / 442.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.5326, allocations: 12 kB / 442.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.394e-05/0.5327, allocations: 4 kB / 442.3 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.201e-05/0.5328, allocations: 45.62 kB / 442.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5328, allocations: 3.953 kB / 442.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.5329, allocations: 3.984 kB / 442.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-06/0.5329, allocations: 7.938 kB / 442.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.5333, allocations: 269.4 kB / 442.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.5335, allocations: 38.58 kB / 442.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.5335, allocations: 12.86 kB / 442.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5336, allocations: 0 / 442.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.5336, allocations: 40.27 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.212e-06/0.5336, allocations: 0 / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004676/0.5341, allocations: 117.3 kB / 442.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.5342, allocations: 51.41 kB / 442.9 MB, free: 9.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.5345, allocations: 222.6 kB / 443.1 MB, free: 9.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5345, allocations: 29.7 kB / 443.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5346, allocations: 166.5 kB / 443.3 MB, free: 9.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.5347, allocations: 19.75 kB / 443.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.5347, allocations: 0 / 443.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5349, allocations: 314.8 kB / 443.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.5349, allocations: 15.94 kB / 443.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.535, allocations: 12 kB / 443.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.535, allocations: 20.12 kB / 443.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-06/0.535, allocations: 0 / 443.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001517/0.5352, allocations: 61.69 kB / 443.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.5353, allocations: 29.7 kB / 443.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.448e-06/0.5353, allocations: 7.953 kB / 443.7 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5353, allocations: 0 / 443.7 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.5354, allocations: 15.98 kB / 443.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.31e-06/0.5354, allocations: 0 / 443.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.5355, allocations: 8 kB / 443.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.5355, allocations: 4 kB / 443.8 MB, free: 8.879 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.823e-05/0.5356, allocations: 105 kB / 443.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.5357, allocations: 15.75 kB / 443.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.5359, allocations: 75.31 kB / 444 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.5359, allocations: 3.953 kB / 444 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.135e-06/0.536, allocations: 0 / 444 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.217e-06/0.536, allocations: 3.984 kB / 444 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.5365, allocations: 335.1 kB / 444.3 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.017e-06/0.5365, allocations: 11.88 kB / 444.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.5366, allocations: 11.98 kB / 444.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.398e-06/0.5366, allocations: 4 kB / 444.3 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5366, allocations: 3.953 kB / 444.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.119e-06/0.5367, allocations: 0 / 444.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.68e-06/0.5367, allocations: 0 / 444.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.5369, allocations: 163.6 kB / 444.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.537, allocations: 101 kB / 444.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.537, allocations: 8 kB / 444.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5371, allocations: 7.953 kB / 444.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.5372, allocations: 7.984 kB / 444.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-06/0.5372, allocations: 0 / 444.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002269/0.5375, allocations: 180.1 kB / 444.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5375, allocations: 4 kB / 444.8 MB, free: 7.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000338/0.5378, allocations: 16 kB / 444.8 MB, free: 7.754 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.0008124/0.5386, allocations: 258.9 kB / 445.1 MB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.5388, allocations: 83.41 kB / 445.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.961e-06/0.5389, allocations: 3.938 kB / 445.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.5389, allocations: 16 kB / 445.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.5392, allocations: 8.125 kB / 445.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.5397, allocations: 238.1 kB / 445.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.5401, allocations: 0.708 MB / 446.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.5402, allocations: 19.42 kB / 446.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5402, allocations: 7.938 kB / 446.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of Templates: time 0.004044/0.5443, allocations: 1.504 MB / 447.6 MB, free: 4.879 MB / 378.7 MB