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.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.239/2.239, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004155, allocations: 12 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3451, allocations: 54.86 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.002252/0.3474, allocations: 1.227 MB / 370.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006621/0.3481, allocations: 249.3 kB / 370.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.3481, allocations: 3.938 kB / 370.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3484, allocations: 91.86 kB / 370.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.3486, allocations: 67.77 kB / 370.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.3488, allocations: 23.98 kB / 370.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.349, allocations: 63.86 kB / 371 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.3491, allocations: 4 kB / 371 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.3492, allocations: 35.89 kB / 371 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3493, allocations: 39.89 kB / 371.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3493, allocations: 4 kB / 371.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.3494, allocations: 15.94 kB / 371.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.3495, allocations: 27.89 kB / 371.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.3495, allocations: 37.64 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3497, allocations: 59.92 kB / 371.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3497, allocations: 4 kB / 371.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3497, allocations: 0 / 371.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3497, allocations: 0 / 371.2 MB, free: 10.79 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.0005011/0.3502, allocations: 417.6 kB / 371.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3503, allocations: 12.03 kB / 371.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.3503, allocations: 38.48 kB / 371.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3504, allocations: 11.86 kB / 371.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.3506, allocations: 195.6 kB / 371.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.3506, allocations: 4 kB / 371.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.3507, allocations: 3.906 kB / 371.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3509, allocations: 49.69 kB / 371.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3509, allocations: 3.938 kB / 371.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3509, allocations: 4 kB / 371.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3509, allocations: 3.984 kB / 371.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3511, allocations: 27.94 kB / 372 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.3516, allocations: 300.8 kB / 372.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.3519, allocations: 46.56 kB / 372.3 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3519, allocations: 3.984 kB / 372.3 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3519, allocations: 38.56 kB / 372.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.3519, allocations: 0 / 372.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008317/0.3528, allocations: 181.2 kB / 372.5 MB, free: 9.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3528, allocations: 55.41 kB / 372.6 MB, free: 9.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3531, allocations: 230.3 kB / 372.8 MB, free: 8.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3532, allocations: 29.7 kB / 372.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.3533, allocations: 162.6 kB / 373 MB, free: 8.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3533, allocations: 19.66 kB / 373 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.3533, allocations: 0 / 373 MB, free: 8.777 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3534, allocations: 322.8 kB / 373.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3536, allocations: 31.92 kB / 373.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3537, allocations: 23.98 kB / 373.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.3539, allocations: 57.69 kB / 373.4 MB, free: 8.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3539, allocations: 0 / 373.4 MB, free: 8.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003461/0.3543, allocations: 123.4 kB / 373.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.3543, allocations: 29.7 kB / 373.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3543, allocations: 3.953 kB / 373.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3544, allocations: 0 / 373.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3545, allocations: 15.98 kB / 373.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3545, allocations: 3.984 kB / 373.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.821e-05/0.3546, allocations: 15.98 kB / 373.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3546, allocations: 0 / 373.6 MB, free: 8.129 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.0001242/0.3548, allocations: 133.8 kB / 373.8 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.3548, allocations: 11.91 kB / 373.8 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.3552, allocations: 106.7 kB / 373.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3552, allocations: 3.953 kB / 373.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3553, allocations: 320 / 373.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3553, allocations: 3.984 kB / 373.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.3559, allocations: 382.4 kB / 374.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3559, allocations: 0 / 374.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.356, allocations: 12 kB / 374.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3561, allocations: 7.891 kB / 374.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3561, allocations: 0 / 374.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3561, allocations: 4 kB / 374.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.3561, allocations: 3.984 kB / 374.3 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.3565, allocations: 199.3 kB / 374.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3565, allocations: 85 kB / 374.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3566, allocations: 7.953 kB / 374.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3567, allocations: 4 kB / 374.6 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3568, allocations: 7.984 kB / 374.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.3568, allocations: 0 / 374.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.357, allocations: 179.2 kB / 374.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.357, allocations: 0 / 374.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.3573, allocations: 15.98 kB / 374.8 MB, free: 6.883 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.001352/0.3587, allocations: 0.9161 MB / 375.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.3591, allocations: 123.2 kB / 375.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3591, allocations: 0 / 375.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.3592, allocations: 35.98 kB / 375.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3595, allocations: 11.94 kB / 375.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/0.3604, allocations: 0.5142 MB / 376.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3608, allocations: 0.7082 MB / 377.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/0.3609, allocations: 31.42 kB / 377.1 MB, free: 4.508 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3609, allocations: 0 / 377.1 MB, free: 4.508 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.39/2.751, allocations: 1.974 MB / 379.1 MB, free: 2.531 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test32_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.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