Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 234.9 MB / 250.4 MB, free: 9.711 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.00043, allocations: 12 kB / 314.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3598, allocations: 54.86 MB / 369.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003333/0.3632, allocations: 1.345 MB / 370.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.3655, allocations: 0.728 MB / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.3656, allocations: 0 / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.3659, allocations: 27.84 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.3662, allocations: 39.94 kB / 371.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.3665, allocations: 59.75 kB / 371.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.3668, allocations: 63.92 kB / 371.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3669, allocations: 11.98 kB / 371.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.367, allocations: 43.83 kB / 371.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3672, allocations: 35.84 kB / 371.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.3672, allocations: 3.984 kB / 371.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3674, allocations: 24 kB / 371.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.3675, allocations: 31.91 kB / 371.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.3675, allocations: 49.52 kB / 371.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.3678, allocations: 96.84 kB / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3679, allocations: 0 / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3679, allocations: 0 / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3679, allocations: 0 / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007878/0.3687, allocations: 474.1 kB / 372.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3688, allocations: 12.03 kB / 372.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.3688, allocations: 34.56 kB / 372.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.3689, allocations: 19.81 kB / 372.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.3693, allocations: 206.8 kB / 372.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.3693, allocations: 3.938 kB / 372.6 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.3694, allocations: 8 kB / 372.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3696, allocations: 57.55 kB / 372.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.3697, allocations: 8 kB / 372.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3697, allocations: 3.953 kB / 372.6 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3697, allocations: 0 / 372.6 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3699, allocations: 19.98 kB / 372.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.3705, allocations: 308.8 kB / 373 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.3708, allocations: 62.61 kB / 373 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3708, allocations: 0 / 373 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.3711, allocations: 75.34 kB / 373.1 MB, free: 8.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.3711, allocations: 4 kB / 373.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009713/0.3721, allocations: 185 kB / 373.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3722, allocations: 55.41 kB / 373.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.3727, allocations: 271.7 kB / 373.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3728, allocations: 25.7 kB / 373.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3729, allocations: 178.4 kB / 373.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.373, allocations: 27.64 kB / 373.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.373, allocations: 4 kB / 373.8 MB, free: 7.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3732, allocations: 314.8 kB / 374.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3734, allocations: 31.98 kB / 374.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.3736, allocations: 49.69 kB / 374.2 MB, free: 7.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.3738, allocations: 61.7 kB / 374.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3739, allocations: 3.938 kB / 374.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005336/0.3744, allocations: 151.3 kB / 374.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.3745, allocations: 41.72 kB / 374.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3745, allocations: 0 / 374.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.3745, allocations: 4 kB / 374.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.3748, allocations: 23.92 kB / 374.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.3748, allocations: 0 / 374.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3749, allocations: 7.906 kB / 374.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.375, allocations: 4 kB / 374.5 MB, free: 7.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0002233/0.3752, allocations: 137.8 kB / 374.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.3753, allocations: 11.86 kB / 374.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.3754, allocations: 25.39 kB / 374.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.3754, allocations: 3.938 kB / 374.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3754, allocations: 4 kB / 374.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3754, allocations: 0 / 374.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.3764, allocations: 411.2 kB / 375.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3764, allocations: 0 / 375.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.3765, allocations: 11.98 kB / 375.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.3765, allocations: 4.094 kB / 375.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.3766, allocations: 7.969 kB / 375.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3766, allocations: 3.938 kB / 375.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3766, allocations: 0 / 375.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.3771, allocations: 204.2 kB / 375.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3772, allocations: 104.8 kB / 375.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.3773, allocations: 4 kB / 375.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.3775, allocations: 15.98 kB / 375.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3775, allocations: 0 / 375.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.3776, allocations: 4 kB / 375.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003753/0.378, allocations: 200.2 kB / 375.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.378, allocations: 4 kB / 375.6 MB, free: 6.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005942/0.3786, allocations: 31.98 kB / 375.7 MB, free: 6.004 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002546/0.3811, allocations: 1.08 MB / 376.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3816, allocations: 151.3 kB / 376.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3817, allocations: 4 kB / 376.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3818, allocations: 32.03 kB / 376.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.3823, allocations: 31.77 kB / 377 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3838, allocations: 0.5803 MB / 377.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3843, allocations: 0.7316 MB / 378.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3844, allocations: 39.42 kB / 378.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.3844, allocations: 192 / 378.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.538/2.922, allocations: 2.741 MB / 381.1 MB, free: 0.5859 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_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),der(t_new.timeScaled),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,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_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time