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 1.969/1.969, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006589/0.0006591, allocations: 19.94 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3663, allocations: 48.7 MB / 331.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00259/0.369, allocations: 1.454 MB / 332.7 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3701, allocations: 442.4 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.3702, allocations: 3.875 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.3705, allocations: 25.2 kB / 333.2 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.3707, allocations: 34.55 kB / 333.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.371, allocations: 70.88 kB / 333.3 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3712, allocations: 79.92 kB / 333.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3713, allocations: 26.56 kB / 333.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.3714, allocations: 35.81 kB / 333.4 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.3715, allocations: 29.77 kB / 333.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3716, allocations: 2.969 kB / 333.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3717, allocations: 31.52 kB / 333.5 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.3718, allocations: 17.36 kB / 333.5 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.3718, allocations: 43.08 kB / 333.6 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3721, allocations: 101.2 kB / 333.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.3721, allocations: 0 / 333.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3721, allocations: 0 / 333.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3721, allocations: 1.344 kB / 333.7 MB, free: 5.227 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.0006088/0.3728, allocations: 459.6 kB / 334.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.3728, allocations: 9.344 kB / 334.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.3729, allocations: 42.17 kB / 334.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3729, allocations: 13.55 kB / 334.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3732, allocations: 211.8 kB / 334.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3732, allocations: 7.156 kB / 334.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.3733, allocations: 4.516 kB / 334.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.3735, allocations: 73.8 kB / 334.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3736, allocations: 2.031 kB / 334.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3736, allocations: 0 / 334.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3736, allocations: 2.125 kB / 334.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.3738, allocations: 47.02 kB / 334.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.3744, allocations: 334.3 kB / 334.8 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.3747, allocations: 69.3 kB / 334.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3748, allocations: 5.281 kB / 334.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.375, allocations: 72.88 kB / 335 MB, free: 4.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.3751, allocations: 1.531 kB / 335 MB, free: 4.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004608/0.3755, allocations: 119.8 kB / 335.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.3756, allocations: 56.11 kB / 335.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3758, allocations: 167 kB / 335.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3758, allocations: 30.89 kB / 335.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.3759, allocations: 162.7 kB / 335.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3759, allocations: 25.17 kB / 335.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.3759, allocations: 5.25 kB / 335.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.376, allocations: 318.3 kB / 335.9 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3761, allocations: 29.09 kB / 335.9 MB, free: 3.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3763, allocations: 44.97 kB / 335.9 MB, free: 3.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3764, allocations: 65.17 kB / 336 MB, free: 3.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3765, allocations: 0 / 336 MB, free: 3.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003946/0.3769, allocations: 145.9 kB / 336.1 MB, free: 3.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.3769, allocations: 38.12 kB / 336.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3769, allocations: 1.375 kB / 336.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.377, allocations: 0 / 336.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3771, allocations: 15.84 kB / 336.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3771, allocations: 1.219 kB / 336.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/0.3772, allocations: 11.91 kB / 336.2 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3773, allocations: 7.578 kB / 336.2 MB, free: 3.023 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.0001033/0.3774, allocations: 127.1 kB / 336.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.3774, allocations: 13.67 kB / 336.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.3775, allocations: 18.28 kB / 336.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3775, allocations: 192 / 336.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3775, allocations: 1.188 kB / 336.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3775, allocations: 4.641 kB / 336.4 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.3777, allocations: 209.2 kB / 336.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3777, allocations: 0 / 336.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3779, allocations: 15.77 kB / 336.6 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3779, allocations: 0 / 336.6 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3779, allocations: 1.844 kB / 336.6 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3779, allocations: 5 kB / 336.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3779, allocations: 3.984 kB / 336.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.3784, allocations: 159.2 kB / 336.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.3784, allocations: 84.62 kB / 336.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.3785, allocations: 1.969 kB / 336.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.3786, allocations: 10.44 kB / 336.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3786, allocations: 5.938 kB / 336.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3787, allocations: 2.156 kB / 336.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3788, allocations: 121.2 kB / 337 MB, free: 2.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.3788, allocations: 0 / 337 MB, free: 2.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.3792, allocations: 37.47 kB / 337 MB, free: 2.34 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.001425/0.3806, allocations: 0.9052 MB / 337.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004131/0.3811, allocations: 130.4 kB / 338 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3811, allocations: 1.219 kB / 338 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3812, allocations: 30.16 kB / 338.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.3816, allocations: 24.55 kB / 338.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009341/0.3825, allocations: 0.5029 MB / 338.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.3827, allocations: 0.7097 MB / 339.3 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.029e-05/0.3828, allocations: 33.69 kB / 339.3 MB, free: 352 kB / 266.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3828, allocations: 1.344 kB / 339.3 MB, free: 352 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.599/2.982, allocations: 2.316 MB / 341.7 MB, free: 15.29 MB / 282.7 MB