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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.167/2.167, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.00043, allocations: 11.98 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3282, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.00227/0.3305, allocations: 1.219 MB / 370.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006593/0.3312, allocations: 249.3 kB / 370.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.3312, allocations: 0 / 370.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.3315, allocations: 83.73 kB / 370.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.3317, allocations: 55.86 kB / 370.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.3319, allocations: 31.97 kB / 370.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.332, allocations: 51.88 kB / 371 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.3321, allocations: 7.984 kB / 371 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.3322, allocations: 31.91 kB / 371 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3323, allocations: 31.91 kB / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3324, allocations: 0 / 371 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.3324, allocations: 23.92 kB / 371.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.3325, allocations: 23.91 kB / 371.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.3325, allocations: 33.64 kB / 371.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3327, allocations: 59.92 kB / 371.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.3327, allocations: 0 / 371.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3327, allocations: 0 / 371.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3327, allocations: 0 / 371.2 MB, free: 8.805 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.0005159/0.3333, allocations: 409.6 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3333, allocations: 8.031 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3334, allocations: 42.56 kB / 371.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3334, allocations: 15.86 kB / 371.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3336, allocations: 186.8 kB / 371.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3336, allocations: 7.984 kB / 371.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3337, allocations: 7.938 kB / 371.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3339, allocations: 45.69 kB / 371.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3339, allocations: 0 / 371.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3339, allocations: 3.938 kB / 371.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3339, allocations: 4 kB / 371.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.3341, allocations: 35.92 kB / 371.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.3345, allocations: 285 kB / 372.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3348, allocations: 54.48 kB / 372.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3348, allocations: 4 kB / 372.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3349, allocations: 34.56 kB / 372.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3349, allocations: 0 / 372.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008064/0.3357, allocations: 173.2 kB / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3358, allocations: 55.41 kB / 372.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.336, allocations: 222 kB / 372.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3361, allocations: 25.7 kB / 372.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.3362, allocations: 166.6 kB / 372.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.3362, allocations: 11.72 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.3362, allocations: 4 kB / 372.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3364, allocations: 322.8 kB / 373.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3365, allocations: 23.98 kB / 373.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3367, allocations: 23.98 kB / 373.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3368, allocations: 61.62 kB / 373.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3369, allocations: 4 kB / 373.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003509/0.3372, allocations: 115.4 kB / 373.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.3373, allocations: 33.7 kB / 373.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3373, allocations: 3.953 kB / 373.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3373, allocations: 0 / 373.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3374, allocations: 19.98 kB / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3374, allocations: 0 / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.3375, allocations: 7.984 kB / 373.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3375, allocations: 8 kB / 373.5 MB, free: 6.184 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.0001158/0.3377, allocations: 121.8 kB / 373.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.3377, allocations: 11.89 kB / 373.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.3381, allocations: 109.9 kB / 373.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3382, allocations: 4.266 kB / 373.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3382, allocations: 4 kB / 373.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3382, allocations: 0 / 373.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.3388, allocations: 382.3 kB / 374.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3388, allocations: 0 / 374.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.339, allocations: 15.98 kB / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.339, allocations: 3.953 kB / 374.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.339, allocations: 0 / 374.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.339, allocations: 3.938 kB / 374.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.339, allocations: 4 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3394, allocations: 191.4 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.3395, allocations: 85.02 kB / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3395, allocations: 3.953 kB / 374.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3396, allocations: 15.98 kB / 374.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.3397, allocations: 0 / 374.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3397, allocations: 4.281 kB / 374.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3399, allocations: 171.2 kB / 374.6 MB, free: 4.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3399, allocations: 0 / 374.6 MB, free: 4.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.3402, allocations: 12 kB / 374.7 MB, free: 4.961 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.00135/0.3415, allocations: 0.9187 MB / 375.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.3419, allocations: 119.3 kB / 375.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.342, allocations: 4 kB / 375.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3421, allocations: 27.98 kB / 375.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.3424, allocations: 15.94 kB / 375.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/0.3433, allocations: 0.498 MB / 376.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3436, allocations: 0.7082 MB / 376.9 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.3437, allocations: 27.44 kB / 377 MB, free: 2.598 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3437, allocations: 0 / 377 MB, free: 2.598 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.403/2.746, allocations: 1.892 MB / 378.9 MB, free: 0.707 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test5_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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.verboseRead,t_new.y[1],time