Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.3 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004487, allocations: 20 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 48.69 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002198/0.3519, allocations: 1.205 MB / 332.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006272/0.3526, allocations: 249.3 kB / 332.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.3527, allocations: 1.188 kB / 332.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.353, allocations: 59.45 kB / 332.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.3532, allocations: 55.45 kB / 332.8 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.3533, allocations: 23 kB / 332.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3535, allocations: 51.52 kB / 332.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3536, allocations: 11.77 kB / 332.9 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.587e-05/0.3537, allocations: 24.5 kB / 332.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3538, allocations: 32.42 kB / 333 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3539, allocations: 0 / 333 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.091e-05/0.354, allocations: 25.94 kB / 333 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.354, allocations: 13.92 kB / 333 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.3541, allocations: 35.7 kB / 333 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.3542, allocations: 53.08 kB / 333.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3542, allocations: 0 / 333.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3542, allocations: 1.094 kB / 333.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3543, allocations: 0 / 333.1 MB, free: 5.602 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004369/0.3547, allocations: 395.9 kB / 333.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3548, allocations: 10.23 kB / 333.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.3548, allocations: 36.48 kB / 333.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3548, allocations: 11.47 kB / 333.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.355, allocations: 187.8 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.3551, allocations: 1.75 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3551, allocations: 10.25 kB / 333.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3553, allocations: 50.94 kB / 333.8 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3553, allocations: 5.344 kB / 333.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3553, allocations: 0.9375 kB / 333.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.3553, allocations: 5.375 kB / 333.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3555, allocations: 26.33 kB / 333.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.3559, allocations: 284.3 kB / 334.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.3562, allocations: 57 kB / 334.2 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.3563, allocations: 1.531 kB / 334.2 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.3563, allocations: 35.27 kB / 334.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.3563, allocations: 1.375 kB / 334.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009018/0.3572, allocations: 175.5 kB / 334.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3573, allocations: 53.41 kB / 334.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3575, allocations: 181.5 kB / 334.6 MB, free: 4.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3575, allocations: 31.56 kB / 334.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.3576, allocations: 159.8 kB / 334.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3576, allocations: 20.62 kB / 334.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.3577, allocations: 0 / 334.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.3577, allocations: 317.2 kB / 335.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3579, allocations: 25.33 kB / 335.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.358, allocations: 26.38 kB / 335.2 MB, free: 3.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3582, allocations: 61.2 kB / 335.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3582, allocations: 0 / 335.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003625/0.3586, allocations: 124 kB / 335.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.3586, allocations: 32.5 kB / 335.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3586, allocations: 0 / 335.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3587, allocations: 5.734 kB / 335.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.3588, allocations: 13.33 kB / 335.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3588, allocations: 6.031 kB / 335.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.3589, allocations: 6.297 kB / 335.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3589, allocations: 5.75 kB / 335.4 MB, free: 3.551 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: 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.0001021/0.3591, allocations: 121.8 kB / 335.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.3591, allocations: 8.562 kB / 335.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.3595, allocations: 116.4 kB / 335.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3595, allocations: 0.6094 kB / 335.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3596, allocations: 1.469 kB / 335.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3596, allocations: 8.594 kB / 335.7 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.3602, allocations: 359.8 kB / 336 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3602, allocations: 0.9375 kB / 336 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3603, allocations: 14.47 kB / 336 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3603, allocations: 0 / 336 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3604, allocations: 1.25 kB / 336 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.3604, allocations: 14.56 kB / 336 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3604, allocations: 8 kB / 336.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.3608, allocations: 192.4 kB / 336.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.3608, allocations: 84.53 kB / 336.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.3608, allocations: 2.234 kB / 336.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.361, allocations: 9.984 kB / 336.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.3611, allocations: 13.08 kB / 336.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3611, allocations: 1.406 kB / 336.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3612, allocations: 141 kB / 336.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3612, allocations: 0 / 336.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.3616, allocations: 10.47 kB / 336.5 MB, free: 2.66 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: 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.001145/0.3627, allocations: 0.8737 MB / 337.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.3631, allocations: 115.3 kB / 337.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3632, allocations: 1 kB / 337.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3633, allocations: 33.88 kB / 337.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3636, allocations: 16.2 kB / 337.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.3644, allocations: 467.2 kB / 338 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.3646, allocations: 0.7083 MB / 338.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.3647, allocations: 26.67 kB / 338.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3647, allocations: 0 / 338.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.613/2.978, allocations: 1.735 MB / 340.5 MB, free: 20 kB / 266.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test3_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(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.n,t_new.smoothness,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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time