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.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 12 kB / 314.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.343, allocations: 54.88 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002397/0.3454, allocations: 1.353 MB / 370.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3471, allocations: 0.7204 MB / 371.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.3472, allocations: 0 / 371.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.3474, allocations: 23.86 kB / 371.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3476, allocations: 43.86 kB / 371.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.3479, allocations: 47.83 kB / 371.5 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.348, allocations: 75.84 kB / 371.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.3482, allocations: 12 kB / 371.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.938e-05/0.3483, allocations: 39.83 kB / 371.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.735e-05/0.3484, allocations: 27.86 kB / 371.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3484, allocations: 4 kB / 371.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3485, allocations: 31.92 kB / 371.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.3486, allocations: 31.89 kB / 371.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.3487, allocations: 41.64 kB / 371.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3489, allocations: 96.84 kB / 371.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3489, allocations: 0 / 371.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3489, allocations: 0 / 371.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3489, allocations: 3.938 kB / 371.8 MB, free: 8.273 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.0005998/0.3495, allocations: 474.1 kB / 372.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3496, allocations: 16.02 kB / 372.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.3496, allocations: 30.56 kB / 372.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.3497, allocations: 15.81 kB / 372.4 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.35, allocations: 214.7 kB / 372.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.35, allocations: 4 kB / 372.6 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.35, allocations: 4 kB / 372.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3502, allocations: 53.67 kB / 372.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3502, allocations: 0 / 372.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3503, allocations: 3.953 kB / 372.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3503, allocations: 4 kB / 372.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3504, allocations: 15.98 kB / 372.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3509, allocations: 320.8 kB / 373 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.3512, allocations: 58.67 kB / 373 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3512, allocations: 0 / 373 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3514, allocations: 71.34 kB / 373.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.3514, allocations: 0 / 373.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007483/0.3522, allocations: 189 kB / 373.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3523, allocations: 51.41 kB / 373.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3526, allocations: 254.5 kB / 373.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3527, allocations: 33.7 kB / 373.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.3528, allocations: 166.4 kB / 373.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3528, allocations: 27.64 kB / 373.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.3528, allocations: 11.94 kB / 373.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.353, allocations: 310.8 kB / 374.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3531, allocations: 35.98 kB / 374.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3532, allocations: 49.69 kB / 374.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3534, allocations: 57.7 kB / 374.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3534, allocations: 4 kB / 374.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003742/0.3538, allocations: 159.2 kB / 374.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.3539, allocations: 37.69 kB / 374.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3539, allocations: 0 / 374.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3539, allocations: 4.031 kB / 374.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.354, allocations: 19.98 kB / 374.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3541, allocations: 4 kB / 374.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.3542, allocations: 11.92 kB / 374.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3542, allocations: 4 kB / 374.5 MB, free: 5.348 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.0001863/0.3544, allocations: 139.6 kB / 374.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.3544, allocations: 15.77 kB / 374.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.3545, allocations: 21.56 kB / 374.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3545, allocations: 11.94 kB / 374.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3546, allocations: 0 / 374.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3546, allocations: 0 / 374.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.3552, allocations: 407.3 kB / 375.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3552, allocations: 0 / 375.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.3553, allocations: 11.98 kB / 375.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3553, allocations: 0 / 375.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3553, allocations: 4 kB / 375.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3553, allocations: 0 / 375.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3554, allocations: 4.031 kB / 375.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.3557, allocations: 212.1 kB / 375.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.3558, allocations: 100.9 kB / 375.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.3559, allocations: 4 kB / 375.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.356, allocations: 7.984 kB / 375.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.356, allocations: 8.375 kB / 375.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.3561, allocations: 4 kB / 375.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.3563, allocations: 192.5 kB / 375.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3563, allocations: 0 / 375.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000362/0.3567, allocations: 28 kB / 375.6 MB, free: 4.102 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.001819/0.3585, allocations: 1.076 MB / 376.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3589, allocations: 151.3 kB / 376.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3589, allocations: 0 / 376.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3591, allocations: 35.92 kB / 376.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3594, allocations: 31.91 kB / 376.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3605, allocations: 0.5723 MB / 377.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3608, allocations: 0.7238 MB / 378.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.3609, allocations: 47.34 kB / 378.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.361, allocations: 0 / 378.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.665/3.026, allocations: 2.679 MB / 380.9 MB, free: 14.75 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_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.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