Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004625, allocations: 8 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003098/0.3663, allocations: 1.198 MB / 332.5 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.3673, allocations: 249.2 kB / 332.7 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.3674, allocations: 0 / 332.7 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.3686, allocations: 437.8 kB / 333.1 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007157/0.3693, allocations: 227 kB / 333.4 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.3696, allocations: 27.12 kB / 333.4 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.37, allocations: 114.8 kB / 333.5 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3701, allocations: 15.61 kB / 333.5 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.3704, allocations: 98.88 kB / 333.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.3708, allocations: 145.2 kB / 333.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.3709, allocations: 1.156 kB / 333.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.371, allocations: 15.31 kB / 333.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3712, allocations: 72.84 kB / 333.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.3713, allocations: 63.58 kB / 333.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.3717, allocations: 165.3 kB / 334.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3717, allocations: 0 / 334.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3718, allocations: 1.281 kB / 334.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3718, allocations: 0 / 334.1 MB, free: 5.539 MB / 266.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.001096/0.3729, allocations: 0.5979 MB / 334.7 MB, free: 5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.373, allocations: 9 kB / 334.7 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.373, allocations: 33.06 kB / 334.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.3731, allocations: 45 kB / 334.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.3736, allocations: 275.4 kB / 335 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3736, allocations: 1.156 kB / 335 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3737, allocations: 3.062 kB / 335 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.374, allocations: 60.02 kB / 335.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.374, allocations: 0 / 335.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.374, allocations: 1.188 kB / 335.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.374, allocations: 0.9844 kB / 335.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.3744, allocations: 41.09 kB / 335.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.3752, allocations: 373.2 kB / 335.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.3754, allocations: 45.22 kB / 335.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.3755, allocations: 0 / 335.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3755, allocations: 32.47 kB / 335.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 4.468e-06/0.3756, allocations: 5.266 kB / 335.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007318/0.3763, allocations: 139.8 kB / 335.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3764, allocations: 51.41 kB / 335.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.3782, allocations: 0.848 MB / 336.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3783, allocations: 30.98 kB / 336.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.3785, allocations: 229.8 kB / 336.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3786, allocations: 9.125 kB / 336.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.3786, allocations: 0 / 336.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.3787, allocations: 324.2 kB / 337.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3789, allocations: 16.92 kB / 337.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.3791, allocations: 22.17 kB / 337.2 MB, free: 3.066 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3793, allocations: 47 kB / 337.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3793, allocations: 4 kB / 337.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004947/0.3798, allocations: 108.6 kB / 337.4 MB, free: 2.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.3799, allocations: 31.48 kB / 337.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3799, allocations: 0 / 337.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3799, allocations: 1.469 kB / 337.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3801, allocations: 16.58 kB / 337.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3802, allocations: 0 / 337.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3804, allocations: 10.75 kB / 337.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3804, allocations: 1.094 kB / 337.4 MB, free: 2.895 MB / 266.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 (4): * Single equations (assignments): 3 * 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.0004645/0.3809, allocations: 215.9 kB / 337.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.3811, allocations: 37.72 kB / 337.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.3817, allocations: 124.7 kB / 337.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3817, allocations: 1.25 kB / 337.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3817, allocations: 0 / 337.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3817, allocations: 3.938 kB / 337.8 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.3823, allocations: 290.1 kB / 338.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3824, allocations: 0 / 338.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.3825, allocations: 9.906 kB / 338.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.3825, allocations: 4 kB / 338.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3826, allocations: 0 / 338.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3826, allocations: 1.625 kB / 338.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3826, allocations: 7.922 kB / 338.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.3831, allocations: 201.8 kB / 338.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3832, allocations: 110.6 kB / 338.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.3833, allocations: 4 kB / 338.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.3836, allocations: 12.64 kB / 338.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3837, allocations: 2.5 kB / 338.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3837, allocations: 1.25 kB / 338.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.3851, allocations: 0.6358 MB / 339.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.954e-06/0.3852, allocations: 0 / 339.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008062/0.386, allocations: 31.14 kB / 339.1 MB, free: 1.738 MB / 266.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 (3): * Single equations (assignments): 3 * 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.002325/0.3883, allocations: 0.8485 MB / 340 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005077/0.3889, allocations: 99.12 kB / 340.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3889, allocations: 1.531 kB / 340.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3891, allocations: 27.64 kB / 340.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.3897, allocations: 12.91 kB / 340.1 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.3929, allocations: 1.24 MB / 341.3 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/0.3938, allocations: 0.8191 MB / 342.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.3942, allocations: 99.08 kB / 342.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3942, allocations: 0 / 342.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.679/3.073, allocations: 6.028 MB / 348.3 MB, free: 12.11 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat failed! " Variables in the reference:time,t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,10],t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[1,4],t_new.table[1,5],t_new.table[1,6],t_new.table[1,7],t_new.table[1,8],t_new.table[1,9],t_new.table[10,10],t_new.table[10,1],t_new.table[10,2],t_new.table[10,3],t_new.table[10,4],t_new.table[10,5],t_new.table[10,6],t_new.table[10,7],t_new.table[10,8],t_new.table[10,9],t_new.table[11,10],t_new.table[11,1],t_new.table[11,2],t_new.table[11,3],t_new.table[11,4],t_new.table[11,5],t_new.table[11,6],t_new.table[11,7],t_new.table[11,8],t_new.table[11,9],t_new.table[12,10],t_new.table[12,1],t_new.table[12,2],t_new.table[12,3],t_new.table[12,4],t_new.table[12,5],t_new.table[12,6],t_new.table[12,7],t_new.table[12,8],t_new.table[12,9],t_new.table[2,10],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[2,4],t_new.table[2,5],t_new.table[2,6],t_new.table[2,7],t_new.table[2,8],t_new.table[2,9],t_new.table[3,10],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[3,4],t_new.table[3,5],t_new.table[3,6],t_new.table[3,7],t_new.table[3,8],t_new.table[3,9],t_new.table[4,10],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[4,4],t_new.table[4,5],t_new.table[4,6],t_new.table[4,7],t_new.table[4,8],t_new.table[4,9],t_new.table[5,10],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.table[5,4],t_new.table[5,5],t_new.table[5,6],t_new.table[5,7],t_new.table[5,8],t_new.table[5,9],t_new.table[6,10],t_new.table[6,1],t_new.table[6,2],t_new.table[6,3],t_new.table[6,4],t_new.table[6,5],t_new.table[6,6],t_new.table[6,7],t_new.table[6,8],t_new.table[6,9],t_new.table[7,10],t_new.table[7,1],t_new.table[7,2],t_new.table[7,3],t_new.table[7,4],t_new.table[7,5],t_new.table[7,6],t_new.table[7,7],t_new.table[7,8],t_new.table[7,9],t_new.table[8,10],t_new.table[8,1],t_new.table[8,2],t_new.table[8,3],t_new.table[8,4],t_new.table[8,5],t_new.table[8,6],t_new.table[8,7],t_new.table[8,8],t_new.table[8,9],t_new.table[9,10],t_new.table[9,1],t_new.table[9,2],t_new.table[9,3],t_new.table[9,4],t_new.table[9,5],t_new.table[9,6],t_new.table[9,7],t_new.table[9,8],t_new.table[9,9],t_new.u1,t_new.u2,t_new.verboseRead,t_new.y,time