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.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.000491, allocations: 16 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3762, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002393/0.3787, allocations: 1.333 MB / 332.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3803, allocations: 0.6734 MB / 333.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3805, allocations: 0 / 333.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.3812, allocations: 273.1 kB / 333.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.3817, allocations: 170.4 kB / 333.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.3823, allocations: 102.1 kB / 333.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.3827, allocations: 146.6 kB / 334 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.3828, allocations: 22.64 kB / 334 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.383, allocations: 85.95 kB / 334.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.3833, allocations: 141.1 kB / 334.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.3834, allocations: 3.906 kB / 334.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.3837, allocations: 55.88 kB / 334.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3839, allocations: 126.9 kB / 334.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.384, allocations: 74.27 kB / 334.5 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.3846, allocations: 282.2 kB / 334.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.3847, allocations: 0 / 334.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3847, allocations: 1.125 kB / 334.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3847, allocations: 0 / 334.7 MB, free: 4.973 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.001086/0.3858, allocations: 0.7044 MB / 335.4 MB, free: 4.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3858, allocations: 9.25 kB / 335.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.3859, allocations: 36.05 kB / 335.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.974e-05/0.386, allocations: 45.27 kB / 335.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.3868, allocations: 398.8 kB / 335.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.3868, allocations: 3.109 kB / 335.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3869, allocations: 3.25 kB / 335.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3871, allocations: 67.11 kB / 336 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3871, allocations: 1.125 kB / 336 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3871, allocations: 1.031 kB / 336 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3871, allocations: 0 / 336 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.3872, allocations: 21.16 kB / 336 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.3878, allocations: 359.7 kB / 336.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3879, allocations: 58.47 kB / 336.4 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.388, allocations: 9.297 kB / 336.4 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.3883, allocations: 99.06 kB / 336.5 MB, free: 3.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 3.005e-06/0.3883, allocations: 0 / 336.5 MB, free: 3.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005164/0.3888, allocations: 132.6 kB / 336.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3889, allocations: 82.52 kB / 336.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.3906, allocations: 0.9806 MB / 337.7 MB, free: 2.863 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.3907, allocations: 28.77 kB / 337.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3909, allocations: 254.1 kB / 338 MB, free: 2.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.3909, allocations: 14.41 kB / 338 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.3909, allocations: 5.062 kB / 338 MB, free: 2.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.391, allocations: 317 kB / 338.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.923e-05/0.3911, allocations: 26.08 kB / 338.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3912, allocations: 54.88 kB / 338.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3914, allocations: 85.72 kB / 338.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3914, allocations: 1.25 kB / 338.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003578/0.3918, allocations: 172 kB / 338.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.3918, allocations: 66.77 kB / 338.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3919, allocations: 1.438 kB / 338.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.3919, allocations: 5.25 kB / 338.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.392, allocations: 13.42 kB / 338.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.392, allocations: 3.938 kB / 338.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.3923, allocations: 18.31 kB / 338.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.3924, allocations: 4.562 kB / 338.8 MB, free: 1.898 MB / 266.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.000364/0.3928, allocations: 214.1 kB / 339 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3929, allocations: 46.67 kB / 339 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.393, allocations: 52.06 kB / 339.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.393, allocations: 5.078 kB / 339.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.393, allocations: 0 / 339.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.393, allocations: 1 kB / 339.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.3935, allocations: 316.5 kB / 339.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.3936, allocations: 1.469 kB / 339.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.3936, allocations: 6.875 kB / 339.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.3937, allocations: 9.656 kB / 339.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3937, allocations: 5.5 kB / 339.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3937, allocations: 1.656 kB / 339.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3937, allocations: 0 / 339.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.3941, allocations: 150.6 kB / 339.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.3943, allocations: 136.1 kB / 339.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.3943, allocations: 6.422 kB / 339.7 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3945, allocations: 3.219 kB / 339.7 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.3946, allocations: 6.734 kB / 339.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3946, allocations: 7.719 kB / 339.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.3959, allocations: 0.7298 MB / 340.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.873e-06/0.3959, allocations: 1.125 kB / 340.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005728/0.3965, allocations: 54.03 kB / 340.5 MB, free: 0.7734 MB / 266.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001855/0.3984, allocations: 1.06 MB / 341.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004506/0.3989, allocations: 191 kB / 341.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3989, allocations: 1.156 kB / 341.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.399, allocations: 21.02 kB / 341.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.3996, allocations: 51.25 kB / 341.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.4026, allocations: 1.33 MB / 343.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.4033, allocations: 0.8313 MB / 344 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.4036, allocations: 126.3 kB / 344.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4037, allocations: 1.156 kB / 344.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.881/3.285, allocations: 7.072 MB / 351.2 MB, free: 10.15 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat failed! Error: Could not read variable startTime.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat. Warning: Get data of variable startTime.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat failed! Error: Could not read variable startTime_0.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat. Warning: Get data of variable startTime_0.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat failed! " Variables in the reference:time,startTime.nextTimeEvent,startTime_0.nextTimeEvent Variables in the result:startTime.columns[1],startTime.extrapolation,startTime.nextTimeEvent,startTime.nout,startTime.offset[1],startTime.p_offset[1],startTime.smoothness,startTime.startTime,startTime.t_max,startTime.t_min,startTime.tableOnFile,startTime.tableOnFileRead,startTime.table[1,1],startTime.table[1,2],startTime.table[10,1],startTime.table[10,2],startTime.table[11,1],startTime.table[11,2],startTime.table[12,1],startTime.table[12,2],startTime.table[13,1],startTime.table[13,2],startTime.table[14,1],startTime.table[14,2],startTime.table[15,1],startTime.table[15,2],startTime.table[16,1],startTime.table[16,2],startTime.table[17,1],startTime.table[17,2],startTime.table[18,1],startTime.table[18,2],startTime.table[19,1],startTime.table[19,2],startTime.table[2,1],startTime.table[2,2],startTime.table[20,1],startTime.table[20,2],startTime.table[21,1],startTime.table[21,2],startTime.table[22,1],startTime.table[22,2],startTime.table[23,1],startTime.table[23,2],startTime.table[24,1],startTime.table[24,2],startTime.table[25,1],startTime.table[25,2],startTime.table[26,1],startTime.table[26,2],startTime.table[27,1],startTime.table[27,2],startTime.table[28,1],startTime.table[28,2],startTime.table[3,1],startTime.table[3,2],startTime.table[4,1],startTime.table[4,2],startTime.table[5,1],startTime.table[5,2],startTime.table[6,1],startTime.table[6,2],startTime.table[7,1],startTime.table[7,2],startTime.table[8,1],startTime.table[8,2],startTime.table[9,1],startTime.table[9,2],startTime.verboseRead,startTime.y[1],startTime_0.columns[1],startTime_0.extrapolation,startTime_0.nextTimeEvent,startTime_0.nout,startTime_0.offset[1],startTime_0.p_offset[1],startTime_0.smoothness,startTime_0.startTime,startTime_0.t_max,startTime_0.t_min,startTime_0.tableOnFile,startTime_0.tableOnFileRead,startTime_0.table[1,1],startTime_0.table[1,2],startTime_0.table[10,1],startTime_0.table[10,2],startTime_0.table[11,1],startTime_0.table[11,2],startTime_0.table[12,1],startTime_0.table[12,2],startTime_0.table[13,1],startTime_0.table[13,2],startTime_0.table[14,1],startTime_0.table[14,2],startTime_0.table[15,1],startTime_0.table[15,2],startTime_0.table[16,1],startTime_0.table[16,2],startTime_0.table[17,1],startTime_0.table[17,2],startTime_0.table[18,1],startTime_0.table[18,2],startTime_0.table[19,1],startTime_0.table[19,2],startTime_0.table[2,1],startTime_0.table[2,2],startTime_0.table[20,1],startTime_0.table[20,2],startTime_0.table[21,1],startTime_0.table[21,2],startTime_0.table[22,1],startTime_0.table[22,2],startTime_0.table[23,1],startTime_0.table[23,2],startTime_0.table[24,1],startTime_0.table[24,2],startTime_0.table[25,1],startTime_0.table[25,2],startTime_0.table[26,1],startTime_0.table[26,2],startTime_0.table[27,1],startTime_0.table[27,2],startTime_0.table[28,1],startTime_0.table[28,2],startTime_0.table[3,1],startTime_0.table[3,2],startTime_0.table[4,1],startTime_0.table[4,2],startTime_0.table[5,1],startTime_0.table[5,2],startTime_0.table[6,1],startTime_0.table[6,2],startTime_0.table[7,1],startTime_0.table[7,2],startTime_0.table[8,1],startTime_0.table[8,2],startTime_0.table[9,1],startTime_0.table[9,2],startTime_0.verboseRead,startTime_0.y[1],time