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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.084/2.084, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004462, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3425, allocations: 48.71 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002171/0.3447, allocations: 1.2 MB / 332.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.3454, allocations: 255.8 kB / 332.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.3454, allocations: 1.219 kB / 332.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.3458, allocations: 86.28 kB / 332.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.346, allocations: 52.59 kB / 332.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.3462, allocations: 27.3 kB / 332.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.3463, allocations: 50.12 kB / 332.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.3464, allocations: 14.92 kB / 333 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.3465, allocations: 24.92 kB / 333 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3467, allocations: 43.77 kB / 333 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3467, allocations: 4 kB / 333 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.3468, allocations: 16.84 kB / 333 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3468, allocations: 19.75 kB / 333.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.3469, allocations: 32.17 kB / 333.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.3471, allocations: 55.19 kB / 333.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.3471, allocations: 0 / 333.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3471, allocations: 1.188 kB / 333.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3471, allocations: 0 / 333.1 MB, free: 5.609 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.000472/0.3476, allocations: 417.2 kB / 333.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3476, allocations: 13.47 kB / 333.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.3477, allocations: 31.22 kB / 333.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3477, allocations: 9.625 kB / 333.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.3479, allocations: 190.1 kB / 333.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3479, allocations: 0 / 333.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.348, allocations: 3.125 kB / 333.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3481, allocations: 51.08 kB / 333.8 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3482, allocations: 3.938 kB / 333.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3482, allocations: 0 / 333.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3482, allocations: 5.062 kB / 333.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.3484, allocations: 29.94 kB / 333.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.3488, allocations: 279.3 kB / 334.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.349, allocations: 50.56 kB / 334.2 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3491, allocations: 0.6562 kB / 334.2 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3491, allocations: 32.83 kB / 334.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.3491, allocations: 3.938 kB / 334.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007973/0.3499, allocations: 159.6 kB / 334.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.35, allocations: 51.41 kB / 334.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.3502, allocations: 221.2 kB / 334.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3503, allocations: 31.52 kB / 334.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.3503, allocations: 164.4 kB / 334.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.3504, allocations: 23.58 kB / 334.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.3504, allocations: 4 kB / 334.9 MB, free: 4.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.3504, allocations: 312.6 kB / 335.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3506, allocations: 24.91 kB / 335.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3507, allocations: 22.95 kB / 335.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.3509, allocations: 58.61 kB / 335.3 MB, free: 3.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3509, allocations: 0 / 335.3 MB, free: 3.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003425/0.3512, allocations: 117.6 kB / 335.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.3513, allocations: 32.23 kB / 335.4 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3513, allocations: 0 / 335.4 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3513, allocations: 1.219 kB / 335.4 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3515, allocations: 23.16 kB / 335.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3515, allocations: 0 / 335.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.3516, allocations: 10.48 kB / 335.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.3516, allocations: 6.188 kB / 335.5 MB, free: 3.535 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.0001099/0.3517, allocations: 125.1 kB / 335.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.3518, allocations: 9.625 kB / 335.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.3521, allocations: 108.4 kB / 335.7 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3522, allocations: 0 / 335.7 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3522, allocations: 1.312 kB / 335.7 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3522, allocations: 4.688 kB / 335.7 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.3528, allocations: 363.3 kB / 336.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3528, allocations: 1.812 kB / 336.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3529, allocations: 13.5 kB / 336.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3529, allocations: 1.062 kB / 336.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3529, allocations: 0.7031 kB / 336.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.353, allocations: 5.078 kB / 336.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.353, allocations: 3.953 kB / 336.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.3533, allocations: 190.4 kB / 336.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.3534, allocations: 85.33 kB / 336.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3534, allocations: 6.062 kB / 336.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3535, allocations: 10.42 kB / 336.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.3536, allocations: 7.266 kB / 336.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3536, allocations: 6.453 kB / 336.4 MB, free: 2.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.3538, allocations: 163.4 kB / 336.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3538, allocations: 0 / 336.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.3541, allocations: 15.97 kB / 336.6 MB, free: 2.641 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.001072/0.3552, allocations: 0.8671 MB / 337.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.3556, allocations: 115.5 kB / 337.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3556, allocations: 1.25 kB / 337.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3558, allocations: 27.61 kB / 337.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.356, allocations: 5.281 kB / 337.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/0.3569, allocations: 0.4975 MB / 338.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.3571, allocations: 0.7095 MB / 338.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.3572, allocations: 29.16 kB / 338.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3572, allocations: 0 / 338.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.653/3.01, allocations: 1.827 MB / 340.7 MB, free: 15.92 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.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(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[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],time