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.CombiTable1D.Test19.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.CombiTable1D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.091e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08765, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.4372, allocations: 74.67 MB / 401.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4375, allocations: 72.97 kB / 401.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.4486, allocations: 3.224 MB / 404.5 MB, free: 9.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.268e-06/0.4487, allocations: 0 / 404.5 MB, free: 9.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4487, allocations: 0 / 404.5 MB, free: 9.086 MB / 314.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.0003181/0.449, allocations: 393.8 kB / 404.9 MB, free: 8.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4491, allocations: 11.69 kB / 404.9 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.4491, allocations: 3.906 kB / 404.9 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.4493, allocations: 190 kB / 405.1 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4494, allocations: 3.844 kB / 405.1 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.4494, allocations: 7.75 kB / 405.1 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.4495, allocations: 62.16 kB / 405.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4495, allocations: 0 / 405.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4496, allocations: 0 / 405.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-06/0.4496, allocations: 0 / 405.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.656e-05/0.4496, allocations: 18.69 kB / 405.2 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.45, allocations: 278 kB / 405.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.4502, allocations: 48.09 kB / 405.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.4503, allocations: 15.25 kB / 405.5 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.4503, allocations: 0 / 405.5 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.4503, allocations: 34.5 kB / 405.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.808e-06/0.4503, allocations: 0 / 405.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004349/0.4508, allocations: 111.8 kB / 405.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.4508, allocations: 81.11 kB / 405.7 MB, free: 7.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.4509, allocations: 116.5 kB / 405.8 MB, free: 7.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.451, allocations: 29.64 kB / 405.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.451, allocations: 153.8 kB / 406 MB, free: 7.598 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.4511, allocations: 25.69 kB / 406 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-06/0.4511, allocations: 0 / 406 MB, free: 7.582 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.4511, allocations: 317.7 kB / 406.4 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.4512, allocations: 20.61 kB / 406.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.866e-05/0.4512, allocations: 35.88 kB / 406.4 MB, free: 7.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.4513, allocations: 47.56 kB / 406.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-06/0.4513, allocations: 0 / 406.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001698/0.4515, allocations: 94.55 kB / 406.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.4515, allocations: 33.55 kB / 406.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.153e-06/0.4516, allocations: 0 / 406.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4516, allocations: 0 / 406.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.4517, allocations: 19.45 kB / 406.6 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.146e-06/0.4517, allocations: 0 / 406.6 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.4518, allocations: 11.06 kB / 406.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4518, allocations: 7.828 kB / 406.6 MB, free: 7.086 MB / 314.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 5.236e-05/0.4519, allocations: 108.8 kB / 406.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.4519, allocations: 0 / 406.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.4521, allocations: 85.58 kB / 406.8 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-06/0.4521, allocations: 0 / 406.8 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-06/0.4521, allocations: 0 / 406.8 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-06/0.4521, allocations: 4 kB / 406.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.4525, allocations: 334.3 kB / 407.1 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-06/0.4525, allocations: 0 / 407.1 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.4526, allocations: 15.42 kB / 407.2 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.252e-06/0.4526, allocations: 0 / 407.2 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-06/0.4526, allocations: 3.938 kB / 407.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4527, allocations: 320 / 407.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4527, allocations: 3.938 kB / 407.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.4528, allocations: 171.9 kB / 407.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.4529, allocations: 88.84 kB / 407.4 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.4529, allocations: 3.875 kB / 407.4 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.453, allocations: 3.844 kB / 407.4 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.4531, allocations: 7.922 kB / 407.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-06/0.4531, allocations: 0 / 407.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.874e-05/0.4531, allocations: 94.19 kB / 407.5 MB, free: 6.273 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.344e-06/0.4532, allocations: 4 kB / 407.5 MB, free: 6.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00035/0.4535, allocations: 31.14 kB / 407.6 MB, free: 6.258 MB / 314.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.0008721/0.4544, allocations: 318.5 kB / 407.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.4546, allocations: 96.78 kB / 408 MB, free: 6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.354e-06/0.4546, allocations: 0 / 408 MB, free: 6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.4547, allocations: 22.98 kB / 408 MB, free: 5.996 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.4549, allocations: 7.906 kB / 408 MB, free: 5.992 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.4552, allocations: 130.9 kB / 408.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.4554, allocations: 0.6881 MB / 408.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.4554, allocations: 18.95 kB / 408.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of SimCode: time 2.932e-06/0.4555, allocations: 0 / 408.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of Templates: time 0.003426/0.4589, allocations: 1.475 MB / 410.3 MB, free: 4.41 MB / 314.7 MB