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.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.204/2.204, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004268, allocations: 16 kB / 314.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3277, allocations: 54.87 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002216/0.33, allocations: 1.219 MB / 370.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006554/0.3306, allocations: 257.2 kB / 370.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.3307, allocations: 4 kB / 370.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.331, allocations: 63.77 kB / 370.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.3312, allocations: 43.94 kB / 370.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.3313, allocations: 27.91 kB / 370.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3315, allocations: 47.94 kB / 370.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.3316, allocations: 11.98 kB / 370.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.3317, allocations: 23.92 kB / 371 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3318, allocations: 35.83 kB / 371 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3318, allocations: 4 kB / 371 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.3319, allocations: 15.94 kB / 371 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.3319, allocations: 15.92 kB / 371 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.332, allocations: 33.7 kB / 371.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3321, allocations: 59.91 kB / 371.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.3321, allocations: 0 / 371.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3322, allocations: 0 / 371.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.3322, allocations: 4 kB / 371.1 MB, free: 8.965 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.0004695/0.3327, allocations: 393.8 kB / 371.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3327, allocations: 12.03 kB / 371.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.3327, allocations: 38.5 kB / 371.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.3328, allocations: 15.86 kB / 371.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.333, allocations: 182.9 kB / 371.8 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.333, allocations: 0 / 371.8 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.3331, allocations: 8 kB / 371.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3332, allocations: 53.62 kB / 371.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3333, allocations: 3.938 kB / 371.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3333, allocations: 3.953 kB / 371.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3333, allocations: 0 / 371.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3335, allocations: 27.98 kB / 371.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.3339, allocations: 292.9 kB / 372.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.3342, allocations: 42.56 kB / 372.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3342, allocations: 4 kB / 372.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3342, allocations: 34.52 kB / 372.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.3343, allocations: 0 / 372.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008122/0.3351, allocations: 173.3 kB / 372.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.3351, allocations: 51.41 kB / 372.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3354, allocations: 192 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3354, allocations: 29.7 kB / 372.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.3355, allocations: 162.6 kB / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3355, allocations: 11.75 kB / 372.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.3355, allocations: 0 / 372.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3357, allocations: 322.8 kB / 373.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3358, allocations: 31.97 kB / 373.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.336, allocations: 23.98 kB / 373.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3361, allocations: 57.69 kB / 373.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3362, allocations: 0 / 373.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003666/0.3365, allocations: 127.3 kB / 373.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.3366, allocations: 29.7 kB / 373.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3366, allocations: 0 / 373.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3366, allocations: 0 / 373.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3367, allocations: 15.98 kB / 373.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3368, allocations: 0 / 373.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.3368, allocations: 8 kB / 373.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3369, allocations: 8 kB / 373.4 MB, free: 6.414 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.0001118/0.337, allocations: 125.8 kB / 373.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.337, allocations: 11.86 kB / 373.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.3374, allocations: 113.8 kB / 373.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3375, allocations: 4.594 kB / 373.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3375, allocations: 7.938 kB / 373.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3375, allocations: 0 / 373.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.3381, allocations: 362.5 kB / 374 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3381, allocations: 11.97 kB / 374.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3382, allocations: 12 kB / 374.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3382, allocations: 4 kB / 374.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3383, allocations: 0 / 374.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3383, allocations: 0 / 374.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3383, allocations: 0 / 374.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.3387, allocations: 203.3 kB / 374.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.3387, allocations: 84.97 kB / 374.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3388, allocations: 7.984 kB / 374.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3389, allocations: 8 kB / 374.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.3389, allocations: 4 kB / 374.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3389, allocations: 3.984 kB / 374.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3391, allocations: 142.4 kB / 374.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3391, allocations: 0 / 374.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.3394, allocations: 12 kB / 374.5 MB, free: 5.219 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.001322/0.3408, allocations: 0.9118 MB / 375.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.3412, allocations: 127.2 kB / 375.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3412, allocations: 0 / 375.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3413, allocations: 27.98 kB / 375.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3416, allocations: 8 kB / 375.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.3424, allocations: 473 kB / 376.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3427, allocations: 0.7004 MB / 376.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.3428, allocations: 31.42 kB / 376.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3428, allocations: 0 / 376.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.372/2.715, allocations: 1.743 MB / 378.5 MB, free: 1.156 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_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