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.Test16.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.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004428, allocations: 12 kB / 282.5 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08967, allocations: 48.71 MB / 331.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002135/0.09185, allocations: 1.198 MB / 332.4 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005993/0.09249, allocations: 241.2 kB / 332.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.09256, allocations: 0 / 332.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.09281, allocations: 71.77 kB / 332.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.09299, allocations: 47.92 kB / 332.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.09314, allocations: 31.92 kB / 332.8 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.09329, allocations: 47.88 kB / 332.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.09339, allocations: 15.97 kB / 332.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.09347, allocations: 23.92 kB / 332.9 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.09359, allocations: 43.81 kB / 332.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.09362, allocations: 0 / 332.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.0937, allocations: 16 kB / 332.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.09376, allocations: 19.92 kB / 332.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.09381, allocations: 29.7 kB / 333 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.09395, allocations: 55.86 kB / 333 MB, free: 7.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.684e-06/0.09397, allocations: 4 kB / 333 MB, free: 7.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.09398, allocations: 0 / 333 MB, free: 7.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.567e-06/0.094, allocations: 3.938 kB / 333 MB, free: 7.105 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.0005413/0.09455, allocations: 397.1 kB / 333.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.09459, allocations: 8.031 kB / 333.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.09465, allocations: 15.81 kB / 333.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.09489, allocations: 191.5 kB / 333.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.09491, allocations: 3.938 kB / 333.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.09494, allocations: 3.984 kB / 333.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.09512, allocations: 49.67 kB / 333.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.09515, allocations: 4 kB / 333.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.09517, allocations: 4 kB / 333.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-06/0.09518, allocations: 0 / 333.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.09532, allocations: 31.92 kB / 333.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.09577, allocations: 276.8 kB / 334 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.09602, allocations: 42.56 kB / 334 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.09606, allocations: 0 / 334 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.0961, allocations: 42.5 kB / 334.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.931e-06/0.09611, allocations: 0 / 334.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006871/0.09681, allocations: 157.4 kB / 334.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.09687, allocations: 59.3 kB / 334.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.09713, allocations: 198.3 kB / 334.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.09717, allocations: 25.7 kB / 334.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.09729, allocations: 166.5 kB / 334.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.09733, allocations: 19.75 kB / 334.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-06/0.09735, allocations: 0 / 334.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.09752, allocations: 314.8 kB / 335 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.09764, allocations: 23.98 kB / 335 MB, free: 4.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.09775, allocations: 27.98 kB / 335 MB, free: 4.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.09788, allocations: 49.88 kB / 335.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-06/0.0979, allocations: 4 kB / 335.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002919/0.0982, allocations: 119.4 kB / 335.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.09826, allocations: 33.7 kB / 335.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.536e-06/0.09827, allocations: 0 / 335.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.0983, allocations: 0 / 335.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.0984, allocations: 19.92 kB / 335.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.09842, allocations: 4 kB / 335.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.09849, allocations: 11.95 kB / 335.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.09851, allocations: 4 kB / 335.3 MB, free: 4.609 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.0001239/0.09865, allocations: 121.8 kB / 335.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.09871, allocations: 7.906 kB / 335.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.09903, allocations: 109.9 kB / 335.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.262e-06/0.09906, allocations: 0 / 335.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.407e-06/0.09907, allocations: 0 / 335.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-06/0.09909, allocations: 3.938 kB / 335.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.0997, allocations: 366.4 kB / 335.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.915e-06/0.09973, allocations: 3.984 kB / 335.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.09981, allocations: 12 kB / 335.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.611e-06/0.09983, allocations: 0 / 335.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.09985, allocations: 4 kB / 335.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.653e-06/0.09986, allocations: 0 / 335.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.196e-06/0.09987, allocations: 3.953 kB / 335.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.1002, allocations: 191.6 kB / 336.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.1003, allocations: 85.02 kB / 336.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1003, allocations: 4 kB / 336.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.1004, allocations: 7.984 kB / 336.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1005, allocations: 7.953 kB / 336.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-06/0.1005, allocations: 8 kB / 336.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1007, allocations: 150.1 kB / 336.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.9e-07/0.1007, allocations: 0 / 336.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.101, allocations: 16 kB / 336.4 MB, free: 3.422 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.0007567/0.1018, allocations: 256.9 kB / 336.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.1021, allocations: 107.3 kB / 336.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.532e-06/0.1021, allocations: 0 / 336.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1023, allocations: 31.92 kB / 336.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1025, allocations: 15.98 kB / 336.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.1031, allocations: 254.7 kB / 337 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.1035, allocations: 0.7004 MB / 337.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.1036, allocations: 19.42 kB / 337.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of SimCode: time 1.401e-06/0.1036, allocations: 0 / 337.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of Templates: time 0.003348/0.1069, allocations: 1.261 MB / 339 MB, free: 0.7656 MB / 282.7 MB