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.CombiTimeTable.Test59.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.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.198/2.198, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.071e-05, allocations: 4 kB / 309.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4603, allocations: 54.85 MB / 364.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.5885, allocations: 82.28 MB / 446.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5888, allocations: 76.66 kB / 446.9 MB, free: 14.17 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02151/0.6103, allocations: 4.963 MB / 451.9 MB, free: 9.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.233e-06/0.6104, allocations: 0 / 451.9 MB, free: 9.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.6104, allocations: 0 / 451.9 MB, free: 9.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005878/0.611, allocations: 453.5 kB / 452.3 MB, free: 8.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.611, allocations: 15.97 kB / 452.3 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.6111, allocations: 8.75 kB / 452.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.6114, allocations: 200.5 kB / 452.5 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.6115, allocations: 0 / 452.5 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.6115, allocations: 7.938 kB / 452.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.6117, allocations: 71.39 kB / 452.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6117, allocations: 0 / 452.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.6118, allocations: 3.953 kB / 452.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-06/0.6118, allocations: 8 kB / 452.6 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.6119, allocations: 19.98 kB / 452.6 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.6123, allocations: 297.7 kB / 452.9 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.6125, allocations: 58.78 kB / 453 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.6126, allocations: 16.98 kB / 453 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.6126, allocations: 4 kB / 453 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.6128, allocations: 75.28 kB / 453.1 MB, free: 7.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.444e-06/0.6128, allocations: 0 / 453.1 MB, free: 7.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005919/0.6134, allocations: 169.2 kB / 453.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.6135, allocations: 77.11 kB / 453.3 MB, free: 7.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.6137, allocations: 132.4 kB / 453.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.6138, allocations: 30.55 kB / 453.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.6139, allocations: 166.5 kB / 453.6 MB, free: 7.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.6139, allocations: 23.73 kB / 453.7 MB, free: 7.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-06/0.6139, allocations: 0 / 453.7 MB, free: 7.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6141, allocations: 318.8 kB / 454 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/0.6142, allocations: 31.92 kB / 454 MB, free: 6.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.6143, allocations: 50.58 kB / 454 MB, free: 6.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.6145, allocations: 61.69 kB / 454.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.222e-06/0.6145, allocations: 8.031 kB / 454.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003384/0.6148, allocations: 152.2 kB / 454.3 MB, free: 6.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.6149, allocations: 37.69 kB / 454.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.588e-06/0.6149, allocations: 0 / 454.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.615, allocations: 4 kB / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.6151, allocations: 19.98 kB / 454.3 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.239e-06/0.6151, allocations: 0 / 454.3 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.6152, allocations: 4 kB / 454.3 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.6153, allocations: 4 kB / 454.3 MB, free: 6.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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.0001185/0.6154, allocations: 122.8 kB / 454.5 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.6154, allocations: 11.86 kB / 454.5 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.6157, allocations: 118.2 kB / 454.6 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-06/0.6158, allocations: 4 kB / 454.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.476e-06/0.6158, allocations: 0 / 454.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-06/0.6158, allocations: 0 / 454.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.6164, allocations: 403.2 kB / 455 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6165, allocations: 4.031 kB / 455 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.6165, allocations: 8 kB / 455 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.447e-06/0.6165, allocations: 3.984 kB / 455 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.6166, allocations: 8 kB / 455 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6166, allocations: 3.938 kB / 455 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-06/0.6166, allocations: 0 / 455 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.6169, allocations: 225.1 kB / 455.2 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.6171, allocations: 97 kB / 455.3 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.6171, allocations: 3.984 kB / 455.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6172, allocations: 4 kB / 455.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.6173, allocations: 15.97 kB / 455.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.6173, allocations: 0 / 455.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.6175, allocations: 115.2 kB / 455.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.6175, allocations: 0 / 455.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004314/0.6179, allocations: 51.94 kB / 455.5 MB, free: 5.211 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001737/0.6197, allocations: 0.4978 MB / 456 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.62, allocations: 155.3 kB / 456.2 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6201, allocations: 0 / 456.2 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.6202, allocations: 31.98 kB / 456.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.6205, allocations: 15.98 kB / 456.2 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.6209, allocations: 161.6 kB / 456.4 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.6213, allocations: 0.7004 MB / 457.1 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.6214, allocations: 15.44 kB / 457.1 MB, free: 3.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.709e-06/0.6214, allocations: 0 / 457.1 MB, free: 3.641 MB / 378.7 MB Notification: Performance of Templates: time 0.005058/0.6265, allocations: 2.094 MB / 459.2 MB, free: 1.551 MB / 378.7 MB