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.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.055/2.055, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004489, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3657, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002203/0.368, allocations: 1.253 MB / 332.5 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.3689, allocations: 400.4 kB / 332.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.369, allocations: 0 / 332.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.3694, allocations: 81.94 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.3696, allocations: 47.12 kB / 333.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.3699, allocations: 53.11 kB / 333.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.37, allocations: 58.44 kB / 333.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.3701, allocations: 7.234 kB / 333.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3702, allocations: 28.89 kB / 333.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3703, allocations: 40.34 kB / 333.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3704, allocations: 1.5 kB / 333.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3705, allocations: 29.47 kB / 333.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.3705, allocations: 15.33 kB / 333.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.3706, allocations: 37.17 kB / 333.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.3708, allocations: 76.22 kB / 333.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.3708, allocations: 0 / 333.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3708, allocations: 0.6562 kB / 333.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3708, allocations: 0 / 333.4 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.0004611/0.3713, allocations: 408.4 kB / 333.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3714, allocations: 10.55 kB / 333.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.3714, allocations: 35.64 kB / 333.8 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.3715, allocations: 8.5 kB / 333.8 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3717, allocations: 202.7 kB / 334 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3717, allocations: 5.312 kB / 334 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3717, allocations: 2.281 kB / 334.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.3718, allocations: 35.81 kB / 334.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3719, allocations: 0 / 334.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3719, allocations: 0.7969 kB / 334.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3719, allocations: 1.469 kB / 334.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.69e-05/0.372, allocations: 9.359 kB / 334.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.3722, allocations: 182.2 kB / 334.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.59e-05/0.3722, allocations: 31.48 kB / 334.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3723, allocations: 4.969 kB / 334.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.3725, allocations: 57.55 kB / 334.4 MB, free: 4.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.3725, allocations: 1.125 kB / 334.4 MB, free: 4.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002315/0.3727, allocations: 71.84 kB / 334.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.3727, allocations: 53.53 kB / 334.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.373, allocations: 193.3 kB / 334.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.373, allocations: 31.67 kB / 334.7 MB, free: 4.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.3731, allocations: 161.9 kB / 334.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.3731, allocations: 10.03 kB / 334.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.3731, allocations: 0 / 334.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.3732, allocations: 317.3 kB / 335.2 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.3733, allocations: 13.36 kB / 335.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.3733, allocations: 17.22 kB / 335.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.3734, allocations: 43.86 kB / 335.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3734, allocations: 1.344 kB / 335.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002161/0.3736, allocations: 101.8 kB / 335.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.3737, allocations: 33.48 kB / 335.4 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3737, allocations: 80 / 335.4 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3737, allocations: 5.75 kB / 335.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.3738, allocations: 4.766 kB / 335.4 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3738, allocations: 5.203 kB / 335.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.3739, allocations: 11.16 kB / 335.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3739, allocations: 7.047 kB / 335.4 MB, free: 3.469 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 9.599e-05/0.374, allocations: 122.2 kB / 335.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.3741, allocations: 13.08 kB / 335.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.3741, allocations: 13.97 kB / 335.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3741, allocations: 1.375 kB / 335.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3741, allocations: 0 / 335.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3742, allocations: 0.7031 kB / 335.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.3743, allocations: 177.8 kB / 335.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3743, allocations: 0 / 335.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.3743, allocations: 7.234 kB / 335.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3744, allocations: 3.953 kB / 335.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3744, allocations: 1.797 kB / 335.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3744, allocations: 1.953 kB / 335.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3744, allocations: 0 / 335.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.3745, allocations: 89.94 kB / 335.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.3746, allocations: 85.03 kB / 335.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3746, allocations: 6 kB / 335.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.3747, allocations: 5.688 kB / 335.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.3747, allocations: 2.422 kB / 335.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3748, allocations: 2.312 kB / 336 MB, free: 2.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.3749, allocations: 152.9 kB / 336.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3749, allocations: 0 / 336.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.3752, allocations: 21.41 kB / 336.1 MB, free: 2.832 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.001108/0.3764, allocations: 0.8564 MB / 337 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.3766, allocations: 90.97 kB / 337.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3766, allocations: 0 / 337.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.3767, allocations: 9.281 kB / 337.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3769, allocations: 17.73 kB / 337.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007333/0.3777, allocations: 462.6 kB / 337.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.3779, allocations: 0.7007 MB / 338.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.3779, allocations: 25.62 kB / 338.3 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3779, allocations: 5.469 kB / 338.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.574/2.952, allocations: 1.957 MB / 340.2 MB, free: 152 kB / 266.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_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.verboseRead,t_new.y[1],time