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.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004464, allocations: 15.98 kB / 314.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3622, allocations: 54.88 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002703/0.3649, allocations: 1.466 MB / 370.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.3672, allocations: 0.9577 MB / 371.7 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3673, allocations: 0 / 371.7 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.3678, allocations: 143.6 kB / 371.9 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.3682, allocations: 107.7 kB / 372 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.3686, allocations: 99.7 kB / 372.1 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.3689, allocations: 155.7 kB / 372.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3691, allocations: 13.56 kB / 372.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.3693, allocations: 91.67 kB / 372.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.3695, allocations: 107.6 kB / 372.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.3695, allocations: 11.94 kB / 372.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.3697, allocations: 40 kB / 372.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.3698, allocations: 43.83 kB / 372.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.3699, allocations: 57.58 kB / 372.6 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.3703, allocations: 172.6 kB / 372.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3703, allocations: 0 / 372.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3703, allocations: 0 / 372.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3703, allocations: 0 / 372.7 MB, free: 7.359 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008326/0.3712, allocations: 0.5986 MB / 373.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3712, allocations: 12.03 kB / 373.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.3713, allocations: 38.55 kB / 373.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.3714, allocations: 23.72 kB / 373.4 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.3717, allocations: 246.5 kB / 373.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.3718, allocations: 12 kB / 373.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.3719, allocations: 8 kB / 373.7 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.3722, allocations: 95.36 kB / 373.8 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3722, allocations: 0 / 373.8 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3722, allocations: 7.938 kB / 373.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3723, allocations: 4 kB / 373.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3725, allocations: 47.91 kB / 373.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.3732, allocations: 456.9 kB / 374.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.3736, allocations: 121.3 kB / 374.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3737, allocations: 7.953 kB / 374.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.374, allocations: 109 kB / 374.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.725e-06/0.3741, allocations: 3.938 kB / 374.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001364/0.3754, allocations: 364.1 kB / 374.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.3755, allocations: 77.11 kB / 374.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.3761, allocations: 350.6 kB / 375.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.3761, allocations: 29.7 kB / 375.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3763, allocations: 194.8 kB / 375.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.3763, allocations: 47.36 kB / 375.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.3764, allocations: 4 kB / 375.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3765, allocations: 326.8 kB / 375.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.3768, allocations: 56.16 kB / 375.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.377, allocations: 100.7 kB / 376 MB, free: 3.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.3774, allocations: 123.3 kB / 376.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3774, allocations: 7.953 kB / 376.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007331/0.3781, allocations: 288.8 kB / 376.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.3782, allocations: 63.39 kB / 376.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3782, allocations: 0 / 376.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3783, allocations: 4 kB / 376.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.3785, allocations: 35.98 kB / 376.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3786, allocations: 3.938 kB / 376.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3787, allocations: 8 kB / 376.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.3788, allocations: 15.98 kB / 376.6 MB, free: 3.207 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002187/0.379, allocations: 149.9 kB / 376.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.3791, allocations: 27.67 kB / 376.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/0.3792, allocations: 29.86 kB / 376.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3792, allocations: 4.75 kB / 376.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3792, allocations: 0 / 376.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3792, allocations: 0 / 376.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3804, allocations: 0.6241 MB / 377.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3804, allocations: 0 / 377.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3805, allocations: 27.92 kB / 377.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.3806, allocations: 4 kB / 377.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.3806, allocations: 3.938 kB / 377.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3806, allocations: 4 kB / 377.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3806, allocations: 0 / 377.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.3813, allocations: 368.2 kB / 377.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3814, allocations: 116.7 kB / 377.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.3815, allocations: 8 kB / 377.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3817, allocations: 7.984 kB / 377.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.3818, allocations: 15.98 kB / 377.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.3818, allocations: 8 kB / 377.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003747/0.3822, allocations: 253.9 kB / 378.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3822, allocations: 0 / 378.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000529/0.3827, allocations: 63.98 kB / 378.2 MB, free: 1.402 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002875/0.3856, allocations: 1.482 MB / 379.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007305/0.3864, allocations: 310.6 kB / 380 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3864, allocations: 0 / 380 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.3866, allocations: 63.84 kB / 380.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.3872, allocations: 37.47 kB / 380.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.3888, allocations: 0.791 MB / 380.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3893, allocations: 0.7595 MB / 381.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3894, allocations: 67.41 kB / 381.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3894, allocations: 0 / 381.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.724/3.113, allocations: 4.36 MB / 386.1 MB, free: 9.473 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat failed! Error: Could not read variable t_new_2.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat. Warning: Get data of variable t_new_2.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat failed! Error: Could not read variable t_new_2.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat. Warning: Get data of variable t_new_2.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,der(d_t_new.u),der(d_t_new_2.u),der(t_new.timeScaled),der(t_new_2.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],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time