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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.213/2.213, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004396, allocations: 20 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4037, allocations: 82.9 MB / 452.2 MB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.404, allocations: 75.95 kB / 452.3 MB, free: 7.621 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01527/0.4193, allocations: 3.622 MB / 455.9 MB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.528e-06/0.4193, allocations: 4 kB / 455.9 MB, free: 3.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.4193, allocations: 8 kB / 455.9 MB, free: 3.973 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007437/0.4201, allocations: 0.5076 MB / 456.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4201, allocations: 15.97 kB / 456.4 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.4202, allocations: 15.77 kB / 456.4 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.4206, allocations: 219.5 kB / 456.6 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.4206, allocations: 8 kB / 456.6 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.4207, allocations: 12 kB / 456.7 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.421, allocations: 81.66 kB / 456.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.511e-06/0.421, allocations: 0 / 456.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.421, allocations: 0 / 456.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.421, allocations: 3.953 kB / 456.7 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.4212, allocations: 55.89 kB / 456.8 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.4219, allocations: 368.6 kB / 457.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.4224, allocations: 110.5 kB / 457.3 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4224, allocations: 0 / 457.3 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.4226, allocations: 83.38 kB / 457.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.623e-06/0.4227, allocations: 0 / 457.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005492/0.4232, allocations: 153.5 kB / 457.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.4233, allocations: 55.39 kB / 457.5 MB, free: 2.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.4235, allocations: 154.4 kB / 457.7 MB, free: 1.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.4236, allocations: 33.7 kB / 457.7 MB, free: 1.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4237, allocations: 174.3 kB / 457.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.4237, allocations: 27.84 kB / 457.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.4238, allocations: 4 kB / 457.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4239, allocations: 314.8 kB / 458.2 MB, free: 1.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.4241, allocations: 51.97 kB / 458.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.4243, allocations: 71.05 kB / 458.4 MB, free: 1.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.4245, allocations: 81.69 kB / 458.4 MB, free: 1.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4246, allocations: 4 kB / 458.4 MB, free: 1.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000517/0.4251, allocations: 203.2 kB / 458.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.4252, allocations: 41.69 kB / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.237e-06/0.4252, allocations: 0 / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4252, allocations: 4 kB / 458.7 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4254, allocations: 23.92 kB / 458.7 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4254, allocations: 3.938 kB / 458.7 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.4255, allocations: 23.91 kB / 458.7 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.4255, allocations: 4 kB / 458.7 MB, free: 0.8477 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001614/0.4257, allocations: 125.8 kB / 458.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.4258, allocations: 15.86 kB / 458.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.4262, allocations: 139 kB / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-06/0.4262, allocations: 4 kB / 459 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.597e-06/0.4262, allocations: 0 / 459 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.847e-06/0.4263, allocations: 4 kB / 459 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.4265, allocations: 209.5 kB / 459.2 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-06/0.4265, allocations: 4 kB / 459.2 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.4267, allocations: 19.92 kB / 459.3 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.352e-06/0.4268, allocations: 0 / 459.3 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.4268, allocations: 3.953 kB / 459.3 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.483e-06/0.4268, allocations: 0 / 459.3 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.727e-06/0.4268, allocations: 0 / 459.3 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.4277, allocations: 196.9 kB / 459.4 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.4279, allocations: 100.9 kB / 459.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.428, allocations: 4 kB / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4282, allocations: 11.95 kB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.4282, allocations: 16.03 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4283, allocations: 0 / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.4284, allocations: 132.9 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.4284, allocations: 288 / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003643/0.4288, allocations: 39.94 kB / 459.7 MB, free: 15.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00136/0.4302, allocations: 410.1 kB / 460.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004857/0.4307, allocations: 187.3 kB / 460.3 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4307, allocations: 128 / 460.3 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.4309, allocations: 47.92 kB / 460.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4312, allocations: 23.97 kB / 460.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.4319, allocations: 315.9 kB / 460.7 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.4323, allocations: 0.716 MB / 461.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.4324, allocations: 15.44 kB / 461.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.42e-06/0.4324, allocations: 0 / 461.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of Templates: time 0.005052/0.4375, allocations: 2.069 MB / 463.5 MB, free: 11.98 MB / 394.7 MB