Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.847/1.847, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3004, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4116, allocations: 74.54 MB / 405.8 MB, free: 3.883 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4119, allocations: 71.91 kB / 405.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.4288, allocations: 5.179 MB / 411.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.281e-06/0.4288, allocations: 4 kB / 411.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.4289, allocations: 8 kB / 411.1 MB, free: 14.61 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008436/0.4297, allocations: 0.6355 MB / 411.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4298, allocations: 8.031 kB / 411.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.4299, allocations: 43.44 kB / 411.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.4304, allocations: 319.3 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.4305, allocations: 4 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.4305, allocations: 0 / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4307, allocations: 65.66 kB / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4307, allocations: 0 / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4307, allocations: 0 / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-06/0.4308, allocations: 3.938 kB / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4309, allocations: 31.97 kB / 412.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.4316, allocations: 436.6 kB / 412.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.4319, allocations: 38.56 kB / 412.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.4319, allocations: 4 kB / 412.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4319, allocations: 30.56 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.07e-06/0.432, allocations: 0 / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008126/0.4328, allocations: 248 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.4329, allocations: 59.39 kB / 413 MB, free: 12.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.4345, allocations: 0.7744 MB / 413.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.4346, allocations: 29.64 kB / 413.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.4348, allocations: 230.6 kB / 414 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4348, allocations: 15.75 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.4349, allocations: 0 / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.435, allocations: 318.8 kB / 414.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.4352, allocations: 27.98 kB / 414.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.4353, allocations: 23.98 kB / 414.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.4354, allocations: 49.69 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-06/0.4354, allocations: 0 / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003181/0.4358, allocations: 123.6 kB / 414.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.4358, allocations: 30.64 kB / 414.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.718e-06/0.4358, allocations: 0 / 414.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4359, allocations: 0 / 414.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.436, allocations: 23.92 kB / 414.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.436, allocations: 7.891 kB / 414.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.4361, allocations: 8 kB / 414.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4362, allocations: 4 kB / 414.6 MB, free: 10.82 MB / 346.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 () * Number of clocked 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 0.0002809/0.4365, allocations: 213.8 kB / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4366, allocations: 43.44 kB / 414.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.437, allocations: 132.9 kB / 415 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-06/0.437, allocations: 4 kB / 415 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.364e-06/0.437, allocations: 0 / 415 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.437, allocations: 11.94 kB / 415 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.4381, allocations: 0.5804 MB / 415.6 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.4381, allocations: 3.938 kB / 415.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.4382, allocations: 19.98 kB / 415.6 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4382, allocations: 0 / 415.6 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-06/0.4383, allocations: 0 / 415.6 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.419e-06/0.4383, allocations: 7.953 kB / 415.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4383, allocations: 0 / 415.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.4387, allocations: 222.9 kB / 415.9 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.4389, allocations: 152.6 kB / 416 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.439, allocations: 4 kB / 416 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4391, allocations: 11.98 kB / 416 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.4392, allocations: 7.953 kB / 416 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-06/0.4392, allocations: 192 / 416 MB, free: 9.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.4402, allocations: 0.6276 MB / 416.7 MB, free: 8.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.4403, allocations: 4 kB / 416.7 MB, free: 8.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004236/0.4407, allocations: 48 kB / 416.7 MB, free: 8.641 MB / 346.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 () * Number of clocked 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.0007613/0.4415, allocations: 263.5 kB / 417 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.4418, allocations: 115.3 kB / 417.1 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4418, allocations: 0 / 417.1 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.4419, allocations: 27.98 kB / 417.1 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.4422, allocations: 17.97 kB / 417.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.444, allocations: 0.9288 MB / 418.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.4446, allocations: 0.8288 MB / 418.9 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.4447, allocations: 23.62 kB / 418.9 MB, free: 6.418 MB / 346.7 MB Notification: Performance of SimCode: time 1.626e-06/0.4447, allocations: 0 / 418.9 MB, free: 6.418 MB / 346.7 MB Notification: Performance of Templates: time 0.01004/0.4548, allocations: 3.922 MB / 422.8 MB, free: 2.484 MB / 346.7 MB