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.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006106/0.0006108, allocations: 8 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3642, allocations: 48.72 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002332/0.3666, allocations: 1.291 MB / 332.6 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.3676, allocations: 417.1 kB / 333 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.3677, allocations: 1.781 kB / 333 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.368, allocations: 26.94 kB / 333 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.3681, allocations: 32.45 kB / 333 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.3684, allocations: 62.81 kB / 333.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3686, allocations: 58 kB / 333.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.3687, allocations: 9.234 kB / 333.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.522e-05/0.3688, allocations: 23.81 kB / 333.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.3688, allocations: 26.22 kB / 333.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3689, allocations: 2.25 kB / 333.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.369, allocations: 32.34 kB / 333.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.3691, allocations: 16.2 kB / 333.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.3691, allocations: 37.39 kB / 333.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3693, allocations: 89.52 kB / 333.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.3693, allocations: 0 / 333.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3694, allocations: 1.953 kB / 333.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3694, allocations: 0 / 333.4 MB, free: 5.367 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.0004582/0.3698, allocations: 406 kB / 333.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3699, allocations: 13.59 kB / 333.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.3699, allocations: 35.17 kB / 333.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.37, allocations: 13.03 kB / 333.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3702, allocations: 188.3 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3702, allocations: 8.734 kB / 334 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3703, allocations: 7.062 kB / 334.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3704, allocations: 42.69 kB / 334.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3704, allocations: 1.25 kB / 334.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3704, allocations: 0.5625 kB / 334.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3704, allocations: 1.094 kB / 334.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.3705, allocations: 13.66 kB / 334.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.3709, allocations: 291.1 kB / 334.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.3711, allocations: 46.53 kB / 334.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3712, allocations: 0.9062 kB / 334.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.3713, allocations: 59.95 kB / 334.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.3713, allocations: 0 / 334.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004393/0.3718, allocations: 112.2 kB / 334.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3718, allocations: 52.62 kB / 334.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3721, allocations: 189.6 kB / 334.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3721, allocations: 27.2 kB / 334.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.3721, allocations: 160.8 kB / 335 MB, free: 3.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.3722, allocations: 20.78 kB / 335 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.3722, allocations: 0 / 335 MB, free: 3.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.3723, allocations: 317.4 kB / 335.4 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.3723, allocations: 20.2 kB / 335.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/0.3724, allocations: 16.33 kB / 335.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.026e-05/0.3725, allocations: 58.8 kB / 335.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3725, allocations: 0 / 335.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002105/0.3727, allocations: 112.2 kB / 335.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.3728, allocations: 34.2 kB / 335.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.3728, allocations: 0.75 kB / 335.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3728, allocations: 1.25 kB / 335.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.3729, allocations: 13.56 kB / 335.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3729, allocations: 96 / 335.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.373, allocations: 15.44 kB / 335.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.373, allocations: 3.312 kB / 335.6 MB, free: 3.285 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 9.934e-05/0.3731, allocations: 128.3 kB / 335.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3732, allocations: 9.266 kB / 335.8 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.3732, allocations: 15.28 kB / 335.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3733, allocations: 0.75 kB / 335.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3733, allocations: 0 / 335.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3733, allocations: 1.688 kB / 335.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.3736, allocations: 344.9 kB / 336.1 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3737, allocations: 0 / 336.1 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.3737, allocations: 10.84 kB / 336.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3737, allocations: 0 / 336.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3738, allocations: 6.516 kB / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3738, allocations: 1.25 kB / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3738, allocations: 0 / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.374, allocations: 168 kB / 336.3 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.374, allocations: 85.16 kB / 336.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.374, allocations: 2.031 kB / 336.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.3741, allocations: 5.547 kB / 336.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.3742, allocations: 4.562 kB / 336.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3742, allocations: 7.406 kB / 336.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3744, allocations: 139.7 kB / 336.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3744, allocations: 0 / 336.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.3747, allocations: 28.66 kB / 336.6 MB, free: 2.453 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.001233/0.376, allocations: 0.9675 MB / 337.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.3762, allocations: 105.5 kB / 337.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3762, allocations: 0 / 337.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.3763, allocations: 12.33 kB / 337.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3766, allocations: 23.69 kB / 337.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.3774, allocations: 476.6 kB / 338.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3776, allocations: 0.7117 MB / 338.8 MB, free: 436 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.3776, allocations: 24.44 kB / 338.9 MB, free: 420 kB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3776, allocations: 1.25 kB / 338.9 MB, free: 420 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.81/3.188, allocations: 2.142 MB / 341 MB, free: 15.57 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_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.table[4,1],t_new.table[4,2],t_new.verboseRead,t_new.y[1],time