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.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004403, allocations: 12 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3457, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.4999, allocations: 76.63 MB / 408 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5002, allocations: 67.97 kB / 408.1 MB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.5147, allocations: 3.226 MB / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.5147, allocations: 0 / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.5147, allocations: 7.938 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.0006987/0.5154, allocations: 489.4 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5155, allocations: 12.03 kB / 411.8 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.5156, allocations: 30.56 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.5156, allocations: 19.91 kB / 411.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.5159, allocations: 210.7 kB / 412 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.516, allocations: 4 kB / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.516, allocations: 8 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.5163, allocations: 65.67 kB / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5163, allocations: 0 / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.5163, allocations: 7.984 kB / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.5163, allocations: 7.984 kB / 412.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.5166, allocations: 43.92 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.5173, allocations: 352.7 kB / 412.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.5177, allocations: 70.61 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.5177, allocations: 3.984 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.518, allocations: 75.5 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.518, allocations: 4 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005007/0.5185, allocations: 117.6 kB / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.5186, allocations: 63.3 kB / 412.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.5188, allocations: 153.2 kB / 413 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.5188, allocations: 25.7 kB / 413 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.5189, allocations: 162.7 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.519, allocations: 35.58 kB / 413.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.519, allocations: 0 / 413.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5191, allocations: 318.8 kB / 413.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.5193, allocations: 27.98 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.5195, allocations: 57.62 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.5197, allocations: 67.38 kB / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5197, allocations: 0 / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004457/0.5201, allocations: 151.2 kB / 413.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.5202, allocations: 41.69 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5202, allocations: 0 / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.5203, allocations: 0 / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.5204, allocations: 19.98 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5204, allocations: 4.344 kB / 413.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.5206, allocations: 7.953 kB / 413.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.5206, 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.0001596/0.5208, allocations: 133.8 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.5208, allocations: 15.75 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.5212, allocations: 110.4 kB / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.5212, allocations: 8 kB / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5213, allocations: 0 / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5213, allocations: 0 / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.5215, allocations: 201.5 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5215, allocations: 3.984 kB / 414.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.5217, allocations: 15.94 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5217, allocations: 0 / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.5217, allocations: 4 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.5217, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5217, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.5222, allocations: 168.9 kB / 414.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.5223, allocations: 88.95 kB / 414.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.5224, allocations: 7.984 kB / 414.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.5225, allocations: 12 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.5225, allocations: 12.05 kB / 414.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.5226, allocations: 0 / 414.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.5227, allocations: 121.9 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5227, allocations: 0 / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.5231, 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.001769/0.5249, allocations: 0.9302 MB / 415.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.5254, allocations: 139.3 kB / 415.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5254, allocations: 0 / 415.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5255, allocations: 28.05 kB / 415.9 MB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.5259, allocations: 43.98 kB / 416 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.527, allocations: 0.6691 MB / 416.6 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.5274, allocations: 0.7084 MB / 417.3 MB, free: 7.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.5275, allocations: 31.42 kB / 417.4 MB, free: 7.906 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5275, allocations: 3.938 kB / 417.4 MB, free: 7.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.71/3.238, allocations: 2.351 MB / 419.7 MB, free: 5.555 MB / 346.7 MB