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.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006321/0.0006322, allocations: 15.98 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4092, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002216/0.4115, allocations: 1.266 MB / 332.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.4125, allocations: 399.9 kB / 332.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.4126, allocations: 0 / 332.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.4129, allocations: 23.83 kB / 333 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.4131, allocations: 46.45 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.4133, allocations: 52.8 kB / 333.1 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.4134, allocations: 45.34 kB / 333.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.4135, allocations: 8.703 kB / 333.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.4136, allocations: 29.08 kB / 333.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.4137, allocations: 28.86 kB / 333.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.4137, allocations: 2.531 kB / 333.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.4138, allocations: 20.17 kB / 333.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.4139, allocations: 23.5 kB / 333.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.4139, allocations: 39.84 kB / 333.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.4141, allocations: 83.53 kB / 333.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.4142, allocations: 0 / 333.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4142, allocations: 1.219 kB / 333.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4142, allocations: 0 / 333.3 MB, free: 5.422 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004705/0.4147, allocations: 424.6 kB / 333.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4147, allocations: 8.688 kB / 333.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.4148, allocations: 35.31 kB / 333.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.4148, allocations: 10.22 kB / 333.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.415, allocations: 205 kB / 334 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4151, allocations: 1.625 kB / 334 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.4151, allocations: 1.312 kB / 334 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.4152, allocations: 39.19 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4152, allocations: 0 / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4152, allocations: 6.234 kB / 334 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4153, allocations: 3.938 kB / 334.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.4153, allocations: 6.672 kB / 334.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.4155, allocations: 186 kB / 334.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.924e-05/0.4156, allocations: 31.73 kB / 334.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.4156, allocations: 0.75 kB / 334.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.4158, allocations: 63.14 kB / 334.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.4158, allocations: 3.938 kB / 334.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002314/0.4161, allocations: 65.44 kB / 334.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4161, allocations: 56.44 kB / 334.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.4164, allocations: 240.8 kB / 334.7 MB, free: 4.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4165, allocations: 27.11 kB / 334.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.4165, allocations: 170.3 kB / 334.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.4166, allocations: 9.828 kB / 334.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.4166, allocations: 5.125 kB / 334.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.4166, allocations: 317.4 kB / 335.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.936e-05/0.4167, allocations: 11.83 kB / 335.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.4168, allocations: 13.5 kB / 335.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.713e-05/0.4168, allocations: 49.28 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4168, allocations: 0.6094 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001744/0.417, allocations: 96.5 kB / 335.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.4171, allocations: 34.23 kB / 335.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4171, allocations: 0 / 335.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4171, allocations: 1.406 kB / 335.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.4172, allocations: 5.172 kB / 335.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4172, allocations: 1.219 kB / 335.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.4173, allocations: 7.406 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.4173, allocations: 6.219 kB / 335.4 MB, free: 3.445 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 (5): * Single equations (assignments): 4 * 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.0001084/0.4174, allocations: 140.9 kB / 335.6 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.4175, allocations: 13.27 kB / 335.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.4175, allocations: 17.33 kB / 335.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4175, allocations: 0 / 335.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4175, allocations: 4.656 kB / 335.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4176, allocations: 0.6562 kB / 335.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.4177, allocations: 183.4 kB / 335.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4177, allocations: 1.562 kB / 335.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.4177, allocations: 2.312 kB / 335.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4178, allocations: 7.953 kB / 335.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4178, allocations: 2.062 kB / 335.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4178, allocations: 0 / 335.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4178, allocations: 1.094 kB / 335.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.4179, allocations: 91.25 kB / 335.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.418, allocations: 85.36 kB / 336 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.418, allocations: 13.58 kB / 336 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.725e-05/0.4181, allocations: 5.875 kB / 336 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.4181, allocations: 2.578 kB / 336 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4182, allocations: 2.719 kB / 336 MB, free: 2.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.4184, allocations: 189.2 kB / 336.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4184, allocations: 0 / 336.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000279/0.4187, allocations: 17.36 kB / 336.2 MB, free: 2.785 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 (3): * Single equations (assignments): 2 * 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.001104/0.4198, allocations: 0.8627 MB / 337.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.42, allocations: 94.59 kB / 337.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.42, allocations: 0 / 337.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.4201, allocations: 8.266 kB / 337.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4204, allocations: 19.02 kB / 337.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.4212, allocations: 0.5057 MB / 337.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.4214, allocations: 0.7112 MB / 338.4 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.4214, allocations: 32.81 kB / 338.4 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4215, allocations: 4 kB / 338.4 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.744/3.165, allocations: 2.174 MB / 340.6 MB, free: 15.96 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_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.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.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.verboseRead,t_new.y[1],time