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.Test7.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.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 1.842/1.842, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004433, allocations: 15.98 kB / 282.5 MB, free: 9.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08772, allocations: 48.71 MB / 331.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.001994/0.08975, allocations: 1.198 MB / 332.4 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005804/0.09035, allocations: 249.1 kB / 332.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.09041, allocations: 0 / 332.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.09057, allocations: 11.88 kB / 332.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.09073, allocations: 27.97 kB / 332.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.09087, allocations: 31.91 kB / 332.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.09101, allocations: 39.89 kB / 332.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.09111, allocations: 15.97 kB / 332.8 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.09117, allocations: 15.92 kB / 332.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.09125, allocations: 19.92 kB / 332.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.09128, allocations: 3.938 kB / 332.8 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-05/0.09135, allocations: 12 kB / 332.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.0914, allocations: 15.92 kB / 332.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.09145, allocations: 33.7 kB / 332.9 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.09161, allocations: 43.92 kB / 332.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.441e-06/0.09162, allocations: 0 / 332.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.561e-06/0.09163, allocations: 0 / 332.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.09165, allocations: 0 / 332.9 MB, free: 7.23 MB / 282.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.0004863/0.09214, allocations: 381.2 kB / 333.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.09219, allocations: 12.03 kB / 333.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.09224, allocations: 7.906 kB / 333.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.09247, allocations: 186.8 kB / 333.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.09251, allocations: 8 kB / 333.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.09254, allocations: 3.938 kB / 333.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.09271, allocations: 49.67 kB / 333.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.09274, allocations: 0 / 333.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.09276, allocations: 3.984 kB / 333.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.09278, allocations: 4 kB / 333.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.0929, allocations: 27.98 kB / 333.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.09338, allocations: 284.8 kB / 333.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.09363, allocations: 50.55 kB / 333.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.09367, allocations: 8 kB / 333.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.09371, allocations: 30.56 kB / 333.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.09372, allocations: 0 / 333.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007029/0.09443, allocations: 165.4 kB / 334.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.0945, allocations: 59.34 kB / 334.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.09468, allocations: 146.2 kB / 334.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.09472, allocations: 25.7 kB / 334.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.09482, allocations: 158.6 kB / 334.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.09486, allocations: 15.75 kB / 334.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-06/0.09488, allocations: 0 / 334.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.09503, allocations: 322.8 kB / 334.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.09516, allocations: 27.98 kB / 334.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.355e-05/0.09527, allocations: 23.98 kB / 334.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.09541, allocations: 57.62 kB / 334.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-06/0.09543, allocations: 4 kB / 334.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003176/0.09576, allocations: 123.3 kB / 335 MB, free: 4.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.09582, allocations: 37.14 kB / 335.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.638e-06/0.09584, allocations: 0 / 335.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.09586, allocations: 0 / 335.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.335e-05/0.09596, allocations: 19.98 kB / 335.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.344e-06/0.09598, allocations: 0 / 335.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.09605, allocations: 8.203 kB / 335.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.09607, allocations: 7.984 kB / 335.1 MB, free: 4.785 MB / 282.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.0001202/0.0962, allocations: 117.8 kB / 335.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.09626, allocations: 4 kB / 335.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.0966, allocations: 121.5 kB / 335.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-06/0.09662, allocations: 3.938 kB / 335.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.447e-06/0.09664, allocations: 0 / 335.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-06/0.09665, allocations: 0 / 335.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.09726, allocations: 358.5 kB / 335.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-06/0.09728, allocations: 0 / 335.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.09737, allocations: 19.98 kB / 335.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.832e-06/0.09739, allocations: 0 / 335.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.532e-06/0.09741, allocations: 0 / 335.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.565e-06/0.09742, allocations: 4 kB / 335.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-06/0.09744, allocations: 3.953 kB / 335.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.09777, allocations: 187.4 kB / 335.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.09785, allocations: 81.11 kB / 336 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.09788, allocations: 4 kB / 336 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.09799, allocations: 7.984 kB / 336 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.09805, allocations: 11.95 kB / 336 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-06/0.09807, allocations: 3.938 kB / 336 MB, free: 3.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.0982, allocations: 123.3 kB / 336.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.09821, allocations: 0 / 336.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.09857, allocations: 16 kB / 336.2 MB, free: 3.633 MB / 282.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.0007413/0.09933, allocations: 255.3 kB / 336.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.09971, allocations: 111.4 kB / 336.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.373e-06/0.09973, allocations: 0 / 336.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.09986, allocations: 35.91 kB / 336.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1001, allocations: 14.62 kB / 336.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.1006, allocations: 218.2 kB / 336.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.101, allocations: 0.6965 MB / 337.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1011, allocations: 15.44 kB / 337.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of SimCode: time 1.645e-06/0.1011, allocations: 4 kB / 337.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of Templates: time 0.003412/0.1045, allocations: 1.2 MB / 338.7 MB, free: 1.074 MB / 282.7 MB