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.Test11.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005978/0.0005976, allocations: 16 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3338, allocations: 54.88 MB / 369.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.4799, allocations: 82.9 MB / 452.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4802, allocations: 79.95 kB / 452.4 MB, free: 7.73 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.01625/0.4965, allocations: 3.607 MB / 456 MB, free: 4.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4965, allocations: 0 / 456 MB, free: 4.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.4965, allocations: 4 kB / 456 MB, free: 4.105 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.0007483/0.4973, allocations: 0.5193 MB / 456.5 MB, free: 3.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4974, allocations: 16.03 kB / 456.5 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.688e-05/0.4974, allocations: 42.5 kB / 456.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.4975, allocations: 15.81 kB / 456.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.4979, allocations: 223.5 kB / 456.8 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.4979, allocations: 4 kB / 456.8 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.4979, allocations: 8 kB / 456.8 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.4982, allocations: 81.64 kB / 456.9 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.4983, allocations: 0 / 456.9 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.4983, allocations: 11.95 kB / 456.9 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4983, allocations: 4 kB / 456.9 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.4985, allocations: 47.91 kB / 456.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.4993, allocations: 368.6 kB / 457.3 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.4998, allocations: 98.55 kB / 457.4 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4998, allocations: 4 kB / 457.4 MB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.5001, allocations: 87.38 kB / 457.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.5001, allocations: 0 / 457.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006073/0.5007, allocations: 157.3 kB / 457.6 MB, free: 2.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.5008, allocations: 55.41 kB / 457.7 MB, free: 2.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.501, allocations: 154.5 kB / 457.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.501, allocations: 33.7 kB / 457.9 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/0.5011, allocations: 170.4 kB / 458 MB, free: 1.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.5012, allocations: 23.86 kB / 458.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.5012, allocations: 4 kB / 458.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5013, allocations: 322.8 kB / 458.4 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.5015, allocations: 43.92 kB / 458.4 MB, free: 1.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.5017, allocations: 74.53 kB / 458.5 MB, free: 1.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.502, allocations: 81.62 kB / 458.6 MB, free: 1.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.502, allocations: 0 / 458.6 MB, free: 1.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005495/0.5026, allocations: 207.4 kB / 458.8 MB, free: 1.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.5026, allocations: 41.75 kB / 458.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5026, allocations: 0 / 458.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5027, allocations: 0 / 458.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.5029, allocations: 27.92 kB / 458.8 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5029, allocations: 0 / 458.8 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.503, allocations: 15.84 kB / 458.9 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.5031, allocations: 11.98 kB / 458.9 MB, free: 0.9258 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.0001347/0.5032, allocations: 121.8 kB / 459 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.5033, allocations: 15.86 kB / 459 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.5037, allocations: 143 kB / 459.1 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5037, allocations: 0 / 459.1 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5038, allocations: 0 / 459.1 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5038, allocations: 3.984 kB / 459.1 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.504, allocations: 213.5 kB / 459.4 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.504, allocations: 0 / 459.4 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.5042, allocations: 19.98 kB / 459.4 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5042, allocations: 0 / 459.4 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.5042, allocations: 8.516 kB / 459.4 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.5042, allocations: 0 / 459.4 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5042, allocations: 3.938 kB / 459.4 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.5049, allocations: 204.8 kB / 459.6 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.505, allocations: 92.94 kB / 459.7 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.505, allocations: 8 kB / 459.7 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5052, allocations: 12.12 kB / 459.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.5052, allocations: 7.984 kB / 459.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.5052, allocations: 8 kB / 459.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.5054, allocations: 124.9 kB / 459.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5054, allocations: 0 / 459.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.5058, allocations: 47.98 kB / 459.9 MB, free: 15.81 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.001945/0.5077, allocations: 1.037 MB / 460.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.5083, allocations: 187.3 kB / 461.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5083, allocations: 0 / 461.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.5085, allocations: 47.91 kB / 461.1 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.5088, allocations: 24.31 kB / 461.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.51, allocations: 0.8533 MB / 462 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.5104, allocations: 0.716 MB / 462.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5105, allocations: 39.42 kB / 462.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5105, allocations: 0 / 462.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.805/3.316, allocations: 2.589 MB / 465.4 MB, free: 10.27 MB / 394.7 MB