Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.986/1.986, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004476, allocations: 19.94 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3309, allocations: 48.7 MB / 331.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4756, allocations: 76.62 MB / 408 MB, free: 1.773 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.476, allocations: 67.97 kB / 408.1 MB, free: 1.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01406/0.4901, allocations: 3.207 MB / 411.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.518e-06/0.4901, allocations: 0 / 411.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.4901, allocations: 7.938 kB / 411.3 MB, free: 14.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006895/0.4908, allocations: 482.2 kB / 411.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4909, allocations: 8.031 kB / 411.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.491, allocations: 38.56 kB / 411.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.491, allocations: 7.906 kB / 411.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.4914, allocations: 214.8 kB / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.4914, allocations: 8 kB / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.4915, allocations: 8 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.4917, allocations: 73.59 kB / 412.1 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4917, allocations: 0 / 412.1 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.4918, allocations: 4 kB / 412.1 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4918, allocations: 3.938 kB / 412.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.492, allocations: 43.97 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.4927, allocations: 348.7 kB / 412.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.4931, allocations: 78.61 kB / 412.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.4931, allocations: 0 / 412.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.4933, allocations: 83.44 kB / 412.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.4934, allocations: 4 kB / 412.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004829/0.4939, allocations: 125.5 kB / 412.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.4939, allocations: 55.36 kB / 412.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.4941, allocations: 155.9 kB / 413 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.4942, allocations: 33.7 kB / 413 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.4942, allocations: 162.7 kB / 413.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.4943, allocations: 31.58 kB / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.4943, allocations: 4 kB / 413.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4944, allocations: 310.8 kB / 413.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.4946, allocations: 43.97 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.4948, allocations: 41.7 kB / 413.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.4949, allocations: 67.38 kB / 413.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.495, allocations: 0 / 413.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004562/0.4954, allocations: 159.2 kB / 413.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.4955, allocations: 33.7 kB / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4955, allocations: 0 / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4955, allocations: 0 / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.4957, allocations: 23.92 kB / 413.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4957, allocations: 0 / 413.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.4958, allocations: 15.95 kB / 413.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.4958, allocations: 3.984 kB / 413.9 MB, free: 11.63 MB / 346.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001234/0.496, allocations: 121.9 kB / 414 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.496, allocations: 19.75 kB / 414 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.4964, allocations: 106.4 kB / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4964, allocations: 3.984 kB / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4964, allocations: 3.938 kB / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4964, allocations: 0 / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.4967, allocations: 201.6 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4967, allocations: 8 kB / 414.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.4968, allocations: 15.98 kB / 414.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4968, allocations: 0 / 414.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4969, allocations: 4 kB / 414.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4969, allocations: 0 / 414.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4969, allocations: 0 / 414.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.4974, allocations: 164.9 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.4975, allocations: 93.08 kB / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.4975, allocations: 4 kB / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.4976, allocations: 11.88 kB / 414.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.4977, allocations: 11.98 kB / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.4977, allocations: 0 / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.4978, allocations: 119.2 kB / 414.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4979, allocations: 4.062 kB / 414.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.4982, allocations: 39.92 kB / 414.8 MB, free: 10.61 MB / 346.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001596/0.4998, allocations: 0.9257 MB / 415.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.5002, allocations: 143.2 kB / 415.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5003, allocations: 0 / 415.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5004, allocations: 39.92 kB / 415.9 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.5007, allocations: 23.86 kB / 415.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.5018, allocations: 0.6769 MB / 416.6 MB, free: 8.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.5021, allocations: 0.7082 MB / 417.3 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.5023, allocations: 31.42 kB / 417.3 MB, free: 8.02 MB / 346.7 MB Notification: Performance of SimCode: time 3.967e-06/0.5023, allocations: 0 / 417.3 MB, free: 8.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.646/3.148, allocations: 2.34 MB / 419.7 MB, free: 5.684 MB / 346.7 MB