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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.882/1.882, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004385, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3643, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002586/0.367, allocations: 1.29 MB / 332.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3685, allocations: 416.9 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.3686, allocations: 1.062 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.3689, allocations: 28.77 kB / 333 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.3691, allocations: 25.5 kB / 333 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3693, allocations: 62.61 kB / 333.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.3695, allocations: 53.09 kB / 333.1 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.3696, allocations: 17.14 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.3697, allocations: 26.75 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.3698, allocations: 21.08 kB / 333.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3698, allocations: 2.344 kB / 333.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3699, allocations: 32.19 kB / 333.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.37, allocations: 19.53 kB / 333.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.37, allocations: 30.48 kB / 333.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3702, allocations: 76.55 kB / 333.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3702, allocations: 5.219 kB / 333.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3703, allocations: 0.6562 kB / 333.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3703, allocations: 0 / 333.4 MB, free: 5.379 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.0004488/0.3707, allocations: 394.1 kB / 333.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3708, allocations: 8.406 kB / 333.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.3708, allocations: 33.58 kB / 333.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.3709, allocations: 12.06 kB / 333.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3711, allocations: 196.8 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3711, allocations: 1.375 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3711, allocations: 6.5 kB / 334 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3713, allocations: 44.34 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3713, allocations: 0 / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3713, allocations: 0.8125 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.3713, allocations: 5.094 kB / 334.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.802e-05/0.3714, allocations: 13.44 kB / 334.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.3718, allocations: 289.2 kB / 334.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.372, allocations: 45.34 kB / 334.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3721, allocations: 1.562 kB / 334.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.3722, allocations: 58.98 kB / 334.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.3722, allocations: 1.375 kB / 334.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004288/0.3727, allocations: 106 kB / 334.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.3727, allocations: 53.39 kB / 334.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3729, allocations: 151 kB / 334.8 MB, free: 4.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3729, allocations: 32.02 kB / 334.8 MB, free: 4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.373, allocations: 160.4 kB / 334.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.373, allocations: 8.828 kB / 335 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.373, allocations: 4 kB / 335 MB, free: 3.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.3731, allocations: 318.5 kB / 335.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.3732, allocations: 18.94 kB / 335.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.3732, allocations: 20.86 kB / 335.3 MB, free: 3.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.3733, allocations: 46 kB / 335.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3733, allocations: 5.156 kB / 335.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002092/0.3735, allocations: 120.9 kB / 335.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.3736, allocations: 32.62 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3736, allocations: 0.5625 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3736, allocations: 1.625 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.3737, allocations: 8.234 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3737, allocations: 1.844 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.3738, allocations: 1.469 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3738, allocations: 4.062 kB / 335.5 MB, free: 3.34 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 8.651e-05/0.3739, allocations: 129.7 kB / 335.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.3739, allocations: 7.781 kB / 335.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.374, allocations: 14.16 kB / 335.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.374, allocations: 3.938 kB / 335.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.374, allocations: 0.9062 kB / 335.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.374, allocations: 0 / 335.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.3744, allocations: 334.1 kB / 336 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3744, allocations: 0 / 336 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.3744, allocations: 6.547 kB / 336 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3744, allocations: 5.344 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3745, allocations: 0.75 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3745, allocations: 0 / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3745, allocations: 2.219 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.3747, allocations: 175.1 kB / 336.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.3747, allocations: 84.94 kB / 336.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.3747, allocations: 5.375 kB / 336.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.3748, allocations: 2.438 kB / 336.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.3749, allocations: 8.609 kB / 336.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3749, allocations: 1.5 kB / 336.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.375, allocations: 114 kB / 336.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.375, allocations: 0 / 336.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.3754, allocations: 28.58 kB / 336.4 MB, free: 2.508 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.001217/0.3766, allocations: 0.9686 MB / 337.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3768, allocations: 106 kB / 337.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3768, allocations: 1.5 kB / 337.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.3769, allocations: 15.09 kB / 337.5 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3772, allocations: 17.45 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.000669/0.3779, allocations: 440.1 kB / 338 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.378, allocations: 0.6984 MB / 338.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.3781, allocations: 23.45 kB / 338.7 MB, free: 492 kB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3781, allocations: 1.312 kB / 338.7 MB, free: 492 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.098, allocations: 1.967 MB / 340.7 MB, free: 15.76 MB / 282.7 MB