Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004749, allocations: 16 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3474, allocations: 48.69 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002305/0.3497, allocations: 1.224 MB / 332.5 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006433/0.3504, allocations: 250.7 kB / 332.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.3505, allocations: 1.188 kB / 332.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.3509, allocations: 86.58 kB / 332.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.3511, allocations: 52.66 kB / 332.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.3513, allocations: 35.3 kB / 332.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3515, allocations: 55.55 kB / 333 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3516, allocations: 25.58 kB / 333 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.3517, allocations: 28.92 kB / 333 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3518, allocations: 41.92 kB / 333.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3519, allocations: 1.125 kB / 333.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.352, allocations: 13.75 kB / 333.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.352, allocations: 24.42 kB / 333.1 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.3521, allocations: 37.39 kB / 333.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.3523, allocations: 64.33 kB / 333.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3523, allocations: 1.031 kB / 333.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3523, allocations: 0 / 333.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3523, allocations: 0 / 333.2 MB, free: 5.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005059/0.3528, allocations: 414.8 kB / 333.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3529, allocations: 10.89 kB / 333.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.3529, allocations: 40.39 kB / 333.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.353, allocations: 13.09 kB / 333.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.3532, allocations: 198.4 kB / 333.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3532, allocations: 3.656 kB / 333.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.3533, allocations: 5.75 kB / 333.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.3535, allocations: 58.36 kB / 333.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3535, allocations: 4.812 kB / 333.9 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3535, allocations: 5.062 kB / 333.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3536, allocations: 1.188 kB / 333.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3537, allocations: 38.72 kB / 334 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3542, allocations: 304.2 kB / 334.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3544, allocations: 53.27 kB / 334.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.3544, allocations: 6.062 kB / 334.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3544, allocations: 32.31 kB / 334.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.445e-06/0.3545, allocations: 3.984 kB / 334.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009558/0.3554, allocations: 210 kB / 334.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.3555, allocations: 53.23 kB / 334.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.3558, allocations: 226.8 kB / 334.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3558, allocations: 26.92 kB / 334.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.3559, allocations: 165.2 kB / 335 MB, free: 3.973 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3559, allocations: 22.86 kB / 335 MB, free: 3.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.3559, allocations: 4 kB / 335.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.356, allocations: 317.2 kB / 335.4 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3562, allocations: 36.45 kB / 335.4 MB, free: 3.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.3563, allocations: 27.92 kB / 335.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3565, allocations: 67.19 kB / 335.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3565, allocations: 0 / 335.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003971/0.357, allocations: 139.9 kB / 335.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.357, allocations: 30.89 kB / 335.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.357, allocations: 1.656 kB / 335.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.357, allocations: 0 / 335.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3572, allocations: 26.98 kB / 335.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3573, allocations: 9.859 kB / 335.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.3574, allocations: 6.5 kB / 335.7 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3574, allocations: 7.531 kB / 335.7 MB, free: 3.438 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 (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.0001198/0.3575, allocations: 129 kB / 335.8 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.3576, allocations: 8.938 kB / 335.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.358, allocations: 143.8 kB / 336 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3581, allocations: 1.438 kB / 336 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3581, allocations: 0 / 336 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3581, allocations: 4.891 kB / 336 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.3588, allocations: 399.2 kB / 336.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3588, allocations: 1.188 kB / 336.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.359, allocations: 17.56 kB / 336.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.359, allocations: 1.812 kB / 336.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.359, allocations: 9.047 kB / 336.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.359, allocations: 1.125 kB / 336.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.359, allocations: 0.6562 kB / 336.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.3594, allocations: 211.8 kB / 336.6 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.3595, allocations: 89.69 kB / 336.7 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3595, allocations: 4 kB / 336.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3596, allocations: 15.88 kB / 336.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.3597, allocations: 5.625 kB / 336.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3597, allocations: 2.812 kB / 336.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.3599, allocations: 168.1 kB / 336.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3599, allocations: 0 / 336.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.3603, allocations: 14.45 kB / 336.9 MB, free: 2.516 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 (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.001161/0.3615, allocations: 0.8981 MB / 337.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.362, allocations: 139.5 kB / 337.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.362, allocations: 1.656 kB / 337.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.3621, allocations: 42.48 kB / 338 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3625, allocations: 13.52 kB / 338 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009874/0.3635, allocations: 0.5214 MB / 338.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3637, allocations: 0.7121 MB / 339.2 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.502e-05/0.3638, allocations: 32.98 kB / 339.3 MB, free: 492 kB / 266.7 MB Notification: Performance of SimCode: time 2.104e-06/0.3638, allocations: 0 / 339.3 MB, free: 492 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/2.96, allocations: 2.052 MB / 341.3 MB, free: 15.57 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_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