Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 16 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3649, allocations: 54.86 MB / 369.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.5084, allocations: 80.93 MB / 450.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5087, allocations: 71.97 kB / 450.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.5219, allocations: 2.826 MB / 453.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5219, allocations: 3.938 kB / 453.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5219, allocations: 0 / 453.6 MB, free: 8.812 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000592/0.5225, allocations: 404.8 kB / 454 MB, free: 8.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5226, allocations: 8.031 kB / 454 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.5227, allocations: 15.84 kB / 454 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.523, allocations: 190.9 kB / 454.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.523, allocations: 0 / 454.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.523, allocations: 4 kB / 454.2 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.5233, allocations: 49.67 kB / 454.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5233, allocations: 3.938 kB / 454.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5233, allocations: 4 kB / 454.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5233, allocations: 0 / 454.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.5235, allocations: 35.94 kB / 454.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.5241, allocations: 284.8 kB / 454.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.5244, allocations: 46.55 kB / 454.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.5244, allocations: 4 kB / 454.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.5245, allocations: 32.38 kB / 454.7 MB, free: 7.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.5245, allocations: 0 / 454.7 MB, free: 7.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009249/0.5254, allocations: 177.2 kB / 454.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.5255, allocations: 59.39 kB / 454.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.5257, allocations: 147.3 kB / 455.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.5258, allocations: 33.7 kB / 455.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.5259, allocations: 158.5 kB / 455.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.5259, allocations: 11.8 kB / 455.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.5259, allocations: 8 kB / 455.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5261, allocations: 314.8 kB / 455.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5262, allocations: 23.98 kB / 455.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.5264, allocations: 31.91 kB / 455.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.5266, allocations: 57.69 kB / 455.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5266, allocations: 4 kB / 455.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003909/0.527, allocations: 119.6 kB / 455.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.5271, allocations: 32.36 kB / 455.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5271, allocations: 11.89 kB / 455.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5271, allocations: 0 / 455.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.5272, allocations: 20 kB / 455.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5273, allocations: 3.984 kB / 455.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.5274, allocations: 11.91 kB / 455.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.5274, allocations: 0 / 455.9 MB, free: 6.316 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 (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.0001333/0.5275, allocations: 125.8 kB / 456 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.5276, allocations: 7.938 kB / 456 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.528, allocations: 109.9 kB / 456.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.528, allocations: 3.953 kB / 456.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5281, allocations: 0 / 456.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5281, allocations: 3.938 kB / 456.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.5288, allocations: 366.5 kB / 456.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5288, allocations: 0 / 456.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.5289, allocations: 15.98 kB / 456.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.5289, allocations: 3.953 kB / 456.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.529, allocations: 4 kB / 456.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.529, allocations: 0 / 456.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.529, allocations: 0 / 456.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.5294, allocations: 195.4 kB / 456.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.5295, allocations: 85.02 kB / 456.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.5295, allocations: 3.953 kB / 456.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5296, allocations: 12.17 kB / 456.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.5297, allocations: 11.94 kB / 456.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.5297, allocations: 4 kB / 456.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.5299, allocations: 119.2 kB / 456.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5299, allocations: 0 / 456.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.5302, allocations: 12 kB / 456.9 MB, free: 5.152 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 (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.0008649/0.5311, allocations: 294.6 kB / 457.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004158/0.5315, allocations: 119.4 kB / 457.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5315, allocations: 3.938 kB / 457.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.5317, allocations: 39.92 kB / 457.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.532, allocations: 7.922 kB / 457.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.5326, allocations: 230.4 kB / 457.6 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.5329, allocations: 0.7004 MB / 458.3 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.533, allocations: 15.44 kB / 458.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.533, allocations: 0 / 458.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of Templates: time 0.004169/0.5372, allocations: 1.269 MB / 459.6 MB, free: 2.473 MB / 378.7 MB