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.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004292, allocations: 12 kB / 314.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3692, allocations: 54.87 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002527/0.3718, allocations: 1.345 MB / 370.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3734, allocations: 0.7163 MB / 371.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.3735, allocations: 4 kB / 371.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.3738, allocations: 27.83 kB / 371.4 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.374, allocations: 35.89 kB / 371.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.3742, allocations: 51.83 kB / 371.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3744, allocations: 71.84 kB / 371.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.3745, allocations: 7.984 kB / 371.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.3747, allocations: 35.86 kB / 371.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.3748, allocations: 31.84 kB / 371.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3748, allocations: 0 / 371.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3749, allocations: 31.92 kB / 371.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.375, allocations: 19.98 kB / 371.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.375, allocations: 37.64 kB / 371.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3752, allocations: 84.84 kB / 371.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3753, allocations: 0 / 371.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3753, allocations: 0 / 371.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3753, allocations: 0 / 371.8 MB, free: 8.309 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.0006031/0.3759, allocations: 446.3 kB / 372.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.376, allocations: 12.03 kB / 372.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.376, allocations: 38.5 kB / 372.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.3761, allocations: 11.81 kB / 372.3 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3764, allocations: 215.3 kB / 372.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3764, allocations: 3.938 kB / 372.5 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3764, allocations: 8 kB / 372.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3766, allocations: 53.67 kB / 372.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3767, allocations: 4 kB / 372.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3767, allocations: 3.953 kB / 372.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3767, allocations: 4 kB / 372.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3768, allocations: 19.92 kB / 372.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.3773, allocations: 300.9 kB / 372.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.3775, allocations: 50.69 kB / 372.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.3776, allocations: 4 kB / 372.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.3778, allocations: 75.27 kB / 373 MB, free: 6.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.3779, allocations: 4 kB / 373 MB, free: 6.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007703/0.3786, allocations: 173.2 kB / 373.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3787, allocations: 51.41 kB / 373.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.379, allocations: 194 kB / 373.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.379, allocations: 25.7 kB / 373.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3791, allocations: 162.6 kB / 373.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.3792, allocations: 27.69 kB / 373.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.3792, allocations: 0 / 373.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3793, allocations: 322.8 kB / 373.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3794, allocations: 24 kB / 374 MB, free: 5.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.3796, allocations: 54.25 kB / 374 MB, free: 5.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3798, allocations: 65.7 kB / 374.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3798, allocations: 0 / 374.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003898/0.3802, allocations: 155.2 kB / 374.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.3803, allocations: 37.69 kB / 374.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3803, allocations: 4.031 kB / 374.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3803, allocations: 4 kB / 374.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3805, allocations: 15.98 kB / 374.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3805, allocations: 0 / 374.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.3806, allocations: 8 kB / 374.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3806, allocations: 11.95 kB / 374.3 MB, free: 5.512 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.0001442/0.3808, allocations: 131.9 kB / 374.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3808, allocations: 11.86 kB / 374.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.3809, allocations: 24.69 kB / 374.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3809, allocations: 0 / 374.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3809, allocations: 0 / 374.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3809, allocations: 4 kB / 374.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.3816, allocations: 395.2 kB / 374.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3816, allocations: 0 / 374.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.3817, allocations: 12.45 kB / 374.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3817, allocations: 7.938 kB / 374.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3817, allocations: 8.031 kB / 374.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3818, allocations: 4 kB / 374.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.3818, allocations: 4 kB / 374.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.3821, allocations: 196.2 kB / 375.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.3822, allocations: 96.95 kB / 375.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3823, allocations: 4 kB / 375.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3824, allocations: 8 kB / 375.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3825, allocations: 7.984 kB / 375.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.3825, allocations: 4 kB / 375.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.3827, allocations: 135.2 kB / 375.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3827, allocations: 0 / 375.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.3831, allocations: 28 kB / 375.4 MB, free: 4.348 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.001902/0.385, allocations: 1.082 MB / 376.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.3854, allocations: 155.3 kB / 376.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3854, allocations: 0 / 376.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3855, allocations: 27.97 kB / 376.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3859, allocations: 27.69 kB / 376.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009678/0.3869, allocations: 499.1 kB / 377.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3873, allocations: 0.7082 MB / 377.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.764e-05/0.3874, allocations: 31.44 kB / 377.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3874, allocations: 3.938 kB / 377.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.518/2.905, allocations: 2.342 MB / 380.2 MB, free: 15.45 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time