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.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 234.9 MB / 250.4 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000605/0.0006052, allocations: 12 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3787, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002545/0.3813, allocations: 1.349 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3831, allocations: 0.7203 MB / 371.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.3832, allocations: 0 / 371.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.3835, allocations: 23.86 kB / 371.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.3837, allocations: 39.88 kB / 371.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.384, allocations: 59.83 kB / 371.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.3842, allocations: 71.83 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.3843, allocations: 8 kB / 371.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3844, allocations: 39.83 kB / 371.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3845, allocations: 31.92 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3846, allocations: 0 / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.3847, allocations: 31.86 kB / 371.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.3848, allocations: 27.91 kB / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.3848, allocations: 49.64 kB / 371.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3851, allocations: 104.8 kB / 371.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3851, allocations: 0 / 371.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3851, allocations: 0 / 371.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.3851, allocations: 0 / 371.8 MB, free: 8.145 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006213/0.3857, allocations: 470.1 kB / 372.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3858, allocations: 8.031 kB / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.3858, allocations: 34.55 kB / 372.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.3859, allocations: 15.81 kB / 372.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.3862, allocations: 206.8 kB / 372.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3862, allocations: 7.938 kB / 372.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3863, allocations: 0 / 372.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3865, allocations: 61.61 kB / 372.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.3865, allocations: 3.984 kB / 372.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3865, allocations: 3.953 kB / 372.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3865, allocations: 0 / 372.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3867, allocations: 23.98 kB / 372.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.3872, allocations: 312.8 kB / 373 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3874, allocations: 62.61 kB / 373 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3874, allocations: 0 / 373 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.3877, allocations: 71.34 kB / 373.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.3877, allocations: 0 / 373.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007741/0.3885, allocations: 185 kB / 373.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3885, allocations: 59.41 kB / 373.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.3889, allocations: 250.5 kB / 373.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3889, allocations: 29.7 kB / 373.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3891, allocations: 174.4 kB / 373.8 MB, free: 5.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.3891, allocations: 23.64 kB / 373.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.3891, allocations: 4 kB / 373.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3893, allocations: 310.8 kB / 374.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3894, allocations: 35.98 kB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.3895, allocations: 53.62 kB / 374.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.3897, allocations: 61.7 kB / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3897, allocations: 0 / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003768/0.3901, allocations: 151.2 kB / 374.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.3902, allocations: 45.62 kB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3902, allocations: 0 / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3902, allocations: 8.031 kB / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.3904, allocations: 12 kB / 374.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.3904, allocations: 0 / 374.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/0.3905, allocations: 7.984 kB / 374.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3905, allocations: 4 kB / 374.5 MB, free: 5.238 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 (11): * Single equations (assignments): 10 * 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.0001525/0.3907, allocations: 133.9 kB / 374.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3907, allocations: 27.64 kB / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.3908, allocations: 21.39 kB / 374.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3908, allocations: 4 kB / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3908, allocations: 0 / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3909, allocations: 3.984 kB / 374.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.3915, allocations: 403.3 kB / 375.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3915, allocations: 4 kB / 375.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.3916, allocations: 11.94 kB / 375.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3916, allocations: 0 / 375.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3916, allocations: 3.984 kB / 375.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3917, allocations: 8.031 kB / 375.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3917, allocations: 384 / 375.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.392, allocations: 204.2 kB / 375.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.3922, allocations: 104.9 kB / 375.4 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.3922, allocations: 4 kB / 375.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3923, allocations: 8 kB / 375.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.3924, allocations: 11.98 kB / 375.4 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3924, allocations: 0 / 375.4 MB, free: 4.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.3927, allocations: 192.4 kB / 375.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3927, allocations: 0 / 375.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.393, allocations: 35.98 kB / 375.6 MB, free: 3.98 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001839/0.3949, allocations: 1.084 MB / 376.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.3953, allocations: 151.3 kB / 376.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3953, allocations: 0 / 376.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3954, allocations: 31.94 kB / 376.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3958, allocations: 23.92 kB / 376.9 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3969, allocations: 0.5762 MB / 377.5 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3973, allocations: 0.7238 MB / 378.2 MB, free: 1.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.3974, allocations: 39.42 kB / 378.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3974, allocations: 0 / 378.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.53/2.928, allocations: 2.683 MB / 380.9 MB, free: 14.64 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_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),der(t_new.timeScaled),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