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.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.251/2.251, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005997/0.0005998, allocations: 15.98 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3544, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002607/0.357, allocations: 1.345 MB / 370.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3588, allocations: 0.7241 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.359, allocations: 7.938 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.3593, allocations: 19.92 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.3595, allocations: 35.88 kB / 371.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.3598, allocations: 59.83 kB / 371.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.36, allocations: 75.83 kB / 371.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.3601, allocations: 4 kB / 371.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3602, allocations: 39.84 kB / 371.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.166e-05/0.3603, allocations: 31.84 kB / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.3603, allocations: 4 kB / 371.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3605, allocations: 20 kB / 371.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.3605, allocations: 31.83 kB / 371.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.3606, allocations: 45.64 kB / 371.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3608, allocations: 84.86 kB / 371.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3608, allocations: 4 kB / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3609, allocations: 0 / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3609, 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.000643/0.3615, allocations: 466.2 kB / 372.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3616, allocations: 8.031 kB / 372.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.3616, allocations: 30.56 kB / 372.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.3617, allocations: 15.81 kB / 372.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.362, allocations: 206.8 kB / 372.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.362, allocations: 4 kB / 372.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3621, allocations: 7.938 kB / 372.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3623, allocations: 53.67 kB / 372.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3623, allocations: 0 / 372.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3623, allocations: 3.953 kB / 372.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3623, allocations: 4 kB / 372.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3625, allocations: 15.98 kB / 372.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.3629, allocations: 304.9 kB / 372.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.3632, allocations: 62.61 kB / 373 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3632, allocations: 0 / 373 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.3635, allocations: 75.33 kB / 373 MB, free: 8.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.3635, allocations: 4 kB / 373 MB, free: 8.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007877/0.3643, allocations: 185 kB / 373.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.3644, allocations: 51.41 kB / 373.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.3647, allocations: 218.3 kB / 373.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.3647, allocations: 29.7 kB / 373.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.3648, allocations: 170.4 kB / 373.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.3649, allocations: 23.64 kB / 373.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.3649, allocations: 4 kB / 373.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.365, allocations: 318.8 kB / 374 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3652, allocations: 27.98 kB / 374 MB, free: 7.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3653, allocations: 53.62 kB / 374.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.3655, allocations: 61.7 kB / 374.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3655, allocations: 0 / 374.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003855/0.3659, allocations: 159.2 kB / 374.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.366, allocations: 41.69 kB / 374.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.366, allocations: 8.016 kB / 374.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.366, allocations: 0 / 374.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3662, allocations: 19.98 kB / 374.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3662, allocations: 0 / 374.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.3663, allocations: 4 kB / 374.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3663, allocations: 4 kB / 374.4 MB, free: 7.367 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.000144/0.3664, allocations: 129.8 kB / 374.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.3665, allocations: 19.77 kB / 374.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.3666, allocations: 25.28 kB / 374.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3666, allocations: 384 / 374.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3666, allocations: 4 kB / 374.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3666, allocations: 3.984 kB / 374.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.3673, allocations: 407.3 kB / 375 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3673, allocations: 0 / 375 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.3673, allocations: 8 kB / 375 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.3674, allocations: 4 kB / 375 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3674, allocations: 4.031 kB / 375 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3674, allocations: 0 / 375 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3674, allocations: 0 / 375 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.3678, allocations: 208.3 kB / 375.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.3679, allocations: 100.9 kB / 375.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.3679, allocations: 4.094 kB / 375.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.368, allocations: 3.938 kB / 375.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.3681, allocations: 15.92 kB / 375.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3681, allocations: 8 kB / 375.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.3683, allocations: 159.2 kB / 375.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3684, allocations: 4 kB / 375.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.3687, allocations: 31.98 kB / 375.5 MB, free: 6.148 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.001785/0.3705, allocations: 1.075 MB / 376.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.3709, allocations: 151.3 kB / 376.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3709, allocations: 0 / 376.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3711, allocations: 31.92 kB / 376.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.3714, allocations: 28.17 kB / 376.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3725, allocations: 0.5317 MB / 377.3 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3728, allocations: 0.714 MB / 378 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.3729, allocations: 35.42 kB / 378.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3729, allocations: 0 / 378.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.58/2.953, allocations: 2.512 MB / 380.6 MB, free: 1.043 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_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[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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time