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.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27",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: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004179, allocations: 8 kB / 314.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3319, allocations: 54.88 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.002205/0.3341, allocations: 1.216 MB / 370.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006643/0.3348, allocations: 253.2 kB / 370.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.3349, allocations: 7.938 kB / 370.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.3352, allocations: 119.7 kB / 370.9 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.3354, allocations: 63.84 kB / 370.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.3356, allocations: 23.97 kB / 371 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3358, allocations: 63.84 kB / 371 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.3359, allocations: 15.98 kB / 371 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.3359, allocations: 35.91 kB / 371.1 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3361, allocations: 55.86 kB / 371.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3361, allocations: 4 kB / 371.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.3362, allocations: 15.92 kB / 371.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.3363, allocations: 23.92 kB / 371.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.3363, allocations: 37.64 kB / 371.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3365, allocations: 71.89 kB / 371.3 MB, free: 8.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.3365, allocations: 0 / 371.3 MB, free: 8.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3365, allocations: 0 / 371.3 MB, free: 8.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.3365, allocations: 4 kB / 371.3 MB, free: 8.828 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.00053/0.3371, allocations: 425.5 kB / 371.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3371, allocations: 8.031 kB / 371.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.3372, allocations: 30.56 kB / 371.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.3372, allocations: 19.77 kB / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3374, allocations: 190.8 kB / 371.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-06/0.3375, allocations: 4 kB / 371.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3375, allocations: 0 / 371.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3377, allocations: 57.69 kB / 372 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3377, allocations: 0 / 372 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3377, allocations: 7.938 kB / 372 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3377, allocations: 0 / 372 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3379, allocations: 39.8 kB / 372 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.3384, allocations: 300.8 kB / 372.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3386, allocations: 42.56 kB / 372.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3387, allocations: 4 kB / 372.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3387, allocations: 30.56 kB / 372.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.532e-06/0.3387, allocations: 3.938 kB / 372.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008132/0.3396, allocations: 177.3 kB / 372.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3396, allocations: 55.41 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.34, allocations: 263.4 kB / 372.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.34, allocations: 25.7 kB / 372.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3401, allocations: 174.5 kB / 373.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.3401, allocations: 15.75 kB / 373.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.3402, allocations: 4 kB / 373.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3403, allocations: 314.8 kB / 373.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.3404, allocations: 27.98 kB / 373.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3406, allocations: 23.98 kB / 373.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3407, allocations: 57.69 kB / 373.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3407, allocations: 0 / 373.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003524/0.3411, allocations: 123.4 kB / 373.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.3412, allocations: 29.7 kB / 373.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3412, allocations: 3.953 kB / 373.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3412, allocations: 4 kB / 373.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3413, allocations: 19.92 kB / 373.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3413, allocations: 4 kB / 373.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.3414, allocations: 4 kB / 373.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3414, allocations: 4 kB / 373.7 MB, free: 6.133 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.0001268/0.3416, allocations: 129.8 kB / 373.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.3416, allocations: 19.8 kB / 373.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.342, allocations: 106.7 kB / 374 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3421, allocations: 11.95 kB / 374 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3421, allocations: 0 / 374 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3421, allocations: 0 / 374 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/0.3427, allocations: 378.7 kB / 374.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3427, allocations: 4.062 kB / 374.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3428, allocations: 16.28 kB / 374.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3429, allocations: 3.953 kB / 374.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3429, allocations: 3.984 kB / 374.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3429, allocations: 0 / 374.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3429, allocations: 0 / 374.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.3433, allocations: 207.3 kB / 374.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3434, allocations: 85 kB / 374.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3434, allocations: 7.953 kB / 374.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3435, allocations: 7.938 kB / 374.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3436, allocations: 3.984 kB / 374.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3436, allocations: 4 kB / 374.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000232/0.3438, allocations: 197.2 kB / 374.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3438, allocations: 4 kB / 374.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.3441, allocations: 16 kB / 374.9 MB, free: 4.852 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.001327/0.3455, allocations: 0.9182 MB / 375.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.3459, allocations: 119.4 kB / 375.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3459, allocations: 0 / 375.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.346, allocations: 27.98 kB / 376 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.3463, allocations: 16.08 kB / 376 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.3473, allocations: 0.5502 MB / 376.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3476, allocations: 0.716 MB / 377.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.3477, allocations: 35.42 kB / 377.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of SimCode: time 6.32e-07/0.3477, allocations: 0 / 377.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.433/2.78, allocations: 2.091 MB / 379.4 MB, free: 344 kB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27_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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time