Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.212/2.212, allocations: 234.9 MB / 250.4 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004206, allocations: 12 kB / 314.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3412, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002276/0.3435, allocations: 1.243 MB / 370.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006562/0.3442, allocations: 257.2 kB / 370.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.3443, allocations: 4 kB / 370.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.3446, allocations: 87.73 kB / 370.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.3448, allocations: 51.92 kB / 370.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3449, allocations: 27.91 kB / 370.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3451, allocations: 59.92 kB / 371 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3452, allocations: 15.98 kB / 371 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.3453, allocations: 27.91 kB / 371 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3454, allocations: 43.83 kB / 371.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.3454, allocations: 0 / 371.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.3455, allocations: 23.92 kB / 371.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.3456, allocations: 19.92 kB / 371.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.3456, allocations: 41.64 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3458, allocations: 59.91 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3458, allocations: 0 / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3458, allocations: 0 / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3458, allocations: 0 / 371.2 MB, free: 10.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005053/0.3463, allocations: 421.6 kB / 371.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3464, allocations: 8.031 kB / 371.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.3465, allocations: 34.56 kB / 371.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.3465, allocations: 19.86 kB / 371.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3467, allocations: 186.9 kB / 371.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3467, allocations: 8 kB / 371.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.3468, allocations: 0 / 371.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.347, allocations: 61.61 kB / 371.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.347, allocations: 7.938 kB / 371.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.347, allocations: 0 / 371.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3471, allocations: 3.953 kB / 371.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.3472, allocations: 47.91 kB / 372 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.3477, allocations: 296.8 kB / 372.3 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.3479, allocations: 62.48 kB / 372.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3479, allocations: 4 kB / 372.3 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.348, allocations: 34.52 kB / 372.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.348, allocations: 0 / 372.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008969/0.3489, allocations: 205.2 kB / 372.6 MB, free: 9.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3489, allocations: 51.41 kB / 372.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.3492, allocations: 223.3 kB / 372.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3492, allocations: 29.7 kB / 372.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.3493, allocations: 162.7 kB / 373 MB, free: 8.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.3494, allocations: 27.64 kB / 373.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.3494, allocations: 0 / 373.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3495, allocations: 322.8 kB / 373.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3497, allocations: 27.97 kB / 373.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3498, allocations: 35.92 kB / 373.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.35, allocations: 65.69 kB / 373.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.35, allocations: 4 kB / 373.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003828/0.3504, allocations: 139.2 kB / 373.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.3505, allocations: 33.69 kB / 373.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3505, allocations: 0 / 373.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3505, allocations: 4 kB / 373.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3507, allocations: 23.98 kB / 373.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.3507, allocations: 0 / 373.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.3508, allocations: 8 kB / 373.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.3508, allocations: 4.281 kB / 373.7 MB, free: 8.039 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 (9): * Single equations (assignments): 8 * 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.0001201/0.351, allocations: 125.8 kB / 373.8 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.351, allocations: 11.86 kB / 373.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004655/0.3515, allocations: 151 kB / 374 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3515, allocations: 4 kB / 374 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3515, allocations: 0 / 374 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3515, allocations: 0 / 374 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006834/0.3522, allocations: 402.4 kB / 374.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3522, allocations: 3.938 kB / 374.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3524, allocations: 19.98 kB / 374.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3524, allocations: 4 kB / 374.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3524, allocations: 0 / 374.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3524, allocations: 0 / 374.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3524, allocations: 0 / 374.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3528, allocations: 211.4 kB / 374.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.3529, allocations: 96.86 kB / 374.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3529, allocations: 0 / 374.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3531, allocations: 11.98 kB / 374.7 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.3531, allocations: 8.375 kB / 374.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3531, allocations: 4 kB / 374.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.3533, allocations: 171.9 kB / 374.9 MB, free: 6.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3534, allocations: 0 / 374.9 MB, free: 6.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.3537, allocations: 16 kB / 374.9 MB, free: 6.719 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 (8): * Single equations (assignments): 8 * 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.001385/0.3551, allocations: 0.9428 MB / 375.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.3555, allocations: 135.3 kB / 376 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3555, allocations: 0 / 376 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.3557, allocations: 43.97 kB / 376.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3559, allocations: 8.094 kB / 376.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.3569, allocations: 0.519 MB / 376.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3572, allocations: 0.7121 MB / 377.3 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.3573, allocations: 35.42 kB / 377.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3573, allocations: 0 / 377.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.432/2.79, allocations: 2.065 MB / 379.4 MB, free: 2.223 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat failed! " Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(clock.y),der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],t_new.nout,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,t_new.verboseRead,t_new.y[1],t_new.y[2],time