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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.207/2.207, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004341, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3289, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002266/0.3312, allocations: 1.223 MB / 370.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006663/0.3319, allocations: 261.1 kB / 370.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.3319, allocations: 4 kB / 370.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3322, allocations: 51.86 kB / 370.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.3324, allocations: 51.86 kB / 370.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.3326, allocations: 23.92 kB / 370.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.3327, allocations: 51.92 kB / 370.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.3328, allocations: 8 kB / 370.9 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.3329, allocations: 27.91 kB / 371 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.333, allocations: 31.84 kB / 371 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3331, allocations: 0 / 371 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-05/0.3331, allocations: 23.92 kB / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.3332, allocations: 11.98 kB / 371 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.3333, allocations: 33.64 kB / 371.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3334, allocations: 55.92 kB / 371.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3334, allocations: 0 / 371.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3334, allocations: 4 kB / 371.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.3334, allocations: 4 kB / 371.1 MB, free: 8.836 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.0004931/0.3339, allocations: 393.8 kB / 371.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.334, allocations: 8.031 kB / 371.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.334, allocations: 30.56 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.3341, allocations: 15.84 kB / 371.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3343, allocations: 194.8 kB / 371.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3343, allocations: 4 kB / 371.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3344, allocations: 0 / 371.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3345, allocations: 53.69 kB / 371.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3346, allocations: 0 / 371.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3346, allocations: 3.953 kB / 371.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3346, allocations: 4 kB / 371.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3348, allocations: 35.84 kB / 371.9 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.3352, allocations: 272.9 kB / 372.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3354, allocations: 42.56 kB / 372.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3355, allocations: 8.078 kB / 372.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3355, allocations: 38.52 kB / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3355, allocations: 0 / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008021/0.3363, allocations: 161.2 kB / 372.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.3364, allocations: 51.41 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3366, allocations: 188 kB / 372.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3367, allocations: 29.7 kB / 372.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.3368, allocations: 162.6 kB / 372.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3368, allocations: 15.73 kB / 372.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.3368, allocations: 0 / 372.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3369, allocations: 318.8 kB / 373.1 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3371, allocations: 19.98 kB / 373.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3372, allocations: 31.92 kB / 373.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3374, allocations: 53.69 kB / 373.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3374, allocations: 0 / 373.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003547/0.3378, allocations: 123.3 kB / 373.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.3378, allocations: 33.7 kB / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3379, allocations: 0 / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3379, allocations: 0 / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.338, allocations: 12 kB / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.338, allocations: 3.984 kB / 373.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.3381, allocations: 8 kB / 373.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3381, allocations: 0 / 373.4 MB, free: 6.324 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.000113/0.3383, allocations: 129.8 kB / 373.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.3383, allocations: 11.86 kB / 373.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.3387, allocations: 105.9 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3387, allocations: 0 / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3387, allocations: 0 / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3387, allocations: 4 kB / 373.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.3393, allocations: 350.5 kB / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3394, allocations: 0 / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3395, allocations: 24.3 kB / 374 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3395, allocations: 4 kB / 374 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3395, allocations: 4 kB / 374 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3395, allocations: 4 kB / 374 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3395, allocations: 0 / 374 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.3399, allocations: 187.4 kB / 374.2 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.34, allocations: 88.97 kB / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.34, allocations: 0 / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3401, allocations: 7.938 kB / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.3402, allocations: 12.2 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3402, allocations: 4 kB / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3403, allocations: 138.6 kB / 374.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3404, allocations: 0 / 374.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.3407, allocations: 15.98 kB / 374.5 MB, free: 5.156 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.00134/0.342, allocations: 0.9109 MB / 375.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.3424, allocations: 119.3 kB / 375.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3424, allocations: 0 / 375.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.3426, allocations: 27.98 kB / 375.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3429, allocations: 15.92 kB / 375.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008252/0.3437, allocations: 457 kB / 376 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.344, allocations: 0.7082 MB / 376.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.3441, allocations: 23.42 kB / 376.7 MB, free: 2.855 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3441, allocations: 4 kB / 376.7 MB, free: 2.852 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.476/2.82, allocations: 1.7 MB / 378.4 MB, free: 1.152 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.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(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[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,t_new.verboseRead,t_new.y[1],time