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.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",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.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004319, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3577, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002348/0.3601, allocations: 1.293 MB / 332.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.3611, allocations: 414 kB / 333 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.3612, allocations: 0 / 333 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.3615, allocations: 29.7 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.3617, allocations: 26.95 kB / 333 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.362, allocations: 62.62 kB / 333.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3621, allocations: 52.52 kB / 333.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3622, allocations: 18.84 kB / 333.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.3623, allocations: 22.8 kB / 333.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.3624, allocations: 22.92 kB / 333.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3624, allocations: 5.109 kB / 333.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3626, allocations: 38.08 kB / 333.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.3626, allocations: 16.61 kB / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.3627, allocations: 33.33 kB / 333.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3629, allocations: 81.19 kB / 333.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.3629, allocations: 1.25 kB / 333.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3629, allocations: 0 / 333.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.363, allocations: 0 / 333.4 MB, free: 5.391 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.0004898/0.3635, allocations: 407.5 kB / 333.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3635, allocations: 9.75 kB / 333.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.3636, allocations: 40.31 kB / 333.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.3636, allocations: 8.172 kB / 333.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3638, allocations: 195 kB / 334 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3638, allocations: 9.375 kB / 334 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3639, allocations: 2.688 kB / 334 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.364, allocations: 43.17 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.364, allocations: 0 / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3641, allocations: 1.188 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3641, allocations: 0 / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.3641, allocations: 14.19 kB / 334.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.3645, allocations: 282.7 kB / 334.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.3648, allocations: 42.95 kB / 334.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3648, allocations: 1.531 kB / 334.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.365, allocations: 55.2 kB / 334.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.365, allocations: 3.938 kB / 334.5 MB, free: 4.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004891/0.3655, allocations: 111.9 kB / 334.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.3655, allocations: 57.25 kB / 334.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3657, allocations: 177.2 kB / 334.8 MB, free: 4.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3658, allocations: 32.81 kB / 334.8 MB, free: 4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.3658, allocations: 160.5 kB / 335 MB, free: 3.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.3659, allocations: 15.73 kB / 335 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.3659, allocations: 1.219 kB / 335 MB, free: 3.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.366, allocations: 313.3 kB / 335.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.366, allocations: 24.06 kB / 335.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.3661, allocations: 24.08 kB / 335.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.3662, allocations: 53.73 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3662, allocations: 1.188 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002201/0.3664, allocations: 113.2 kB / 335.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.3665, allocations: 32.3 kB / 335.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3665, allocations: 1.828 kB / 335.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3665, allocations: 3.938 kB / 335.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.3666, allocations: 10.12 kB / 335.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3666, allocations: 0.6562 kB / 335.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.3667, allocations: 11.34 kB / 335.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3667, allocations: 2.438 kB / 335.6 MB, free: 3.324 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 0.0001002/0.3668, allocations: 128.8 kB / 335.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.3669, allocations: 12.91 kB / 335.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.3669, allocations: 13.73 kB / 335.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.367, allocations: 0 / 335.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.367, allocations: 1.672 kB / 335.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.367, allocations: 0 / 335.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.3674, allocations: 337.3 kB / 336.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3674, allocations: 0 / 336.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.3674, allocations: 10.27 kB / 336.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3675, allocations: 0 / 336.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3675, allocations: 2.234 kB / 336.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3675, allocations: 1.656 kB / 336.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3675, allocations: 3.953 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3677, allocations: 175 kB / 336.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.3677, allocations: 86.36 kB / 336.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3678, allocations: 0.75 kB / 336.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.3679, allocations: 6.562 kB / 336.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3679, allocations: 3.812 kB / 336.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3679, allocations: 6.672 kB / 336.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3681, allocations: 131.2 kB / 336.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3681, allocations: 0 / 336.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.3685, allocations: 28.47 kB / 336.5 MB, free: 2.488 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.001304/0.3698, allocations: 0.9747 MB / 337.5 MB, free: 1.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.37, allocations: 101.7 kB / 337.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.37, allocations: 3.938 kB / 337.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.3701, allocations: 16.36 kB / 337.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3704, allocations: 26.73 kB / 337.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007981/0.3713, allocations: 444.1 kB / 338.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.3714, allocations: 0.7056 MB / 338.8 MB, free: 484 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.3715, allocations: 23.86 kB / 338.8 MB, free: 468 kB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3715, allocations: 0 / 338.8 MB, free: 468 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.583/2.954, allocations: 2.077 MB / 340.9 MB, free: 15.68 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.verboseRead,t_new.y[1],time