Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.142/2.142, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004237, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3542, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002279/0.3565, allocations: 1.219 MB / 370.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.3572, allocations: 257.2 kB / 370.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.3573, allocations: 4 kB / 370.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.3577, allocations: 111.8 kB / 370.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.3579, allocations: 71.83 kB / 370.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.3581, allocations: 27.91 kB / 371 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.3583, allocations: 51.94 kB / 371 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3584, allocations: 23.97 kB / 371 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.3585, allocations: 27.91 kB / 371.1 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3587, allocations: 63.84 kB / 371.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3587, allocations: 0 / 371.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.3588, allocations: 19.88 kB / 371.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.3589, allocations: 23.92 kB / 371.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.3589, allocations: 33.7 kB / 371.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.3591, allocations: 67.84 kB / 371.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3591, allocations: 4 kB / 371.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3591, allocations: 0 / 371.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3591, allocations: 0 / 371.3 MB, free: 8.703 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006028/0.3597, allocations: 425.6 kB / 371.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3598, allocations: 12.03 kB / 371.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.3598, allocations: 34.55 kB / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.3599, allocations: 15.77 kB / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3601, allocations: 190.8 kB / 371.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3602, allocations: 3.938 kB / 371.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3602, allocations: 8 kB / 371.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3604, allocations: 45.69 kB / 372 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3604, allocations: 0 / 372 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3604, allocations: 4 kB / 372 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3605, allocations: 7.875 kB / 372 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.3606, allocations: 35.92 kB / 372 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3611, allocations: 288.9 kB / 372.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.3614, allocations: 38.56 kB / 372.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.3614, allocations: 7.938 kB / 372.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3615, allocations: 30.56 kB / 372.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.3615, allocations: 4 kB / 372.4 MB, free: 7.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008448/0.3623, allocations: 169.2 kB / 372.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.3624, allocations: 59.39 kB / 372.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.3628, allocations: 251.5 kB / 372.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3628, allocations: 29.7 kB / 372.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3629, allocations: 178.4 kB / 373.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.363, allocations: 15.75 kB / 373.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.363, allocations: 4 kB / 373.1 MB, free: 6.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3631, allocations: 310.8 kB / 373.4 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3633, allocations: 27.98 kB / 373.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3634, allocations: 23.98 kB / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.3636, allocations: 53.69 kB / 373.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3636, allocations: 0 / 373.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000366/0.364, allocations: 119.4 kB / 373.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.364, allocations: 29.7 kB / 373.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.364, allocations: 4.234 kB / 373.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.3641, allocations: 3.938 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3642, allocations: 15.98 kB / 373.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3642, allocations: 4 kB / 373.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.3643, allocations: 8 kB / 373.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3643, allocations: 0 / 373.7 MB, free: 6.043 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001429/0.3645, allocations: 133.8 kB / 373.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.3645, allocations: 15.8 kB / 373.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.365, allocations: 106.6 kB / 373.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.365, allocations: 11.95 kB / 373.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.365, allocations: 3.938 kB / 373.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.365, allocations: 0 / 373.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.3657, allocations: 358.6 kB / 374.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3657, allocations: 4.312 kB / 374.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3658, allocations: 16 kB / 374.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3659, allocations: 3.953 kB / 374.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3659, allocations: 7.938 kB / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3659, allocations: 0 / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3659, allocations: 0 / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.3663, allocations: 199.3 kB / 374.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.3664, allocations: 85.02 kB / 374.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.3664, allocations: 7.953 kB / 374.6 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3665, allocations: 7.984 kB / 374.6 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.3666, allocations: 0 / 374.6 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.3666, allocations: 4 kB / 374.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000259/0.3669, allocations: 201.2 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3669, allocations: 4 kB / 374.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.3672, allocations: 16 kB / 374.8 MB, free: 4.781 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001417/0.3686, allocations: 0.9069 MB / 375.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.3691, allocations: 111.4 kB / 375.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3691, allocations: 0 / 375.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3692, allocations: 35.91 kB / 375.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3695, allocations: 16.05 kB / 375.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3706, allocations: 0.5347 MB / 376.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.371, allocations: 0.716 MB / 377.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.3711, allocations: 35.42 kB / 377.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3711, allocations: 0 / 377.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.571/2.942, allocations: 2.049 MB / 379.2 MB, free: 344 kB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.verboseRead,t_new.y[1],time