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.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 234.9 MB / 250.4 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.000436, allocations: 16 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3946, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003618/0.3983, allocations: 1.31 MB / 370.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.4009, allocations: 0.7047 MB / 371.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.4011, allocations: 0 / 371.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.4014, allocations: 19.92 kB / 371.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.4018, allocations: 51.81 kB / 371.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.4022, allocations: 51.83 kB / 371.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.4024, allocations: 63.84 kB / 371.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.4025, allocations: 7.859 kB / 371.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.4027, allocations: 35.91 kB / 371.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4029, allocations: 35.78 kB / 371.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.4029, allocations: 4 kB / 371.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.4031, allocations: 19.98 kB / 371.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.4032, allocations: 23.92 kB / 371.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.4033, allocations: 41.64 kB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.4036, allocations: 87.86 kB / 371.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4037, allocations: 0 / 371.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4037, allocations: 0 / 371.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.4037, allocations: 0 / 371.7 MB, free: 8.242 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009112/0.4046, allocations: 475 kB / 372.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/0.4047, allocations: 12.03 kB / 372.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.321e-05/0.4048, allocations: 38.55 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.4049, allocations: 7.906 kB / 372.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.4053, allocations: 206.8 kB / 372.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.4054, allocations: 4 kB / 372.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.4054, allocations: 4 kB / 372.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.4057, allocations: 45.67 kB / 372.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4057, allocations: 0 / 372.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.4058, allocations: 3.953 kB / 372.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4058, allocations: 0 / 372.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.406, allocations: 27.92 kB / 372.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.4064, allocations: 197.6 kB / 372.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.4067, allocations: 54.61 kB / 372.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.4068, allocations: 0 / 372.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.4071, allocations: 63.39 kB / 372.8 MB, free: 6.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 3.156e-06/0.4072, allocations: 4 kB / 372.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006482/0.4078, allocations: 101.4 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.4079, allocations: 59.36 kB / 373 MB, free: 6.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.4085, allocations: 258.5 kB / 373.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.4085, allocations: 25.7 kB / 373.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.4087, allocations: 170.6 kB / 373.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.4088, allocations: 7.812 kB / 373.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.4088, allocations: 8 kB / 373.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.409, allocations: 318.8 kB / 373.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.4092, allocations: 23.98 kB / 373.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.4094, allocations: 45.69 kB / 373.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.4096, allocations: 61.56 kB / 373.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4097, allocations: 0 / 373.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005325/0.4102, allocations: 127.3 kB / 374 MB, free: 5.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/0.4103, allocations: 33.7 kB / 374.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4103, allocations: 4.031 kB / 374.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/0.4104, allocations: 7.984 kB / 374.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4106, allocations: 8 kB / 374.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4106, allocations: 3.953 kB / 374.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.4108, allocations: 16.16 kB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.4108, allocations: 4 kB / 374.1 MB, free: 5.602 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 (8): * Single equations (assignments): 7 * 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.0002175/0.411, allocations: 138.7 kB / 374.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.4111, allocations: 23.81 kB / 374.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.4112, allocations: 16.98 kB / 374.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.4112, allocations: 4 kB / 374.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4113, allocations: 0 / 374.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.4113, allocations: 3.953 kB / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.4116, allocations: 197.6 kB / 374.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4116, allocations: 0 / 374.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.4117, allocations: 7.938 kB / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4117, allocations: 0 / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4118, allocations: 0 / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4118, allocations: 0 / 374.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.4118, allocations: 4 kB / 374.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.4122, allocations: 116.9 kB / 374.6 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.4124, allocations: 89 kB / 374.7 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.4124, allocations: 8 kB / 374.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.4125, allocations: 0 / 374.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.4126, allocations: 7.984 kB / 374.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.4127, allocations: 0 / 374.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000357/0.413, allocations: 188.5 kB / 374.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.4131, allocations: 7.938 kB / 374.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000524/0.4136, allocations: 27.98 kB / 374.9 MB, free: 4.688 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002543/0.4162, allocations: 0.9442 MB / 375.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.4168, allocations: 135.3 kB / 376 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4168, allocations: 0 / 376 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.417, allocations: 16 kB / 376 MB, free: 3.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.4175, allocations: 31.97 kB / 376.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.419, allocations: 0.5395 MB / 376.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.4195, allocations: 0.7199 MB / 377.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.4196, allocations: 31.42 kB / 377.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4196, allocations: 0 / 377.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.466/2.886, allocations: 2.424 MB / 379.8 MB, free: 15.81 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time