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.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.915/1.915, allocations: 209.2 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004346, allocations: 12 kB / 282.6 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08651/0.08697, allocations: 48.71 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4102, allocations: 74.48 MB / 405.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4105, allocations: 71.91 kB / 405.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.4213, allocations: 2.551 MB / 408.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4213, allocations: 0 / 408.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.4213, allocations: 0 / 408.4 MB, free: 7.938 MB / 330.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.0004988/0.4218, allocations: 400.9 kB / 408.8 MB, free: 7.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4219, allocations: 16.03 kB / 408.8 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.4219, allocations: 3.906 kB / 408.8 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4222, allocations: 199.3 kB / 409 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4222, allocations: 0.9375 kB / 409 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.4223, allocations: 0 / 409 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4224, allocations: 49.67 kB / 409 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4225, allocations: 0 / 409 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4225, allocations: 8 kB / 409 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-06/0.4225, allocations: 0 / 409 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.4227, allocations: 27.98 kB / 409.1 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.4232, allocations: 269.7 kB / 409.3 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.4235, allocations: 46.56 kB / 409.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4235, allocations: 4 kB / 409.4 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4235, allocations: 34.56 kB / 409.4 MB, free: 6.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.203e-06/0.4236, allocations: 0 / 409.4 MB, free: 6.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006768/0.4242, allocations: 149.5 kB / 409.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.4243, allocations: 55.41 kB / 409.6 MB, free: 6.516 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4245, allocations: 117.2 kB / 409.7 MB, free: 6.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.4245, allocations: 33.7 kB / 409.8 MB, free: 6.352 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.4246, allocations: 162.4 kB / 409.9 MB, free: 6.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.4246, allocations: 11.8 kB / 409.9 MB, free: 6.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-06/0.4247, allocations: 8 kB / 409.9 MB, free: 6.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4248, allocations: 318.8 kB / 410.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.425, allocations: 27.92 kB / 410.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.4251, allocations: 27.97 kB / 410.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4252, allocations: 53.89 kB / 410.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4252, allocations: 0 / 410.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002998/0.4255, allocations: 119.4 kB / 410.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.4256, allocations: 29.7 kB / 410.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-06/0.4256, allocations: 0 / 410.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4256, allocations: 4.281 kB / 410.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.4258, allocations: 19.92 kB / 410.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4258, allocations: 4 kB / 410.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.4258, allocations: 7.938 kB / 410.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-06/0.4259, allocations: 0 / 410.5 MB, free: 5.539 MB / 330.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.0001239/0.426, allocations: 125.7 kB / 410.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.4261, allocations: 11.89 kB / 410.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.4264, allocations: 101.6 kB / 410.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-06/0.4264, allocations: 0 / 410.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.056e-06/0.4264, allocations: 0 / 410.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-06/0.4264, allocations: 0 / 410.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.427, allocations: 354.5 kB / 411.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-06/0.4271, allocations: 0 / 411.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.4271, allocations: 12 kB / 411.1 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.354e-06/0.4272, allocations: 3.984 kB / 411.1 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4272, allocations: 4 kB / 411.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.122e-06/0.4272, allocations: 0 / 411.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.607e-06/0.4272, allocations: 0 / 411.1 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.4275, allocations: 191.5 kB / 411.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.4276, allocations: 81.08 kB / 411.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4276, allocations: 11.98 kB / 411.4 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.4277, allocations: 4 kB / 411.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.4278, allocations: 8 kB / 411.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.4278, allocations: 7.984 kB / 411.4 MB, free: 4.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.421e-05/0.4279, allocations: 95.27 kB / 411.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-07/0.4279, allocations: 0 / 411.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.4283, allocations: 27.89 kB / 411.6 MB, free: 4.418 MB / 330.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.0007514/0.429, allocations: 260.3 kB / 411.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.4294, allocations: 107.4 kB / 411.9 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.616e-06/0.4294, allocations: 0 / 411.9 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.4295, allocations: 39.86 kB / 412 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.4297, allocations: 4 kB / 412 MB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.4302, allocations: 203 kB / 412.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.4306, allocations: 0.6887 MB / 412.8 MB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.4307, allocations: 15.44 kB / 412.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of SimCode: time 1.368e-06/0.4307, allocations: 0 / 412.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of Templates: time 0.003474/0.4342, allocations: 1.152 MB / 414 MB, free: 1.93 MB / 330.7 MB