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.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 234.9 MB / 250.4 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004723, allocations: 12 kB / 314.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3544, allocations: 54.87 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002549/0.357, allocations: 1.342 MB / 370.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3587, allocations: 0.7203 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.3588, allocations: 0 / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.3592, allocations: 31.84 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.3594, allocations: 31.89 kB / 371.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.3597, allocations: 55.81 kB / 371.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.3599, allocations: 71.84 kB / 371.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.36, allocations: 8 kB / 371.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3601, allocations: 35.86 kB / 371.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.3602, allocations: 31.89 kB / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3603, allocations: 0 / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3604, allocations: 31.88 kB / 371.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.3604, allocations: 11.98 kB / 371.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.3605, allocations: 45.62 kB / 371.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3607, allocations: 84.84 kB / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.3607, allocations: 0 / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3608, allocations: 4 kB / 371.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3608, allocations: 0 / 371.8 MB, free: 10.23 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.0006098/0.3614, allocations: 446.3 kB / 372.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3614, allocations: 12.03 kB / 372.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.3615, allocations: 30.56 kB / 372.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3616, allocations: 19.75 kB / 372.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3618, allocations: 206.6 kB / 372.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3619, allocations: 8 kB / 372.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.3619, allocations: 8 kB / 372.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3621, allocations: 53.67 kB / 372.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3621, allocations: 0 / 372.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3622, allocations: 3.953 kB / 372.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3622, allocations: 4 kB / 372.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3623, allocations: 19.98 kB / 372.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.3628, allocations: 300.8 kB / 372.9 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.363, allocations: 62.67 kB / 372.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3631, allocations: 4 kB / 372.9 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.3633, allocations: 67.34 kB / 373 MB, free: 8.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.3633, allocations: 3.938 kB / 373 MB, free: 8.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007862/0.3641, allocations: 177.2 kB / 373.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.3642, allocations: 55.41 kB / 373.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.3644, allocations: 190 kB / 373.4 MB, free: 8.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3645, allocations: 29.7 kB / 373.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.3646, allocations: 166.5 kB / 373.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.3646, allocations: 19.72 kB / 373.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.3646, allocations: 0 / 373.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3648, allocations: 318.8 kB / 373.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3649, allocations: 27.98 kB / 374 MB, free: 7.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3651, allocations: 52.09 kB / 374 MB, free: 7.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3652, allocations: 69.69 kB / 374.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3653, allocations: 0 / 374.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003927/0.3657, allocations: 155.2 kB / 374.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.3657, allocations: 37.7 kB / 374.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3657, allocations: 0 / 374.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3658, allocations: 0 / 374.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3659, allocations: 19.98 kB / 374.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3659, allocations: 4.031 kB / 374.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.3661, allocations: 4 kB / 374.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.3661, allocations: 11.94 kB / 374.3 MB, free: 7.441 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.0001429/0.3662, allocations: 133.7 kB / 374.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3663, allocations: 11.86 kB / 374.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.3663, allocations: 12.72 kB / 374.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.3663, allocations: 0 / 374.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3664, allocations: 0 / 374.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3664, allocations: 3.984 kB / 374.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.367, allocations: 399.3 kB / 374.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3671, allocations: 4.312 kB / 374.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.3671, allocations: 11.98 kB / 374.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.3672, allocations: 8 kB / 374.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3672, allocations: 0 / 374.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3672, allocations: 0 / 374.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3672, allocations: 0 / 374.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.3676, allocations: 212.2 kB / 375.1 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.3677, allocations: 96.95 kB / 375.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.3677, allocations: 3.984 kB / 375.2 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3679, allocations: 11.98 kB / 375.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3679, allocations: 4 kB / 375.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3679, allocations: 4 kB / 375.2 MB, free: 6.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.3681, allocations: 139.2 kB / 375.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3681, allocations: 0 / 375.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.3685, allocations: 24 kB / 375.4 MB, free: 6.277 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.001942/0.3705, allocations: 1.085 MB / 376.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.371, allocations: 147.4 kB / 376.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.371, allocations: 0 / 376.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3711, allocations: 31.92 kB / 376.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3715, allocations: 27.47 kB / 376.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3725, allocations: 0.4951 MB / 377.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3729, allocations: 0.7082 MB / 377.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.373, allocations: 31.42 kB / 377.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.373, allocations: 3.938 kB / 377.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.586/2.959, allocations: 2.336 MB / 380.2 MB, free: 1.387 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time