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.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006326/0.0006327, allocations: 16 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3517, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002472/0.3542, allocations: 1.303 MB / 332.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3553, allocations: 415.4 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.3555, allocations: 0.75 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.3558, allocations: 20.67 kB / 333 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.356, allocations: 27.28 kB / 333 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.3564, allocations: 59.42 kB / 333.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.3565, allocations: 56.59 kB / 333.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3567, allocations: 13.8 kB / 333.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.3568, allocations: 27.45 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.3569, allocations: 26.17 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.3569, allocations: 1.031 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.3571, allocations: 34.03 kB / 333.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.3571, allocations: 19.09 kB / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3572, allocations: 32.66 kB / 333.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3574, allocations: 76.98 kB / 333.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3575, allocations: 0 / 333.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3575, allocations: 4 kB / 333.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3575, allocations: 0 / 333.4 MB, free: 5.391 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.0005089/0.358, allocations: 408.4 kB / 333.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3581, allocations: 9.625 kB / 333.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.3581, allocations: 35.2 kB / 333.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.3582, allocations: 13.28 kB / 333.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3584, allocations: 197.5 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3584, allocations: 6.094 kB / 334 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3584, allocations: 2.906 kB / 334 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3586, allocations: 47.02 kB / 334.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3586, allocations: 1.094 kB / 334.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3586, allocations: 0 / 334.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3587, allocations: 1.469 kB / 334.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.775e-05/0.3587, allocations: 13.17 kB / 334.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.3591, allocations: 279.4 kB / 334.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.3594, allocations: 41.94 kB / 334.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3594, allocations: 2.047 kB / 334.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3596, allocations: 61.97 kB / 334.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.3596, allocations: 0.9375 kB / 334.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.00051/0.3601, allocations: 112.4 kB / 334.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.3602, allocations: 52.16 kB / 334.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.3604, allocations: 179.1 kB / 334.8 MB, free: 4.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3604, allocations: 34.64 kB / 334.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.3605, allocations: 162.3 kB / 335 MB, free: 3.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3605, allocations: 11.31 kB / 335 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.3606, allocations: 5.094 kB / 335 MB, free: 3.828 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.3606, allocations: 313.1 kB / 335.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.3607, allocations: 19.33 kB / 335.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.3608, allocations: 16.56 kB / 335.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.3609, allocations: 50.5 kB / 335.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3609, allocations: 0 / 335.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002383/0.3611, allocations: 122.5 kB / 335.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.3612, allocations: 32.17 kB / 335.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3612, allocations: 1.406 kB / 335.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.3612, allocations: 3.938 kB / 335.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.3613, allocations: 14.36 kB / 335.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3613, allocations: 0 / 335.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.3614, allocations: 7.297 kB / 335.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3614, allocations: 3.391 kB / 335.6 MB, free: 3.328 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.0001053/0.3616, allocations: 123.8 kB / 335.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3616, allocations: 21.39 kB / 335.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.3617, allocations: 9.219 kB / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3617, allocations: 0.75 kB / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3617, allocations: 1.188 kB / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3617, allocations: 0 / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.3621, allocations: 344.8 kB / 336.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3621, allocations: 0 / 336.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.3622, allocations: 5.75 kB / 336.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3622, allocations: 1.062 kB / 336.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3622, allocations: 6.344 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3623, allocations: 0 / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3623, allocations: 5.266 kB / 336.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.3625, allocations: 167.5 kB / 336.3 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.3625, allocations: 84.58 kB / 336.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3625, allocations: 1.844 kB / 336.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.3627, allocations: 6.969 kB / 336.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.3627, allocations: 4.094 kB / 336.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3627, allocations: 10.39 kB / 336.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3629, allocations: 127.2 kB / 336.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3629, allocations: 0 / 336.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000376/0.3633, allocations: 33.17 kB / 336.5 MB, free: 2.488 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.0013/0.3646, allocations: 0.9802 MB / 337.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.3649, allocations: 102.1 kB / 337.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3649, allocations: 0 / 337.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.365, allocations: 17 kB / 337.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.3653, allocations: 17.25 kB / 337.6 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.3662, allocations: 452.8 kB / 338.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.3664, allocations: 0.7022 MB / 338.8 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.3665, allocations: 32.34 kB / 338.8 MB, free: 464 kB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3665, allocations: 0 / 338.8 MB, free: 464 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.744/3.11, allocations: 2.07 MB / 340.9 MB, free: 15.65 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_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