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.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004471, allocations: 12 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3576, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002502/0.3601, allocations: 1.357 MB / 370.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3618, allocations: 0.7125 MB / 371.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.3619, allocations: 3.938 kB / 371.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3622, allocations: 31.83 kB / 371.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.3625, allocations: 35.94 kB / 371.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.3627, allocations: 55.83 kB / 371.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.3629, allocations: 71.84 kB / 371.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.363, allocations: 4 kB / 371.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3631, allocations: 39.84 kB / 371.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.3632, allocations: 31.84 kB / 371.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3632, allocations: 4 kB / 371.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3634, allocations: 27.98 kB / 371.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.3634, allocations: 15.92 kB / 371.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.3635, allocations: 45.58 kB / 371.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3637, allocations: 96.84 kB / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.3637, allocations: 0 / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3637, allocations: 0 / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3637, 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.0006431/0.3644, allocations: 466.1 kB / 372.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3645, allocations: 8.031 kB / 372.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.3645, allocations: 38.56 kB / 372.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.3646, allocations: 15.81 kB / 372.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3648, allocations: 210.8 kB / 372.5 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.3649, allocations: 0 / 372.5 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.3649, allocations: 8 kB / 372.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3651, allocations: 61.59 kB / 372.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3652, allocations: 4 kB / 372.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3652, allocations: 3.953 kB / 372.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3652, allocations: 0 / 372.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3653, allocations: 19.98 kB / 372.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.3658, allocations: 296.9 kB / 372.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.366, allocations: 62.61 kB / 373 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3661, allocations: 4 kB / 373 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.3663, allocations: 67.34 kB / 373 MB, free: 8.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.796e-06/0.3663, allocations: 4 kB / 373 MB, free: 8.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007729/0.3671, allocations: 189 kB / 373.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3672, allocations: 55.41 kB / 373.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3674, allocations: 214.3 kB / 373.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.3675, allocations: 29.7 kB / 373.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.3676, allocations: 166.4 kB / 373.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3676, allocations: 23.66 kB / 373.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.3677, allocations: 4 kB / 373.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3678, allocations: 318.8 kB / 374 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3679, allocations: 35.92 kB / 374 MB, free: 7.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3681, allocations: 45.7 kB / 374.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3682, allocations: 65.69 kB / 374.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3682, allocations: 0 / 374.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003911/0.3686, allocations: 159.2 kB / 374.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.3687, allocations: 37.7 kB / 374.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3687, allocations: 4.031 kB / 374.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3688, allocations: 7.984 kB / 374.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.3689, allocations: 12 kB / 374.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3689, allocations: 0 / 374.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.369, allocations: 4 kB / 374.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.369, allocations: 4 kB / 374.4 MB, free: 7.355 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.3692, allocations: 140.9 kB / 374.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.3692, allocations: 15.77 kB / 374.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.3693, allocations: 21.39 kB / 374.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3693, allocations: 8.031 kB / 374.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3693, allocations: 3.938 kB / 374.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3694, allocations: 0 / 374.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.37, allocations: 395.7 kB / 375 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.37, allocations: 4 kB / 375 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.3701, allocations: 15.98 kB / 375 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3701, allocations: 0 / 375 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3701, allocations: 8.031 kB / 375 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3701, allocations: 4 kB / 375 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3701, allocations: 0 / 375 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.3705, allocations: 200.4 kB / 375.2 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.3706, allocations: 100.8 kB / 375.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.3706, allocations: 8 kB / 375.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3707, allocations: 0 / 375.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3708, allocations: 11.98 kB / 375.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3708, allocations: 4 kB / 375.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.371, allocations: 171.2 kB / 375.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3711, allocations: 0 / 375.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.3714, allocations: 28 kB / 375.5 MB, free: 6.141 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.001851/0.3733, allocations: 1.097 MB / 376.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.3737, allocations: 147.3 kB / 376.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3737, allocations: 0 / 376.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3738, allocations: 31.92 kB / 376.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3742, allocations: 20.11 kB / 376.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/0.3752, allocations: 0.5279 MB / 377.3 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3755, allocations: 0.7101 MB / 378 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.3756, allocations: 43.41 kB / 378.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3756, allocations: 0 / 378.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.631/3.006, allocations: 2.512 MB / 380.6 MB, free: 1.023 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_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