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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.099/2.099, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006144/0.0006145, allocations: 16 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3581, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002429/0.3606, allocations: 1.294 MB / 332.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3617, allocations: 416.2 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.3618, allocations: 1.25 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.3621, allocations: 24.77 kB / 333 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.3623, allocations: 29.53 kB / 333 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.3626, allocations: 59.09 kB / 333.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3628, allocations: 57 kB / 333.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3629, allocations: 9.109 kB / 333.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.363, allocations: 27.2 kB / 333.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.3631, allocations: 28.81 kB / 333.2 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3631, allocations: 1.656 kB / 333.2 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.3632, allocations: 28.89 kB / 333.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.3633, allocations: 15.05 kB / 333.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.3634, allocations: 38.36 kB / 333.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.3636, allocations: 72.67 kB / 333.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3636, allocations: 0 / 333.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3636, allocations: 0 / 333.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3636, allocations: 1.125 kB / 333.4 MB, free: 5.383 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004681/0.3641, allocations: 399.4 kB / 333.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3642, allocations: 8.562 kB / 333.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.3642, allocations: 35.69 kB / 333.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.3643, allocations: 8.109 kB / 333.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3645, allocations: 198 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3645, allocations: 1.188 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3645, allocations: 3.984 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3647, allocations: 41.67 kB / 334.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3647, allocations: 0 / 334.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3647, allocations: 2.438 kB / 334.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3647, allocations: 0 / 334.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.3648, allocations: 14.09 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.3652, allocations: 287.5 kB / 334.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3654, allocations: 46.81 kB / 334.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3654, allocations: 1.062 kB / 334.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3656, allocations: 56.08 kB / 334.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.3656, allocations: 0 / 334.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004665/0.3661, allocations: 107 kB / 334.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3662, allocations: 56.91 kB / 334.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3663, allocations: 151.9 kB / 334.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3664, allocations: 27.02 kB / 334.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.3664, allocations: 161.1 kB / 334.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3665, allocations: 12.03 kB / 335 MB, free: 3.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.3665, allocations: 5.219 kB / 335 MB, free: 3.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/0.3666, allocations: 317.1 kB / 335.3 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.3666, allocations: 23.55 kB / 335.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.3667, allocations: 17.17 kB / 335.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.37e-05/0.3668, allocations: 53.61 kB / 335.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3668, allocations: 0 / 335.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002275/0.367, allocations: 118.4 kB / 335.5 MB, free: 3.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.3671, allocations: 33.16 kB / 335.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3671, allocations: 0 / 335.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3671, allocations: 1.281 kB / 335.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.3672, allocations: 8.953 kB / 335.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3672, allocations: 0.6562 kB / 335.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.3673, allocations: 2.531 kB / 335.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3673, allocations: 8.453 kB / 335.5 MB, free: 3.344 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 9.734e-05/0.3674, allocations: 126.1 kB / 335.7 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.3675, allocations: 10.27 kB / 335.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.3675, allocations: 9.328 kB / 335.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3676, allocations: 1.344 kB / 335.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3676, allocations: 4.547 kB / 335.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3676, allocations: 1.344 kB / 335.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.368, allocations: 340.3 kB / 336 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.368, allocations: 5.844 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.3681, allocations: 4.953 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3681, allocations: 1.125 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3681, allocations: 1.562 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3681, allocations: 2.031 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3681, allocations: 0 / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3683, allocations: 171.6 kB / 336.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.3684, allocations: 85.05 kB / 336.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.3684, allocations: 1.219 kB / 336.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.3685, allocations: 5.75 kB / 336.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3685, allocations: 8.203 kB / 336.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.3686, allocations: 3.203 kB / 336.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.3687, allocations: 109.4 kB / 336.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3687, allocations: 0 / 336.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.3691, allocations: 31.7 kB / 336.4 MB, free: 2.512 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 4 * 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.001353/0.3704, allocations: 0.9659 MB / 337.4 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3707, allocations: 106.5 kB / 337.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3708, allocations: 0 / 337.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.263e-05/0.3708, allocations: 16.48 kB / 337.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3712, allocations: 26.31 kB / 337.5 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.3719, allocations: 427.9 kB / 338 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3721, allocations: 0.6978 MB / 338.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.3722, allocations: 24.02 kB / 338.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3722, allocations: 0 / 338.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.983/3.355, allocations: 1.967 MB / 340.6 MB, free: 15.78 MB / 282.7 MB