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.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",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: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00068/0.00068, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3504, allocations: 48.7 MB / 331.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.486, allocations: 76.62 MB / 408 MB, free: 1.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4863, allocations: 67.97 kB / 408.1 MB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.4999, allocations: 3.23 MB / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4999, allocations: 0 / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.5, allocations: 4 kB / 411.3 MB, free: 14.39 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.0006902/0.5007, allocations: 489.1 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5007, allocations: 8.031 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.5008, allocations: 38.55 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.5009, allocations: 11.91 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.5012, allocations: 206.8 kB / 412 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.5012, allocations: 7.984 kB / 412 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.5012, allocations: 11.98 kB / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.5015, allocations: 73.61 kB / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5015, allocations: 0 / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.5015, allocations: 4 kB / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5016, allocations: 0 / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.5018, allocations: 47.91 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.5024, allocations: 352.7 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.5028, allocations: 70.61 kB / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.5028, allocations: 4 kB / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.5031, allocations: 75.52 kB / 412.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.063e-06/0.5031, allocations: 0 / 412.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004664/0.5035, allocations: 133.5 kB / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.5036, allocations: 63.36 kB / 412.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.5038, allocations: 151.9 kB / 413 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.5038, allocations: 25.7 kB / 413 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.5039, allocations: 166.5 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.504, allocations: 27.59 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.504, allocations: 112 / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5041, allocations: 326.8 kB / 413.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5043, allocations: 27.98 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.5044, allocations: 57.69 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.5046, allocations: 59.39 kB / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5046, allocations: 3.984 kB / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000402/0.505, allocations: 151.2 kB / 413.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.5051, allocations: 45.72 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5051, allocations: 0 / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5051, allocations: 0 / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.5053, allocations: 19.94 kB / 413.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5053, allocations: 0 / 413.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.5054, allocations: 11.94 kB / 413.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.5054, 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.000123/0.5056, allocations: 121.8 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.5056, allocations: 15.81 kB / 414 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.506, allocations: 110.4 kB / 414.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.506, allocations: 7.938 kB / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5061, allocations: 0 / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5061, allocations: 3.938 kB / 414.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.5063, allocations: 205.5 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5063, allocations: 0 / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.5065, allocations: 15.98 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5065, allocations: 4 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5065, allocations: 4 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.5065, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5065, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.507, allocations: 160.9 kB / 414.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.5071, allocations: 93.02 kB / 414.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.5071, allocations: 4 kB / 414.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.5072, allocations: 11.98 kB / 414.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.5073, allocations: 7.938 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5073, allocations: 3.984 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.5075, allocations: 119.2 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5075, allocations: 0 / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.5078, allocations: 36.12 kB / 414.8 MB, free: 10.51 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.00153/0.5093, allocations: 0.939 MB / 415.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.5097, allocations: 147.3 kB / 415.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5098, allocations: 0 / 415.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.5099, allocations: 31.92 kB / 415.9 MB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.5103, allocations: 32.05 kB / 416 MB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.5113, allocations: 0.673 MB / 416.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5116, allocations: 0.7121 MB / 417.3 MB, free: 7.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.5118, allocations: 31.42 kB / 417.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5118, allocations: 0 / 417.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.727/3.239, allocations: 2.339 MB / 419.7 MB, free: 5.559 MB / 346.7 MB