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.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 234.9 MB / 250.4 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006185/0.0006188, allocations: 16 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3559, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002764/0.3587, allocations: 1.478 MB / 370.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.361, allocations: 0.95 MB / 371.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.3612, allocations: 3.938 kB / 371.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.3617, allocations: 195.6 kB / 371.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.3621, allocations: 143.6 kB / 372 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.3626, allocations: 95.7 kB / 372.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.3629, allocations: 171.6 kB / 372.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3631, allocations: 13.56 kB / 372.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.3633, allocations: 103.7 kB / 372.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.3635, allocations: 115.7 kB / 372.5 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.3636, allocations: 4 kB / 372.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.3638, allocations: 51.86 kB / 372.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.3639, allocations: 51.81 kB / 372.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.364, allocations: 61.56 kB / 372.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.3643, allocations: 184.6 kB / 372.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.3643, allocations: 4 kB / 372.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3644, allocations: 0 / 372.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3644, allocations: 0 / 372.9 MB, free: 9.133 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.0009/0.3653, allocations: 0.618 MB / 373.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3653, allocations: 8.031 kB / 373.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.3654, allocations: 34.56 kB / 373.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.3655, allocations: 35.61 kB / 373.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.3659, allocations: 251.2 kB / 373.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.3659, allocations: 12 kB / 373.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.366, allocations: 11.91 kB / 373.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.3663, allocations: 95.36 kB / 373.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3663, allocations: 0 / 373.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3664, allocations: 3.953 kB / 373.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3664, allocations: 4 kB / 373.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.3666, allocations: 47.91 kB / 374 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.3673, allocations: 468.9 kB / 374.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.3677, allocations: 113.3 kB / 374.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.3678, allocations: 11.95 kB / 374.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003339/0.3681, allocations: 116.9 kB / 374.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.3681, allocations: 0 / 374.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001328/0.3695, allocations: 372 kB / 375 MB, free: 6.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.3696, allocations: 89.05 kB / 375.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.3702, allocations: 420.5 kB / 375.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.3703, allocations: 29.7 kB / 375.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3704, allocations: 198.9 kB / 375.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.3705, allocations: 51.34 kB / 375.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.3705, allocations: 4 kB / 375.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3707, allocations: 326.8 kB / 376.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3709, allocations: 56.16 kB / 376.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.3712, allocations: 96.72 kB / 376.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.3715, allocations: 127.4 kB / 376.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3715, allocations: 7.891 kB / 376.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006998/0.3722, allocations: 284.8 kB / 376.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.3723, allocations: 67.45 kB / 376.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3723, allocations: 4 kB / 376.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3723, allocations: 7.984 kB / 376.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.3726, allocations: 31.92 kB / 376.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3726, allocations: 4 kB / 376.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3728, allocations: 12 kB / 376.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3728, allocations: 8 kB / 376.8 MB, free: 4.848 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.0002254/0.373, allocations: 165.8 kB / 377 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.3731, allocations: 31.58 kB / 377 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.503e-05/0.3732, allocations: 34.61 kB / 377.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3732, allocations: 7.938 kB / 377.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3732, allocations: 0 / 377.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3733, allocations: 3.984 kB / 377.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.3744, allocations: 0.6205 MB / 377.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3744, allocations: 4.812 kB / 377.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3746, allocations: 23.94 kB / 377.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.3746, allocations: 7.984 kB / 377.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.3746, allocations: 0 / 377.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.3746, allocations: 4 kB / 377.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.3746, allocations: 4 kB / 377.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.3753, allocations: 387.2 kB / 378.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3754, allocations: 108.8 kB / 378.2 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.3755, allocations: 8 kB / 378.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.3757, allocations: 4 kB / 378.2 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/0.3758, allocations: 19.97 kB / 378.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.3758, allocations: 8 kB / 378.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004424/0.3763, allocations: 307 kB / 378.6 MB, free: 3.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3763, allocations: 4 kB / 378.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.3768, allocations: 56 kB / 378.6 MB, free: 2.949 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.002846/0.3797, allocations: 1.497 MB / 380.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007084/0.3804, allocations: 298.6 kB / 380.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.3804, allocations: 4.125 kB / 380.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.3807, allocations: 63.91 kB / 380.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.3812, allocations: 37.67 kB / 380.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.383, allocations: 0.8846 MB / 381.4 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.3834, allocations: 0.7634 MB / 382.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.3836, allocations: 79.41 kB / 382.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3836, allocations: 0 / 382.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.612/2.996, allocations: 4.696 MB / 386.9 MB, free: 10.58 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable t_new_2.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable t_new_2.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat failed! Error: Could not read variable t_new_2.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat. Warning: Get data of variable t_new_2.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_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.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],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.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time