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.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 234.9 MB / 250.4 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 12 kB / 314.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3829, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002605/0.3855, allocations: 1.345 MB / 370.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3873, allocations: 0.7241 MB / 371.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.3874, allocations: 0 / 371.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.3877, allocations: 31.83 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.3879, allocations: 31.89 kB / 371.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3882, allocations: 55.83 kB / 371.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3883, allocations: 63.91 kB / 371.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.3885, allocations: 15.94 kB / 371.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.696e-05/0.3886, allocations: 31.91 kB / 371.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.3887, allocations: 31.84 kB / 371.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3887, allocations: 4 kB / 371.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3888, allocations: 23.98 kB / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.3889, allocations: 15.92 kB / 371.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.389, allocations: 45.56 kB / 371.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3892, allocations: 80.86 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3892, allocations: 4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3892, allocations: 4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.3892, allocations: 0 / 371.8 MB, free: 10.26 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.0005802/0.3898, allocations: 446.3 kB / 372.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3899, allocations: 8.031 kB / 372.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.3899, allocations: 30.56 kB / 372.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.39, allocations: 7.906 kB / 372.3 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3902, allocations: 207.4 kB / 372.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3903, allocations: 0 / 372.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.3903, allocations: 11.94 kB / 372.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3905, allocations: 57.61 kB / 372.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3906, allocations: 0 / 372.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3906, allocations: 7.953 kB / 372.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3906, allocations: 0 / 372.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3907, allocations: 15.98 kB / 372.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.3912, allocations: 304.8 kB / 372.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.3914, allocations: 66.61 kB / 372.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3915, allocations: 4 kB / 372.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.3917, allocations: 71.34 kB / 373 MB, free: 8.859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.3918, allocations: 0 / 373 MB, free: 8.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007759/0.3925, allocations: 177.3 kB / 373.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.3926, allocations: 55.41 kB / 373.2 MB, free: 8.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.3928, allocations: 173.7 kB / 373.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3929, allocations: 29.7 kB / 373.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.393, allocations: 158.6 kB / 373.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.393, allocations: 27.64 kB / 373.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.393, allocations: 4 kB / 373.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3932, allocations: 310.8 kB / 373.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3933, allocations: 35.92 kB / 373.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3935, allocations: 53.69 kB / 374 MB, free: 7.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3936, allocations: 61.7 kB / 374 MB, free: 7.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3937, allocations: 0 / 374 MB, free: 7.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004034/0.3941, allocations: 155.3 kB / 374.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.3941, allocations: 41.69 kB / 374.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3941, allocations: 0 / 374.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3942, allocations: 0 / 374.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.3943, allocations: 19.98 kB / 374.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3944, allocations: 4.031 kB / 374.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.3945, allocations: 4 kB / 374.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3945, allocations: 4 kB / 374.3 MB, free: 7.5 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.0001455/0.3946, allocations: 125.8 kB / 374.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.3947, allocations: 23.75 kB / 374.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.3948, allocations: 12.72 kB / 374.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3948, allocations: 3.938 kB / 374.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3948, allocations: 0 / 374.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3948, allocations: 4 kB / 374.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.3954, allocations: 391.3 kB / 374.8 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3955, allocations: 0 / 374.8 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.3955, allocations: 8 kB / 374.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3955, allocations: 96 / 374.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3956, allocations: 7.938 kB / 374.8 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.3956, allocations: 7.984 kB / 374.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3956, allocations: 0 / 374.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.3959, allocations: 204.3 kB / 375 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.3961, allocations: 96.95 kB / 375.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.3961, allocations: 3.938 kB / 375.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3962, allocations: 4.375 kB / 375.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.3963, allocations: 11.97 kB / 375.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3963, allocations: 8 kB / 375.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3965, allocations: 127.2 kB / 375.3 MB, free: 6.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3965, allocations: 0 / 375.3 MB, free: 6.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003834/0.3969, allocations: 35.89 kB / 375.3 MB, free: 6.34 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.001823/0.3987, allocations: 1.084 MB / 376.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.3991, allocations: 143.4 kB / 376.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3992, allocations: 0 / 376.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3993, allocations: 35.92 kB / 376.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3996, allocations: 15.98 kB / 376.6 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/0.4005, allocations: 483.6 kB / 377.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4009, allocations: 0.7043 MB / 377.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.401, allocations: 35.36 kB / 377.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.401, allocations: 0 / 377.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.504/2.905, allocations: 2.299 MB / 380.1 MB, free: 1.523 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time