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 2.03/2.03, allocations: 209.2 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004447, allocations: 19.94 kB / 282.6 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3573, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002914/0.3603, allocations: 1.451 MB / 332.7 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3616, allocations: 439 kB / 333.2 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.3618, allocations: 1.219 kB / 333.2 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.3621, allocations: 30.55 kB / 333.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.3624, allocations: 36.83 kB / 333.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.3628, allocations: 71.62 kB / 333.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.3631, allocations: 77.28 kB / 333.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.3633, allocations: 22.47 kB / 333.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3634, allocations: 39.11 kB / 333.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3635, allocations: 29.48 kB / 333.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.3636, allocations: 6.875 kB / 333.5 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.3638, allocations: 34.08 kB / 333.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.3638, allocations: 22.09 kB / 333.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.3639, allocations: 39.98 kB / 333.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.3642, allocations: 96.5 kB / 333.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3642, allocations: 0 / 333.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3642, allocations: 0 / 333.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3642, allocations: 1.312 kB / 333.7 MB, free: 5.207 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007145/0.365, allocations: 467.4 kB / 334.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.365, allocations: 10.8 kB / 334.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.3651, allocations: 37.05 kB / 334.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.3652, allocations: 10.38 kB / 334.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.3655, allocations: 207.2 kB / 334.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3655, allocations: 7.062 kB / 334.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3655, allocations: 5.047 kB / 334.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.3658, allocations: 74.23 kB / 334.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3659, allocations: 5.719 kB / 334.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3659, allocations: 0 / 334.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3659, allocations: 1.406 kB / 334.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.3661, allocations: 43.73 kB / 334.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.3669, allocations: 338.5 kB / 334.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.3673, allocations: 69.25 kB / 334.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3673, allocations: 1.094 kB / 334.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.3676, allocations: 81.58 kB / 335 MB, free: 3.996 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/0.3677, allocations: 0 / 335 MB, free: 3.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005208/0.3682, allocations: 110.9 kB / 335.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.3683, allocations: 53.69 kB / 335.2 MB, free: 3.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3685, allocations: 175.8 kB / 335.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.3686, allocations: 25.7 kB / 335.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3687, allocations: 168 kB / 335.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/0.3688, allocations: 24.02 kB / 335.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.3689, allocations: 1.438 kB / 335.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.369, allocations: 319 kB / 335.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.3694, allocations: 28.34 kB / 335.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.3699, allocations: 41.17 kB / 335.9 MB, free: 3.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.3701, allocations: 72.8 kB / 336 MB, free: 3.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3702, allocations: 0 / 336 MB, free: 3.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006298/0.3708, allocations: 142.4 kB / 336.1 MB, free: 3.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.3709, allocations: 33.09 kB / 336.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3709, allocations: 1.562 kB / 336.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-05/0.371, allocations: 1.812 kB / 336.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.3712, allocations: 23.14 kB / 336.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.3712, allocations: 10.08 kB / 336.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.3714, allocations: 6.594 kB / 336.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.3715, allocations: 8.203 kB / 336.2 MB, free: 3 MB / 266.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.0002025/0.3717, allocations: 126.6 kB / 336.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.3718, allocations: 12.91 kB / 336.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.3719, allocations: 18.62 kB / 336.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3719, allocations: 0 / 336.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.372, allocations: 5.062 kB / 336.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.372, allocations: 0.9844 kB / 336.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.3723, allocations: 204.4 kB / 336.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3723, allocations: 2.391 kB / 336.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.3727, allocations: 10.3 kB / 336.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.055e-05/0.3727, allocations: 1.078 kB / 336.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.3728, allocations: 4.875 kB / 336.6 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.3728, allocations: 1.344 kB / 336.6 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.3729, allocations: 4.969 kB / 336.6 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.3741, allocations: 157.2 kB / 336.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3743, allocations: 84.64 kB / 336.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.3743, allocations: 2.969 kB / 336.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3745, allocations: 5.844 kB / 336.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.3746, allocations: 10.62 kB / 336.9 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.3747, allocations: 6.469 kB / 336.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.3749, allocations: 120.2 kB / 337 MB, free: 2.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3749, allocations: 0 / 337 MB, free: 2.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006784/0.3756, allocations: 29.38 kB / 337 MB, free: 2.328 MB / 266.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 (7): * Single equations (assignments): 6 * 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.003365/0.379, allocations: 0.9179 MB / 337.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006118/0.3797, allocations: 123.1 kB / 338 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.3797, allocations: 4 kB / 338 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3799, allocations: 34.98 kB / 338.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.3803, allocations: 24.56 kB / 338.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3813, allocations: 0.5072 MB / 338.6 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.3815, allocations: 0.7053 MB / 339.3 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.3816, allocations: 34.94 kB / 339.3 MB, free: 324 kB / 266.7 MB Notification: Performance of SimCode: time 2.294e-06/0.3816, allocations: 0 / 339.3 MB, free: 324 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.786/3.167, allocations: 2.309 MB / 341.7 MB, free: 15.28 MB / 282.7 MB