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.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadModel(ModelicaTest): time 2.102/2.102, allocations: 234.9 MB / 250.5 MB, free: 9.523 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 15.98 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2943, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.4549, allocations: 81.99 MB / 451.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4552, allocations: 71.91 kB / 451.3 MB, free: 8.523 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.0367/0.4919, allocations: 4.733 MB / 456.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.759e-06/0.492, allocations: 4 kB / 456.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.912e-05/0.492, allocations: 4 kB / 456.1 MB, free: 3.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001173/0.4932, allocations: 493.8 kB / 456.6 MB, free: 3.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.87e-05/0.4933, allocations: 8.031 kB / 456.6 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.4934, allocations: 11.91 kB / 456.6 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.4942, allocations: 222.8 kB / 456.8 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4942, allocations: 3.984 kB / 456.8 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.4943, allocations: 4 kB / 456.8 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.4946, allocations: 53.67 kB / 456.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4946, allocations: 0 / 456.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.4947, allocations: 3.953 kB / 456.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.64e-06/0.4947, allocations: 0 / 456.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4949, allocations: 23.92 kB / 456.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.4955, allocations: 201.7 kB / 457.1 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.4959, allocations: 58.61 kB / 457.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4959, allocations: 4 kB / 457.1 MB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.4963, allocations: 67.48 kB / 457.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 4.397e-06/0.4963, allocations: 3.938 kB / 457.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007097/0.4971, allocations: 97.48 kB / 457.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.4972, allocations: 63.34 kB / 457.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/0.4979, allocations: 226.4 kB / 457.6 MB, free: 2.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.498, allocations: 33.7 kB / 457.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.4983, allocations: 170.5 kB / 457.8 MB, free: 1.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.4983, allocations: 19.75 kB / 457.8 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.4984, allocations: 0 / 457.8 MB, free: 1.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.4987, allocations: 314.8 kB / 458.1 MB, free: 1.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.4989, allocations: 35.92 kB / 458.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.4992, allocations: 45.69 kB / 458.2 MB, free: 1.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.4996, allocations: 77.56 kB / 458.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.584e-06/0.4996, allocations: 0 / 458.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007744/0.5004, allocations: 155.2 kB / 458.4 MB, free: 1.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/0.5005, allocations: 37.69 kB / 458.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5005, allocations: 0 / 458.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5006, allocations: 0 / 458.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.5008, allocations: 8 kB / 458.5 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.5008, allocations: 4 kB / 458.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.501, allocations: 7.953 kB / 458.5 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.5011, allocations: 8.031 kB / 458.5 MB, free: 1.102 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 (8): * Single equations (assignments): 7 * 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.0002887/0.5014, allocations: 133.8 kB / 458.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.5015, allocations: 19.8 kB / 458.6 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005723/0.5021, allocations: 98.92 kB / 458.7 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.006e-06/0.5021, allocations: 0 / 458.7 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.003e-06/0.5022, allocations: 4.062 kB / 458.7 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.5022, allocations: 4 kB / 458.7 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.5027, allocations: 209.5 kB / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5027, allocations: 0 / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.5028, allocations: 15.98 kB / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.016e-06/0.5029, allocations: 0 / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.5029, allocations: 0 / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.944e-06/0.5029, allocations: 0 / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.881e-06/0.5029, allocations: 0 / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.5035, allocations: 124.8 kB / 459.1 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.5038, allocations: 104.9 kB / 459.2 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.5039, allocations: 0 / 459.2 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.504, allocations: 12 kB / 459.2 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.5041, allocations: 7.969 kB / 459.2 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.5042, allocations: 4 kB / 459.2 MB, free: 280 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005274/0.5047, allocations: 192.2 kB / 459.4 MB, free: 88 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.693e-06/0.5048, allocations: 3.938 kB / 459.4 MB, free: 84 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007802/0.5056, allocations: 39.94 kB / 459.4 MB, free: 44 kB / 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: 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 (6): * Single equations (assignments): 4 * 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.002717/0.5083, allocations: 400 kB / 459.8 MB, free: 15.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006954/0.509, allocations: 147.3 kB / 460 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.554e-06/0.5091, allocations: 0 / 460 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.5093, allocations: 28.05 kB / 460 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.5098, allocations: 24.12 kB / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.5112, allocations: 323.5 kB / 460.3 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.5119, allocations: 0.7199 MB / 461.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.5121, allocations: 19.42 kB / 461.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.241e-06/0.5121, allocations: 0 / 461.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of Templates: time 0.009273/0.5214, allocations: 1.895 MB / 463 MB, free: 12.5 MB / 394.7 MB