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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006084/0.0006084, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4149, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002325/0.4173, allocations: 1.306 MB / 332.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.4183, allocations: 422.5 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.4184, allocations: 4 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.4188, allocations: 89.42 kB / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.419, allocations: 59.38 kB / 333.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.4193, allocations: 64.28 kB / 333.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.4195, allocations: 78.88 kB / 333.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4196, allocations: 14.67 kB / 333.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.4198, allocations: 40.41 kB / 333.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.4199, allocations: 54.22 kB / 333.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.4199, allocations: 1.375 kB / 333.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.4201, allocations: 33.53 kB / 333.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.4201, allocations: 24.11 kB / 333.5 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.4202, allocations: 39.42 kB / 333.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.4204, allocations: 103 kB / 333.6 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.4205, allocations: 4 kB / 333.6 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4205, allocations: 1.406 kB / 333.6 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.4205, allocations: 0 / 333.6 MB, free: 5.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005106/0.421, allocations: 434.5 kB / 334 MB, free: 4.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4211, allocations: 10.81 kB / 334 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.4211, allocations: 31.08 kB / 334.1 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.4211, allocations: 10.59 kB / 334.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.4214, allocations: 214.3 kB / 334.3 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4214, allocations: 6.266 kB / 334.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.4215, allocations: 7.562 kB / 334.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.4216, allocations: 56 kB / 334.4 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4217, allocations: 3.906 kB / 334.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4217, allocations: 4 kB / 334.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4217, allocations: 1.062 kB / 334.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.4218, allocations: 23.41 kB / 334.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.4222, allocations: 310.2 kB / 334.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.4224, allocations: 53.92 kB / 334.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.4224, allocations: 2.422 kB / 334.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.4226, allocations: 62.97 kB / 334.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.205e-06/0.4226, allocations: 0 / 334.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.000603/0.4232, allocations: 165.2 kB / 335 MB, free: 4.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.4233, allocations: 53.27 kB / 335 MB, free: 4.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.4236, allocations: 240.6 kB / 335.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4236, allocations: 31.83 kB / 335.3 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.4237, allocations: 166.3 kB / 335.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.4237, allocations: 26.66 kB / 335.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.4237, allocations: 1.719 kB / 335.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.4238, allocations: 321.3 kB / 335.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.4239, allocations: 24.58 kB / 335.8 MB, free: 3.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.424, allocations: 29.98 kB / 335.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.4241, allocations: 60.59 kB / 335.9 MB, free: 3.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4241, allocations: 4 kB / 335.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000277/0.4244, allocations: 135.1 kB / 336 MB, free: 3.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.4245, allocations: 33.73 kB / 336.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4245, allocations: 0 / 336.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4245, allocations: 2.125 kB / 336.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4246, allocations: 18.5 kB / 336.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4246, allocations: 7.938 kB / 336.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.4247, allocations: 7.703 kB / 336.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.4247, allocations: 4.453 kB / 336.1 MB, free: 3.164 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 (10): * Single equations (assignments): 9 * 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.0001222/0.4249, allocations: 151.7 kB / 336.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.4249, allocations: 14.28 kB / 336.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.425, allocations: 19.89 kB / 336.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.425, allocations: 1.125 kB / 336.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.425, allocations: 0 / 336.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.425, allocations: 0.7031 kB / 336.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.4256, allocations: 394.1 kB / 336.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4256, allocations: 1.219 kB / 336.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.4257, allocations: 18.88 kB / 336.7 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4257, allocations: 0 / 336.7 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4257, allocations: 2.984 kB / 336.7 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4257, allocations: 1.125 kB / 336.7 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4257, allocations: 1.125 kB / 336.7 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.426, allocations: 200.5 kB / 336.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.426, allocations: 88.97 kB / 337 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.4261, allocations: 3.031 kB / 337 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.4262, allocations: 5.75 kB / 337 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.4262, allocations: 10.19 kB / 337 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.4263, allocations: 4.141 kB / 337 MB, free: 2.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.4265, allocations: 176.4 kB / 337.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4265, allocations: 0 / 337.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003718/0.4269, allocations: 31.61 kB / 337.2 MB, free: 2.273 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 (8): * Single equations (assignments): 7 * 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.001322/0.4282, allocations: 0.9934 MB / 338.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.4285, allocations: 124.6 kB / 338.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4285, allocations: 0 / 338.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.4286, allocations: 27.95 kB / 338.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4289, allocations: 26.28 kB / 338.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.4299, allocations: 0.5306 MB / 338.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.4301, allocations: 0.7171 MB / 339.6 MB, free: 208 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.4302, allocations: 35.36 kB / 339.7 MB, free: 184 kB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4303, allocations: 1.781 kB / 339.7 MB, free: 184 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.758/3.188, allocations: 2.604 MB / 342.3 MB, free: 14.97 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.p_offset[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.verboseRead,t_new.y[1],t_new.y[2],time