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.Test18.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.Test18,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.CombiTable1D.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 234.9 MB / 251.1 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004632, allocations: 16 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3857, allocations: 54.85 MB / 369.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5404, allocations: 81.33 MB / 451.1 MB, free: 11.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5407, allocations: 79.91 kB / 451.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.5565, allocations: 3.808 MB / 455 MB, free: 7.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5566, allocations: 0 / 455 MB, free: 7.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.5566, allocations: 0 / 455 MB, free: 7.473 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000599/0.5572, allocations: 408.8 kB / 455.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5573, allocations: 8.031 kB / 455.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.5574, allocations: 15.84 kB / 455.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.5576, allocations: 190.9 kB / 455.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5577, allocations: 0 / 455.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.5577, allocations: 8 kB / 455.6 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.558, allocations: 88.23 kB / 455.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.558, allocations: 0 / 455.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5581, allocations: 4 kB / 455.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5581, allocations: 0 / 455.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.5583, allocations: 47.86 kB / 455.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.5589, allocations: 385.1 kB / 456.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.5594, allocations: 89.16 kB / 456.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.5594, allocations: 0 / 456.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5595, allocations: 42.58 kB / 456.3 MB, free: 6.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5595, allocations: 3.938 kB / 456.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001178/0.5607, allocations: 241.5 kB / 456.5 MB, free: 5.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.5608, allocations: 110.8 kB / 456.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.561, allocations: 125.8 kB / 456.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.561, allocations: 25.7 kB / 456.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.5611, allocations: 170.5 kB / 456.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.5612, allocations: 31.55 kB / 457 MB, free: 5.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.5612, allocations: 4 kB / 457 MB, free: 5.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5613, allocations: 314.8 kB / 457.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.5615, allocations: 35.98 kB / 457.3 MB, free: 4.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.5617, allocations: 62.12 kB / 457.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.562, allocations: 77.77 kB / 457.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.562, allocations: 0 / 457.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004977/0.5625, allocations: 171.3 kB / 457.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.5625, allocations: 33.69 kB / 457.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5626, allocations: 0 / 457.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.5626, allocations: 3.984 kB / 457.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.5628, allocations: 27.92 kB / 457.7 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.5628, allocations: 0 / 457.7 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.5629, allocations: 7.938 kB / 457.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.5629, allocations: 8 kB / 457.7 MB, free: 4.512 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 (11): * Single equations (assignments): 10 * 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.0001427/0.5631, allocations: 125.8 kB / 457.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.5632, allocations: 11.86 kB / 457.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/0.5638, allocations: 149.7 kB / 458 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5638, allocations: 64 / 458 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.5638, allocations: 8 kB / 458 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5638, allocations: 4 kB / 458 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.5648, allocations: 0.5024 MB / 458.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.5649, allocations: 0 / 458.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.565, allocations: 24.02 kB / 458.5 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.5651, allocations: 4 kB / 458.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5651, allocations: 0 / 458.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.5651, allocations: 4 kB / 458.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5651, allocations: 0 / 458.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.5656, allocations: 311.4 kB / 458.8 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.5657, allocations: 88.95 kB / 458.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.5658, allocations: 4 kB / 458.9 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.5659, allocations: 11.98 kB / 458.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.566, allocations: 4 kB / 458.9 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.566, allocations: 12 kB / 458.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.5661, allocations: 103.2 kB / 459 MB, free: 3.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5662, allocations: 0 / 459 MB, free: 3.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004336/0.5666, allocations: 28 kB / 459.1 MB, free: 3.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001201/0.5678, allocations: 398.1 kB / 459.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005342/0.5684, allocations: 151.3 kB / 459.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5684, allocations: 0 / 459.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.5686, allocations: 55.91 kB / 459.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.5689, allocations: 16.23 kB / 459.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.5696, allocations: 264.5 kB / 459.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.57, allocations: 0.7004 MB / 460.6 MB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/0.5701, allocations: 23.42 kB / 460.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5701, allocations: 0 / 460.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of Templates: time 0.005455/0.5756, allocations: 1.72 MB / 462.4 MB, free: 15.7 MB / 394.7 MB