Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005895/0.0005899, allocations: 12 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3584, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5048, allocations: 82.1 MB / 451.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.5052, allocations: 75.95 kB / 452 MB, free: 8.441 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02064/0.5258, allocations: 4.477 MB / 456.5 MB, free: 3.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.5259, allocations: 0 / 456.5 MB, free: 3.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.5259, allocations: 4 kB / 456.5 MB, free: 3.953 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.0006959/0.5266, allocations: 470.2 kB / 456.9 MB, free: 3.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5267, allocations: 8.031 kB / 456.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.5267, allocations: 11.81 kB / 456.9 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.5271, allocations: 211.5 kB / 457.2 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.5272, allocations: 4 kB / 457.2 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.5272, allocations: 4 kB / 457.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.5274, allocations: 61.61 kB / 457.2 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5274, allocations: 0 / 457.2 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.5275, allocations: 11.94 kB / 457.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5275, allocations: 0 / 457.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.5276, allocations: 19.98 kB / 457.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.5281, allocations: 312.9 kB / 457.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.5284, allocations: 66.55 kB / 457.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.5284, allocations: 0 / 457.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.5286, allocations: 72.06 kB / 457.7 MB, free: 2.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.5286, allocations: 0 / 457.7 MB, free: 2.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008223/0.5295, allocations: 201.2 kB / 457.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5295, allocations: 51.41 kB / 457.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.5298, allocations: 182.2 kB / 458.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.5298, allocations: 29.7 kB / 458.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.5299, allocations: 166.5 kB / 458.3 MB, free: 1.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.53, allocations: 23.66 kB / 458.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.53, allocations: 4 kB / 458.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5301, allocations: 318.8 kB / 458.6 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.5303, allocations: 39.98 kB / 458.7 MB, free: 1.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.5304, allocations: 57.69 kB / 458.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.5307, allocations: 73.64 kB / 458.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5307, allocations: 0 / 458.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004582/0.5311, allocations: 175.3 kB / 459 MB, free: 1.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.5312, allocations: 33.7 kB / 459 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5312, allocations: 3.938 kB / 459 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.5313, allocations: 8.016 kB / 459 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.5314, allocations: 12 kB / 459 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.5314, allocations: 4 kB / 459 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.5315, allocations: 8 kB / 459.1 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.5316, allocations: 7.984 kB / 459.1 MB, free: 1.105 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 () * 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.0001455/0.5317, allocations: 123.7 kB / 459.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.5318, allocations: 15.77 kB / 459.2 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.5322, allocations: 126.4 kB / 459.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5322, allocations: 4 kB / 459.3 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.5322, allocations: 4 kB / 459.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.5322, allocations: 3.984 kB / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.5329, allocations: 403.3 kB / 459.7 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5329, allocations: 0 / 459.7 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.533, allocations: 19.92 kB / 459.7 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.475e-06/0.5331, allocations: 7.938 kB / 459.8 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.5331, allocations: 0 / 459.8 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5331, allocations: 4.031 kB / 459.8 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5331, allocations: 4 kB / 459.8 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.5335, allocations: 208.4 kB / 460 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.5336, allocations: 108.8 kB / 460.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.5337, allocations: 4 kB / 460.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5338, allocations: 4 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.5338, allocations: 11.98 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5339, allocations: 0 / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.534, allocations: 135.2 kB / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.534, allocations: 0 / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.5345, allocations: 43.92 kB / 460.3 MB, free: 15.78 MB / 394.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) * Number of clocked states: 0 () * 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.001329/0.5358, allocations: 459.6 kB / 460.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004371/0.5362, allocations: 171.3 kB / 460.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5363, allocations: 0 / 460.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.5364, allocations: 39.91 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.5368, allocations: 27.84 kB / 460.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.5374, allocations: 279.7 kB / 461.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.5377, allocations: 0.7004 MB / 461.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.5378, allocations: 19.42 kB / 461.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5378, allocations: 0 / 461.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of Templates: time 0.007012/0.5448, allocations: 1.931 MB / 463.9 MB, free: 12.18 MB / 394.7 MB