Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004633, allocations: 16 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3522, allocations: 48.7 MB / 331.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002646/0.3549, allocations: 1.288 MB / 332.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3562, allocations: 413.7 kB / 333 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.3563, allocations: 1.344 kB / 333 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.3567, allocations: 24.89 kB / 333 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3569, allocations: 38.7 kB / 333 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.3573, allocations: 55.12 kB / 333.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.3575, allocations: 57.05 kB / 333.2 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3577, allocations: 9.891 kB / 333.2 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3578, allocations: 27.88 kB / 333.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.3579, allocations: 21.66 kB / 333.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3579, allocations: 6.719 kB / 333.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.3582, allocations: 33.03 kB / 333.2 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.3582, allocations: 16.47 kB / 333.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.3583, allocations: 42.78 kB / 333.3 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3586, allocations: 78.94 kB / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3586, allocations: 0 / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3586, allocations: 0 / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3586, allocations: 0 / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005103/0.3591, allocations: 402.9 kB / 333.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3592, allocations: 9.234 kB / 333.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.3592, allocations: 32.81 kB / 333.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.3593, allocations: 7.719 kB / 333.8 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.3595, allocations: 207 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3596, allocations: 1.469 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3596, allocations: 3.594 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3598, allocations: 46.39 kB / 334.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3598, allocations: 1.438 kB / 334.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3598, allocations: 0 / 334.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3598, allocations: 2.609 kB / 334.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.3599, allocations: 12.95 kB / 334.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3603, allocations: 278.4 kB / 334.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.3606, allocations: 46.02 kB / 334.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3606, allocations: 1.281 kB / 334.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.3608, allocations: 59.55 kB / 334.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.856e-06/0.3609, allocations: 0 / 334.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005205/0.3614, allocations: 115.9 kB / 334.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3615, allocations: 57.38 kB / 334.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.3617, allocations: 177.9 kB / 334.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3617, allocations: 27.39 kB / 334.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.3618, allocations: 160.5 kB / 335 MB, free: 3.723 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.3618, allocations: 12.48 kB / 335 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.3619, allocations: 5.438 kB / 335 MB, free: 3.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.3619, allocations: 313.9 kB / 335.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.362, allocations: 19.11 kB / 335.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.3621, allocations: 19.97 kB / 335.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.631e-05/0.3622, allocations: 53.95 kB / 335.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3622, allocations: 1.188 kB / 335.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002489/0.3624, allocations: 112 kB / 335.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.3625, allocations: 34.27 kB / 335.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3625, allocations: 2.094 kB / 335.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3625, allocations: 0 / 335.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.3626, allocations: 12.47 kB / 335.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3627, allocations: 5.219 kB / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.3627, allocations: 7.094 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3628, allocations: 7.016 kB / 335.6 MB, free: 3.207 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001231/0.3629, allocations: 132.2 kB / 335.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3629, allocations: 8.266 kB / 335.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.363, allocations: 9.453 kB / 335.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.363, allocations: 1.281 kB / 335.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.363, allocations: 0.6562 kB / 335.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.363, allocations: 1.406 kB / 335.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.3635, allocations: 340.1 kB / 336.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3635, allocations: 4.516 kB / 336.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.3636, allocations: 8.922 kB / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3636, allocations: 1.797 kB / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3636, allocations: 1.75 kB / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3636, allocations: 1.312 kB / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3636, allocations: 3.953 kB / 336.1 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.3638, allocations: 163.9 kB / 336.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3639, allocations: 84.64 kB / 336.3 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.3639, allocations: 9.797 kB / 336.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.364, allocations: 3.531 kB / 336.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3641, allocations: 3.828 kB / 336.4 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.3641, allocations: 10 kB / 336.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.3643, allocations: 127.9 kB / 336.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3643, allocations: 0 / 336.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004251/0.3647, allocations: 32.97 kB / 336.5 MB, free: 2.371 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001412/0.3661, allocations: 0.9819 MB / 337.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.3665, allocations: 107.1 kB / 337.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3665, allocations: 0 / 337.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.3666, allocations: 23.78 kB / 337.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3669, allocations: 14.42 kB / 337.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/0.3678, allocations: 449 kB / 338.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.368, allocations: 0.6994 MB / 338.8 MB, free: 364 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.3681, allocations: 31.7 kB / 338.8 MB, free: 340 kB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3681, allocations: 0 / 338.8 MB, free: 340 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/3.01, allocations: 2.067 MB / 340.9 MB, free: 15.55 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_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),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,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_min,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.verboseRead,t_new.y[1],time