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.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.081/2.081, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004521, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.374, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002244/0.3764, allocations: 1.263 MB / 332.5 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.3773, allocations: 399.5 kB / 332.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.3774, allocations: 0 / 332.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.3777, allocations: 24.22 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.3779, allocations: 42.31 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.3781, allocations: 57.39 kB / 333.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3783, allocations: 40.27 kB / 333.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.3783, allocations: 9.062 kB / 333.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.3784, allocations: 33.31 kB / 333.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.3785, allocations: 25.41 kB / 333.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3785, allocations: 1.25 kB / 333.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.3786, allocations: 25.33 kB / 333.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.3787, allocations: 23.83 kB / 333.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.3788, allocations: 41.08 kB / 333.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.379, allocations: 77.02 kB / 333.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.379, allocations: 0 / 333.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.379, allocations: 1.188 kB / 333.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.379, allocations: 0 / 333.3 MB, free: 5.418 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.0004625/0.3795, allocations: 431.4 kB / 333.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3795, allocations: 10.16 kB / 333.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.3796, allocations: 34.56 kB / 333.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.3796, allocations: 10.17 kB / 333.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3798, allocations: 200.2 kB / 334 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3799, allocations: 2 kB / 334 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3799, allocations: 2.969 kB / 334 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.38, allocations: 42.61 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.38, allocations: 0 / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.38, allocations: 0 / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3801, allocations: 1.625 kB / 334 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.3801, allocations: 6.547 kB / 334.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3803, allocations: 186.6 kB / 334.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.862e-05/0.3804, allocations: 30.92 kB / 334.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3804, allocations: 2 kB / 334.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.3806, allocations: 61.39 kB / 334.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.299e-05/0.3806, allocations: 0 / 334.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002357/0.3809, allocations: 73.81 kB / 334.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.3809, allocations: 53.02 kB / 334.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.3813, allocations: 241.1 kB / 334.7 MB, free: 4.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3813, allocations: 26.98 kB / 334.7 MB, free: 4.102 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.3814, allocations: 170.4 kB / 334.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3814, allocations: 8.875 kB / 334.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.3814, allocations: 5.156 kB / 334.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.3815, allocations: 317.4 kB / 335.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/0.3816, allocations: 16.61 kB / 335.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.3816, allocations: 13.02 kB / 335.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.878e-05/0.3817, allocations: 44.31 kB / 335.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3817, allocations: 1.344 kB / 335.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001793/0.3819, allocations: 97.17 kB / 335.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.3819, allocations: 33.52 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.382, allocations: 1.531 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.382, allocations: 0.6562 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.3821, allocations: 5.25 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3821, allocations: 5.469 kB / 335.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.3822, allocations: 19.09 kB / 335.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3822, allocations: 3.156 kB / 335.4 MB, free: 3.43 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.0001123/0.3823, allocations: 131.6 kB / 335.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.3823, allocations: 13.11 kB / 335.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3824, allocations: 17.56 kB / 335.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3824, allocations: 3.938 kB / 335.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3824, allocations: 1.094 kB / 335.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3824, allocations: 0.8906 kB / 335.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3826, allocations: 187.9 kB / 335.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3826, allocations: 4 kB / 335.8 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.3826, allocations: 2.469 kB / 335.8 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3826, allocations: 9.469 kB / 335.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3827, allocations: 0 / 335.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3827, allocations: 1.344 kB / 335.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3827, allocations: 0 / 335.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3828, allocations: 87.53 kB / 335.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.3829, allocations: 85.64 kB / 336 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3829, allocations: 8.859 kB / 336 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.383, allocations: 10.2 kB / 336 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.383, allocations: 4.438 kB / 336 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3831, allocations: 1.312 kB / 336 MB, free: 2.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002104/0.3833, allocations: 189.3 kB / 336.2 MB, free: 2.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3833, allocations: 1.094 kB / 336.2 MB, free: 2.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.3836, allocations: 20.17 kB / 336.2 MB, free: 2.77 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.001142/0.3847, allocations: 0.8555 MB / 337.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3849, allocations: 94.12 kB / 337.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.385, allocations: 0 / 337.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.385, allocations: 9.281 kB / 337.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3853, allocations: 18.11 kB / 337.2 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.3861, allocations: 0.5072 MB / 337.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.3863, allocations: 0.7145 MB / 338.4 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.3864, allocations: 31.44 kB / 338.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3864, allocations: 0 / 338.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.684/3.071, allocations: 2.189 MB / 340.6 MB, free: 15.95 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_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