Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006574, allocations: 15.94 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3598, allocations: 48.7 MB / 331.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00234/0.3622, allocations: 1.294 MB / 332.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3632, allocations: 414.6 kB / 333 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.3633, allocations: 0 / 333 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.3636, allocations: 29.5 kB / 333 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.3638, allocations: 33.91 kB / 333 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3641, allocations: 59.78 kB / 333.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3643, allocations: 53.3 kB / 333.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.3644, allocations: 10.12 kB / 333.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.735e-05/0.3645, allocations: 26.22 kB / 333.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.3646, allocations: 26.56 kB / 333.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3646, allocations: 2.719 kB / 333.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3647, allocations: 32.91 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.3648, allocations: 12.56 kB / 333.3 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.3649, allocations: 42.25 kB / 333.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.3651, allocations: 84.42 kB / 333.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3651, allocations: 0 / 333.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3651, allocations: 0 / 333.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3651, allocations: 0 / 333.4 MB, free: 5.402 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005126/0.3657, allocations: 401.8 kB / 333.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3657, allocations: 9.875 kB / 333.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.3658, allocations: 31.45 kB / 333.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.3658, allocations: 8.578 kB / 333.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.366, allocations: 206.8 kB / 334 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3661, allocations: 1.469 kB / 334 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3661, allocations: 2.5 kB / 334 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3663, allocations: 47.78 kB / 334.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3663, allocations: 0 / 334.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3663, allocations: 1.219 kB / 334.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3663, allocations: 3.938 kB / 334.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.3664, allocations: 14 kB / 334.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.3668, allocations: 278.4 kB / 334.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.367, allocations: 43 kB / 334.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3671, allocations: 5.406 kB / 334.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.3672, allocations: 59.11 kB / 334.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.3673, allocations: 0 / 334.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004714/0.3677, allocations: 115.5 kB / 334.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.3678, allocations: 57.36 kB / 334.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.368, allocations: 178.6 kB / 334.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.368, allocations: 27.98 kB / 334.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.3681, allocations: 160.4 kB / 335 MB, free: 3.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3681, allocations: 16.33 kB / 335 MB, free: 3.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.3681, allocations: 0 / 335 MB, free: 3.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.3682, allocations: 314.3 kB / 335.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3683, allocations: 19.72 kB / 335.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.3684, allocations: 19.56 kB / 335.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.3684, allocations: 51.66 kB / 335.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3685, allocations: 0 / 335.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002349/0.3687, allocations: 113.1 kB / 335.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.3688, allocations: 33.3 kB / 335.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3688, allocations: 0 / 335.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3688, allocations: 1.953 kB / 335.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.3689, allocations: 9.156 kB / 335.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3689, allocations: 3.938 kB / 335.6 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.369, allocations: 6.906 kB / 335.6 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.369, allocations: 12.03 kB / 335.6 MB, free: 3.344 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001048/0.3691, allocations: 128.1 kB / 335.7 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3692, allocations: 11.92 kB / 335.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.3692, allocations: 13.88 kB / 335.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3692, allocations: 1.031 kB / 335.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3693, allocations: 1.031 kB / 335.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3693, allocations: 0.5156 kB / 335.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.3697, allocations: 336.4 kB / 336.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3697, allocations: 4.281 kB / 336.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.3697, allocations: 6.094 kB / 336.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3698, allocations: 5.094 kB / 336.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3698, allocations: 1.938 kB / 336.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3698, allocations: 0 / 336.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.3698, allocations: 6.094 kB / 336.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.37, allocations: 167.1 kB / 336.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.37, allocations: 85.67 kB / 336.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3701, allocations: 9.562 kB / 336.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.3702, allocations: 2.469 kB / 336.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.3702, allocations: 3.984 kB / 336.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3703, allocations: 5.969 kB / 336.4 MB, free: 2.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.3704, allocations: 127.8 kB / 336.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3704, allocations: 0 / 336.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.3708, allocations: 31.86 kB / 336.5 MB, free: 2.508 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001294/0.3721, allocations: 0.9727 MB / 337.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.3723, allocations: 106.6 kB / 337.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3723, allocations: 1.375 kB / 337.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.3724, allocations: 23.53 kB / 337.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3728, allocations: 18.39 kB / 337.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.3736, allocations: 448 kB / 338.1 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3738, allocations: 0.6993 MB / 338.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.3739, allocations: 27.58 kB / 338.8 MB, free: 492 kB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3739, allocations: 1.094 kB / 338.8 MB, free: 492 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.502/2.876, allocations: 2.081 MB / 340.9 MB, free: 15.68 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,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.verboseRead,t_new.y[1],time