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.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.931/1.931, allocations: 209.2 MB / 224.8 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006379/0.0006381, allocations: 15.94 kB / 282.7 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3563, allocations: 48.71 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4927, allocations: 76.62 MB / 408 MB, free: 1.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.493, allocations: 71.97 kB / 408.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.5076, allocations: 3.222 MB / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.592e-06/0.5077, allocations: 0 / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.53e-05/0.5077, allocations: 11.88 kB / 411.3 MB, free: 14.38 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.0007917/0.5085, allocations: 490.2 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.5086, allocations: 8.031 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.5087, allocations: 38.55 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.5087, allocations: 11.91 kB / 411.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.5091, allocations: 206.8 kB / 412 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5091, allocations: 8 kB / 412 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.5092, allocations: 4 kB / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.5095, allocations: 73.61 kB / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5095, allocations: 4 kB / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5095, allocations: 0 / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5095, allocations: 0 / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.5098, allocations: 47.97 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.5105, allocations: 356.7 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.5108, allocations: 70.61 kB / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.5109, allocations: 0 / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.5111, allocations: 75.52 kB / 412.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.5111, allocations: 0 / 412.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004902/0.5116, allocations: 129.5 kB / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.5117, allocations: 55.36 kB / 412.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.5119, allocations: 159.9 kB / 413 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.512, allocations: 29.7 kB / 413 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.5121, allocations: 158.7 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.5121, allocations: 31.58 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.5121, allocations: 0 / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5123, allocations: 322.8 kB / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.5124, allocations: 27.98 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.5126, allocations: 57.69 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.5128, allocations: 67.31 kB / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5128, allocations: 0 / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004218/0.5132, allocations: 147.3 kB / 413.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.5133, allocations: 42.31 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5133, allocations: 4.031 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5133, allocations: 0 / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.5135, allocations: 19.94 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5135, allocations: 3.984 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.5136, allocations: 7.953 kB / 413.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.5137, allocations: 4 kB / 413.9 MB, free: 11.52 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.0001467/0.5138, allocations: 122 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.5139, allocations: 23.75 kB / 414 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.5143, allocations: 122.5 kB / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5143, allocations: 0 / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5143, allocations: 0 / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5143, allocations: 0 / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.5145, allocations: 201.5 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5146, allocations: 0 / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.5147, allocations: 15.98 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.5147, allocations: 4 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5148, allocations: 4 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5148, allocations: 0 / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5148, allocations: 0 / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.5153, allocations: 168.9 kB / 414.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.175e-05/0.5154, allocations: 93.02 kB / 414.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.5154, allocations: 8 kB / 414.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.5155, allocations: 11.97 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.5156, allocations: 7.984 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.5156, allocations: 0 / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.5158, allocations: 119.2 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5158, allocations: 0 / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.5161, allocations: 35.94 kB / 414.8 MB, free: 10.5 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.001641/0.5178, allocations: 0.9332 MB / 415.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.5182, allocations: 139.4 kB / 415.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5182, allocations: 0 / 415.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.5184, allocations: 35.92 kB / 415.9 MB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.5187, allocations: 23.92 kB / 415.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.5198, allocations: 0.673 MB / 416.6 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.5202, allocations: 0.7121 MB / 417.3 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.5203, allocations: 31.42 kB / 417.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5203, allocations: 0 / 417.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.712/3.232, allocations: 2.35 MB / 419.7 MB, free: 5.566 MB / 346.7 MB