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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.023/2.023, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004435, allocations: 12 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3504, allocations: 48.71 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002319/0.3527, allocations: 1.201 MB / 332.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.3535, allocations: 253.2 kB / 332.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.3536, allocations: 1.25 kB / 332.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.3539, allocations: 62.77 kB / 332.8 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.3541, allocations: 39.25 kB / 332.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.3543, allocations: 31.27 kB / 332.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.3544, allocations: 46.89 kB / 332.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3546, allocations: 15.67 kB / 332.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.3547, allocations: 24.27 kB / 332.9 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3548, allocations: 35.8 kB / 333 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3548, allocations: 1.469 kB / 333 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.3549, allocations: 19.12 kB / 333 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.355, allocations: 10.53 kB / 333 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.355, allocations: 35.45 kB / 333 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.3552, allocations: 49.42 kB / 333.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3552, allocations: 4 kB / 333.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3552, allocations: 0.6562 kB / 333.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3552, allocations: 0 / 333.1 MB, free: 5.621 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.0004725/0.3557, allocations: 400.6 kB / 333.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3558, allocations: 9.469 kB / 333.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.3558, allocations: 36.33 kB / 333.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.3558, allocations: 7.719 kB / 333.5 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.356, allocations: 192.5 kB / 333.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3561, allocations: 1.469 kB / 333.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3561, allocations: 5.031 kB / 333.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3563, allocations: 51.64 kB / 333.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3563, allocations: 0.75 kB / 333.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3563, allocations: 0 / 333.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3563, allocations: 5.25 kB / 333.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.3565, allocations: 25.33 kB / 333.8 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.3569, allocations: 284 kB / 334.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3572, allocations: 41.95 kB / 334.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.3572, allocations: 2.297 kB / 334.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3572, allocations: 35.81 kB / 334.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3573, allocations: 4 kB / 334.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008326/0.3581, allocations: 162.2 kB / 334.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.3581, allocations: 55.41 kB / 334.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3584, allocations: 182.9 kB / 334.6 MB, free: 4.277 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.3584, allocations: 25.7 kB / 334.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.3585, allocations: 161.7 kB / 334.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3585, allocations: 22.83 kB / 334.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.3585, allocations: 1.312 kB / 334.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.3586, allocations: 312 kB / 335.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3587, allocations: 35.88 kB / 335.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3589, allocations: 23.88 kB / 335.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.359, allocations: 54.59 kB / 335.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.359, allocations: 0 / 335.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003447/0.3594, allocations: 121.5 kB / 335.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.3594, allocations: 31.73 kB / 335.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3595, allocations: 288 / 335.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3595, allocations: 1.656 kB / 335.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3596, allocations: 14.45 kB / 335.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3596, allocations: 4.656 kB / 335.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.3597, allocations: 14.25 kB / 335.4 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3598, allocations: 3.406 kB / 335.4 MB, free: 3.574 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 (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.0001089/0.3599, allocations: 124.7 kB / 335.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.3599, allocations: 11.83 kB / 335.5 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.3603, allocations: 102.5 kB / 335.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3603, allocations: 1.984 kB / 335.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3603, allocations: 0 / 335.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3604, allocations: 5.266 kB / 335.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.3609, allocations: 352.3 kB / 336 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.361, allocations: 3.938 kB / 336 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3611, allocations: 19.11 kB / 336 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3611, allocations: 0 / 336 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3611, allocations: 1.625 kB / 336 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3611, allocations: 4.609 kB / 336 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3611, allocations: 1.406 kB / 336 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.3615, allocations: 193.3 kB / 336.2 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.3615, allocations: 84.5 kB / 336.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.3616, allocations: 5.578 kB / 336.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3617, allocations: 6.906 kB / 336.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.3618, allocations: 8.172 kB / 336.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3618, allocations: 1.125 kB / 336.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3619, allocations: 140.4 kB / 336.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3619, allocations: 4 kB / 336.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.3623, allocations: 15.42 kB / 336.4 MB, free: 2.688 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 (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.001054/0.3633, allocations: 0.8601 MB / 337.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.3637, allocations: 118.5 kB / 337.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3637, allocations: 0 / 337.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3639, allocations: 28.14 kB / 337.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3642, allocations: 12.72 kB / 337.5 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/0.365, allocations: 465 kB / 337.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.3653, allocations: 0.6989 MB / 338.6 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.3654, allocations: 25.58 kB / 338.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3654, allocations: 1.062 kB / 338.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.647/3.012, allocations: 1.692 MB / 340.3 MB, free: 92 kB / 266.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_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(clock.y),der(d_t_new.u),t_new.columns[1],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[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.u,t_new.verboseRead,t_new.y[1],time