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.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.2 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004535, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3472, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002197/0.3495, allocations: 1.202 MB / 332.5 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006198/0.3501, allocations: 247.7 kB / 332.7 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.3502, allocations: 1.156 kB / 332.7 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.3504, allocations: 14.8 kB / 332.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.3506, allocations: 23.47 kB / 332.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.3507, allocations: 35.17 kB / 332.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3509, allocations: 36.75 kB / 332.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.351, allocations: 19.2 kB / 332.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.3511, allocations: 14.78 kB / 332.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.3512, allocations: 20.41 kB / 332.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.3512, allocations: 9.062 kB / 332.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-05/0.3513, allocations: 12.34 kB / 332.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.3513, allocations: 11.97 kB / 332.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.3514, allocations: 35.64 kB / 332.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3515, allocations: 49.53 kB / 333 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.3515, allocations: 0 / 333 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3516, allocations: 0 / 333 MB, free: 5.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3516, allocations: 0 / 333 MB, free: 5.602 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.0004297/0.352, allocations: 392.9 kB / 333.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3521, allocations: 9.906 kB / 333.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.3521, allocations: 33.05 kB / 333.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.3522, allocations: 6.688 kB / 333.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3523, allocations: 186.7 kB / 333.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.3524, allocations: 5.188 kB / 333.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3524, allocations: 6.812 kB / 333.6 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3526, allocations: 53.86 kB / 333.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3526, allocations: 1.531 kB / 333.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3526, allocations: 0 / 333.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3526, allocations: 0 / 333.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.3528, allocations: 31.03 kB / 333.7 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.3532, allocations: 273.2 kB / 334 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.3535, allocations: 46.42 kB / 334 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3535, allocations: 1 kB / 334 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.3535, allocations: 36.25 kB / 334.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.3535, allocations: 0 / 334.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007952/0.3543, allocations: 164.9 kB / 334.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.3544, allocations: 51.92 kB / 334.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3546, allocations: 166.6 kB / 334.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3546, allocations: 25.7 kB / 334.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3547, allocations: 156.8 kB / 334.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3547, allocations: 15.36 kB / 334.6 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.3547, allocations: 0 / 334.6 MB, free: 4.074 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.3548, allocations: 313.5 kB / 334.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3549, allocations: 31.05 kB / 335 MB, free: 3.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3551, allocations: 23.88 kB / 335 MB, free: 3.746 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3552, allocations: 50.58 kB / 335 MB, free: 3.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3552, allocations: 0 / 335 MB, free: 3.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003347/0.3556, allocations: 126.4 kB / 335.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.3556, allocations: 30.11 kB / 335.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3556, allocations: 1.5 kB / 335.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3557, allocations: 0.9688 kB / 335.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3558, allocations: 13.94 kB / 335.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3558, allocations: 0.9062 kB / 335.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.3559, allocations: 18.39 kB / 335.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3559, allocations: 2.547 kB / 335.2 MB, free: 3.582 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 8.933e-05/0.356, allocations: 118.4 kB / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.3561, allocations: 8.688 kB / 335.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.3564, allocations: 109.9 kB / 335.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3565, allocations: 0 / 335.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3565, allocations: 1.438 kB / 335.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3565, allocations: 0.5156 kB / 335.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.357, allocations: 362.4 kB / 335.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3571, allocations: 0 / 335.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3572, allocations: 17.62 kB / 335.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3572, allocations: 0.9844 kB / 335.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3573, allocations: 1.562 kB / 335.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3573, allocations: 3.938 kB / 335.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3573, allocations: 5.359 kB / 335.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3576, allocations: 186.2 kB / 336 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.3577, allocations: 78.8 kB / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3577, allocations: 6.438 kB / 336.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3578, allocations: 9.781 kB / 336.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.3579, allocations: 8.562 kB / 336.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3579, allocations: 5.609 kB / 336.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.358, allocations: 133.9 kB / 336.3 MB, free: 2.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.358, allocations: 0 / 336.3 MB, free: 2.695 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.3583, allocations: 11.41 kB / 336.3 MB, free: 2.695 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.001046/0.3594, allocations: 0.8593 MB / 337.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.3598, allocations: 110.8 kB / 337.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3598, allocations: 1.094 kB / 337.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3599, allocations: 31.77 kB / 337.3 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3602, allocations: 8.641 kB / 337.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007392/0.361, allocations: 439.5 kB / 337.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.3612, allocations: 0.6981 MB / 338.4 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.3613, allocations: 22 kB / 338.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of SimCode: time 2.014e-06/0.3613, allocations: 0 / 338.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/3.077, allocations: 1.584 MB / 340 MB, free: 220 kB / 266.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat failed! Error: Could not read variable t_new.der(u) in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat. Warning: Get data of variable t_new.der(u) from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_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.u,t_new.verboseRead,t_new.y[1],time