Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.11/2.11, allocations: 234.9 MB / 250.5 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004573, allocations: 12 kB / 314.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2898, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.4123, allocations: 81.03 MB / 450.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4126, allocations: 71.97 kB / 450.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.426, allocations: 3.436 MB / 453.8 MB, free: 8.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.929e-06/0.426, allocations: 0 / 453.8 MB, free: 8.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.4261, allocations: 0 / 453.8 MB, free: 8.105 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005672/0.4266, allocations: 440.5 kB / 454.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4267, allocations: 8.031 kB / 454.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.4267, allocations: 11.86 kB / 454.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.427, allocations: 206.8 kB / 454.4 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4271, allocations: 3.984 kB / 454.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.4271, allocations: 4 kB / 454.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.4273, allocations: 61.61 kB / 454.5 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4273, allocations: 4 kB / 454.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.4274, allocations: 4 kB / 454.5 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.893e-06/0.4274, allocations: 8 kB / 454.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.4275, allocations: 35.92 kB / 454.6 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.428, allocations: 304.8 kB / 454.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.4282, allocations: 64.3 kB / 454.9 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4283, allocations: 4 kB / 454.9 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4283, allocations: 30.56 kB / 455 MB, free: 6.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.28e-06/0.4283, allocations: 0 / 455 MB, free: 6.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008417/0.4292, allocations: 205.2 kB / 455.2 MB, free: 6.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4292, allocations: 51.41 kB / 455.2 MB, free: 6.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.4296, allocations: 202.5 kB / 455.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4296, allocations: 29.64 kB / 455.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.4297, allocations: 170.8 kB / 455.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.4298, allocations: 31.55 kB / 455.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-06/0.4298, allocations: 0 / 455.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.43, allocations: 314.8 kB / 455.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.4301, allocations: 27.98 kB / 456 MB, free: 5.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4302, allocations: 39.97 kB / 456 MB, free: 5.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4304, allocations: 61.77 kB / 456.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-06/0.4304, allocations: 0 / 456.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003517/0.4308, allocations: 135.4 kB / 456.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.4308, allocations: 37.66 kB / 456.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.665e-06/0.4308, allocations: 4 kB / 456.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4309, allocations: 0 / 456.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.431, allocations: 23.92 kB / 456.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.551e-06/0.431, allocations: 0 / 456.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.4311, allocations: 11.98 kB / 456.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.4311, allocations: 0 / 456.3 MB, free: 5.379 MB / 378.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 (9): * Single equations (assignments): 8 * 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.0001454/0.4313, allocations: 131.4 kB / 456.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.4314, allocations: 15.91 kB / 456.4 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.4318, allocations: 146.8 kB / 456.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4318, allocations: 0 / 456.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.526e-06/0.4318, allocations: 0 / 456.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-06/0.4318, allocations: 0 / 456.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.4326, allocations: 414.5 kB / 457 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.435e-06/0.4326, allocations: 7.953 kB / 457 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-05/0.4327, allocations: 19.94 kB / 457 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.4327, allocations: 3.984 kB / 457 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.4327, allocations: 8 kB / 457 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.728e-06/0.4328, allocations: 0 / 457 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.951e-06/0.4328, allocations: 240 / 457 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.4331, allocations: 207.4 kB / 457.2 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.4332, allocations: 100.9 kB / 457.3 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.4333, allocations: 4.375 kB / 457.3 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4334, allocations: 7.984 kB / 457.3 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.4335, allocations: 4 kB / 457.3 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4335, allocations: 7.938 kB / 457.3 MB, free: 4.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.4337, allocations: 163.9 kB / 457.5 MB, free: 4.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.55e-07/0.4337, allocations: 0 / 457.5 MB, free: 4.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000362/0.4341, allocations: 28 kB / 457.5 MB, free: 4.027 MB / 378.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 (8): * Single equations (assignments): 8 * 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.0009915/0.4351, allocations: 298.5 kB / 457.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.4355, allocations: 131.4 kB / 457.9 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.95e-06/0.4355, allocations: 0 / 457.9 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.4356, allocations: 47.91 kB / 458 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.4359, allocations: 8 kB / 458 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.4366, allocations: 307.4 kB / 458.3 MB, free: 3.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.437, allocations: 0.7121 MB / 459 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.4371, allocations: 23.42 kB / 459 MB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.534e-06/0.4371, allocations: 0 / 459 MB, free: 2.512 MB / 378.7 MB Notification: Performance of Templates: time 0.006059/0.4431, allocations: 1.557 MB / 460.6 MB, free: 0.957 MB / 378.7 MB