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.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.241/2.241, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 8 kB / 314.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 54.87 MB / 369.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002331/0.3396, allocations: 1.219 MB / 370.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006803/0.3404, allocations: 257.2 kB / 370.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.3404, allocations: 0 / 370.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.3406, allocations: 15.86 kB / 370.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.3408, allocations: 23.97 kB / 370.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.341, allocations: 27.92 kB / 370.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3411, allocations: 39.94 kB / 370.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3412, allocations: 11.98 kB / 370.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/0.3413, allocations: 15.94 kB / 370.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.3414, allocations: 19.86 kB / 370.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3414, allocations: 0 / 370.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.3415, allocations: 19.94 kB / 370.9 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.3415, allocations: 11.97 kB / 370.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.3416, allocations: 33.64 kB / 371 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.3417, allocations: 51.92 kB / 371 MB, free: 9.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3418, allocations: 4 kB / 371 MB, free: 9.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3418, allocations: 0 / 371 MB, free: 9.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3418, allocations: 0 / 371 MB, free: 9.086 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.0004995/0.3423, allocations: 393.8 kB / 371.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3424, allocations: 8.031 kB / 371.4 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.3424, allocations: 30.56 kB / 371.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.3424, allocations: 7.953 kB / 371.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.3426, allocations: 195.4 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3427, allocations: 0 / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.3427, allocations: 4 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3429, allocations: 53.62 kB / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3429, allocations: 7.938 kB / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3429, allocations: 0 / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.343, allocations: 0 / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.3431, allocations: 27.94 kB / 371.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.3435, allocations: 276.8 kB / 372 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.3438, allocations: 46.56 kB / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3438, allocations: 0 / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3439, allocations: 30.56 kB / 372.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3439, allocations: 0 / 372.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008134/0.3447, allocations: 165.4 kB / 372.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3447, allocations: 51.41 kB / 372.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.3449, allocations: 160 kB / 372.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.345, allocations: 29.7 kB / 372.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.3451, allocations: 162.5 kB / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.3451, allocations: 19.78 kB / 372.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.3451, allocations: 0 / 372.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3452, allocations: 314.8 kB / 373 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3454, allocations: 23.98 kB / 373 MB, free: 6.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3455, allocations: 23.98 kB / 373 MB, free: 6.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3457, allocations: 61.62 kB / 373.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3457, allocations: 0 / 373.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003398/0.346, allocations: 111.4 kB / 373.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.3461, allocations: 37.69 kB / 373.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3461, allocations: 3.953 kB / 373.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3461, allocations: 0 / 373.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3463, allocations: 12 kB / 373.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3463, allocations: 0 / 373.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.3464, allocations: 11.98 kB / 373.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3464, allocations: 3.984 kB / 373.2 MB, free: 6.617 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.000105/0.3465, allocations: 121.8 kB / 373.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.3466, allocations: 7.906 kB / 373.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.3469, allocations: 105.9 kB / 373.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.347, allocations: 3.953 kB / 373.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.347, allocations: 4.25 kB / 373.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.347, allocations: 0 / 373.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005947/0.3476, allocations: 358.5 kB / 373.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3476, allocations: 0 / 373.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3477, allocations: 16 kB / 373.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.3477, allocations: 7.938 kB / 373.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3478, allocations: 4 kB / 373.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3478, allocations: 4 kB / 373.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3478, allocations: 288 / 373.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.3481, allocations: 183.4 kB / 374 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.3482, allocations: 85 kB / 374.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3482, allocations: 11.94 kB / 374.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3484, allocations: 8 kB / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.3484, allocations: 4 kB / 374.1 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.3484, allocations: 7.938 kB / 374.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.3486, allocations: 117.3 kB / 374.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3486, allocations: 0 / 374.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000303/0.3489, allocations: 23.98 kB / 374.3 MB, free: 5.465 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.001331/0.3503, allocations: 0.8954 MB / 375.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.3506, allocations: 119.2 kB / 375.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3507, allocations: 0 / 375.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3508, allocations: 27.98 kB / 375.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3511, allocations: 15.94 kB / 375.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.3519, allocations: 432.2 kB / 375.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3522, allocations: 0.7004 MB / 376.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.3523, allocations: 19.44 kB / 376.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3523, allocations: 0 / 376.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.407/2.759, allocations: 1.595 MB / 378.1 MB, free: 1.617 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_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.u,t_new.verboseRead,t_new.y[1],time