Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004412, allocations: 16 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3373, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002796/0.3402, allocations: 1.512 MB / 370.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.342, allocations: 0.7462 MB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.3422, allocations: 4 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.3426, allocations: 23.84 kB / 371.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.3428, allocations: 39.88 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.3432, allocations: 71.8 kB / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.3434, allocations: 79.84 kB / 371.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3436, allocations: 25.38 kB / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3437, allocations: 47.83 kB / 371.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3438, allocations: 39.78 kB / 371.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.3438, allocations: 4 kB / 371.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.344, allocations: 35.92 kB / 371.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.344, allocations: 19.91 kB / 371.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.3441, allocations: 41.64 kB / 372 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3444, allocations: 100.8 kB / 372.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3444, allocations: 0 / 372.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3444, allocations: 0 / 372.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3444, allocations: 0 / 372.1 MB, free: 7.898 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007521/0.3452, allocations: 0.5076 MB / 372.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3452, allocations: 8.031 kB / 372.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.3453, allocations: 38.56 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.3453, allocations: 15.81 kB / 372.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.3456, allocations: 203.6 kB / 372.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3457, allocations: 11.98 kB / 372.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.3457, allocations: 8 kB / 372.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.346, allocations: 85.59 kB / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3461, allocations: 0 / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3461, allocations: 7.953 kB / 372.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3461, allocations: 0 / 372.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.3463, allocations: 47.97 kB / 373 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.347, allocations: 360.6 kB / 373.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.3475, allocations: 86.62 kB / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3475, allocations: 0 / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/0.3478, allocations: 95.3 kB / 373.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.3479, allocations: 0 / 373.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006173/0.3485, allocations: 145.5 kB / 373.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3486, allocations: 55.41 kB / 373.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3488, allocations: 167.3 kB / 373.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.3488, allocations: 37.64 kB / 373.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.349, allocations: 178.8 kB / 374.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.349, allocations: 19.72 kB / 374.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.349, allocations: 0 / 374.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3492, allocations: 318.8 kB / 374.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.3494, allocations: 43.92 kB / 374.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.3496, allocations: 62.55 kB / 374.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3498, allocations: 73.81 kB / 374.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3498, allocations: 0 / 374.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000526/0.3503, allocations: 183.3 kB / 374.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.3504, allocations: 39.56 kB / 374.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3504, allocations: 8 kB / 374.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3505, allocations: 4 kB / 374.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.3507, allocations: 19.98 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3507, allocations: 0 / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3508, allocations: 19.84 kB / 374.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3509, allocations: 8 kB / 374.9 MB, free: 4.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001806/0.3511, allocations: 130.5 kB / 375 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.3511, allocations: 11.86 kB / 375 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.3512, allocations: 21.34 kB / 375 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3512, allocations: 3.984 kB / 375 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3512, allocations: 0 / 375 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3512, allocations: 4 kB / 375 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.3515, allocations: 205.5 kB / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3515, allocations: 0 / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3516, allocations: 15.98 kB / 375.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3516, allocations: 3.953 kB / 375.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3517, allocations: 4 kB / 375.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3517, allocations: 4 kB / 375.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3517, allocations: 4 kB / 375.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.3523, allocations: 180.9 kB / 375.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3524, allocations: 96.94 kB / 375.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.3525, allocations: 7.953 kB / 375.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3526, allocations: 12.06 kB / 375.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.3527, allocations: 7.984 kB / 375.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.3527, allocations: 8 kB / 375.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.3529, allocations: 129 kB / 375.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3529, allocations: 0 / 375.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.3532, allocations: 39.92 kB / 375.7 MB, free: 3.855 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001985/0.3552, allocations: 0.995 MB / 376.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.3557, allocations: 171.3 kB / 376.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3558, allocations: 0 / 376.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.3559, allocations: 40.11 kB / 376.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3563, allocations: 27.84 kB / 377 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.3573, allocations: 0.5433 MB / 377.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3576, allocations: 0.716 MB / 378.2 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.3577, allocations: 35.8 kB / 378.3 MB, free: 1.289 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3578, allocations: 0 / 378.3 MB, free: 1.289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.608/2.966, allocations: 2.537 MB / 380.8 MB, free: 14.75 MB / 314.7 MB