Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.202/2.202, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 12 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3378, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002278/0.3401, allocations: 1.219 MB / 370.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.3408, allocations: 261.2 kB / 370.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.3409, allocations: 0 / 370.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.3412, allocations: 67.84 kB / 370.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.3414, allocations: 43.88 kB / 370.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.3415, allocations: 35.89 kB / 370.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.3417, allocations: 43.89 kB / 370.9 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3418, allocations: 15.98 kB / 370.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.3419, allocations: 23.91 kB / 371 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.342, allocations: 43.89 kB / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3421, allocations: 0 / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.3421, allocations: 15.94 kB / 371 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.3422, allocations: 23.91 kB / 371.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.3423, allocations: 29.7 kB / 371.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.3425, allocations: 55.92 kB / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3425, allocations: 0 / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3425, allocations: 0 / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3425, allocations: 0 / 371.1 MB, free: 8.82 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.0005776/0.3431, allocations: 413.6 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3431, allocations: 12.03 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.3432, allocations: 30.56 kB / 371.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.3432, allocations: 15.84 kB / 371.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3435, allocations: 179.5 kB / 371.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3435, allocations: 3.938 kB / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3435, allocations: 7.984 kB / 371.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3437, allocations: 49.69 kB / 371.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3437, allocations: 4 kB / 371.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3438, allocations: 0 / 371.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3438, allocations: 4 kB / 371.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3439, allocations: 35.88 kB / 371.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.3444, allocations: 292.7 kB / 372.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.3447, allocations: 50.56 kB / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3447, allocations: 0 / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3448, allocations: 34.5 kB / 372.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.3448, allocations: 0 / 372.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008378/0.3456, allocations: 177.4 kB / 372.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3457, allocations: 55.34 kB / 372.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.3459, allocations: 198.5 kB / 372.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.346, allocations: 29.7 kB / 372.7 MB, free: 7.055 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.3461, allocations: 162.5 kB / 372.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.3461, allocations: 19.75 kB / 372.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.3461, allocations: 0 / 372.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3463, allocations: 314.8 kB / 373.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3464, allocations: 27.98 kB / 373.2 MB, free: 6.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3466, allocations: 31.98 kB / 373.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3467, allocations: 53.69 kB / 373.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3468, allocations: 0 / 373.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003503/0.3471, allocations: 119.4 kB / 373.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3472, allocations: 37.7 kB / 373.4 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3472, allocations: 3.953 kB / 373.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3472, allocations: 0 / 373.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3473, allocations: 19.92 kB / 373.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3474, allocations: 3.984 kB / 373.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.3475, allocations: 7.984 kB / 373.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3475, allocations: 4 kB / 373.5 MB, free: 6.23 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.0001264/0.3476, allocations: 125.8 kB / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3477, allocations: 7.906 kB / 373.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.3481, allocations: 106 kB / 373.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3481, allocations: 7.953 kB / 373.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3481, allocations: 0 / 373.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3481, allocations: 0 / 373.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.3487, allocations: 366.5 kB / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3488, allocations: 384 / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.3489, allocations: 15.98 kB / 374.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3489, allocations: 11.89 kB / 374.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3489, allocations: 7.938 kB / 374.1 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3489, allocations: 0 / 374.1 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3489, allocations: 0 / 374.1 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.3493, allocations: 199.3 kB / 374.3 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.3494, allocations: 89.02 kB / 374.4 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3494, allocations: 3.953 kB / 374.4 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3495, allocations: 8.266 kB / 374.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.3496, allocations: 8 kB / 374.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.3496, allocations: 0 / 374.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.3498, allocations: 151.1 kB / 374.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3498, allocations: 0 / 374.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.3501, allocations: 16 kB / 374.6 MB, free: 5.027 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.001405/0.3515, allocations: 0.9227 MB / 375.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.3519, allocations: 115.4 kB / 375.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3519, allocations: 0 / 375.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3521, allocations: 31.97 kB / 375.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3524, allocations: 15.94 kB / 375.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008638/0.3532, allocations: 485.1 kB / 376.1 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.3536, allocations: 0.7043 MB / 376.8 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.3537, allocations: 27.42 kB / 376.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3537, allocations: 4 kB / 376.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.365/2.719, allocations: 1.79 MB / 378.7 MB, free: 0.8945 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test30_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.table[6,1],t_new.table[6,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time