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.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 234.9 MB / 250.4 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000597/0.0005973, allocations: 12 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3675, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002465/0.37, allocations: 1.353 MB / 370.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3717, allocations: 0.7163 MB / 371.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.3718, allocations: 4 kB / 371.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.3721, allocations: 23.86 kB / 371.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.3723, allocations: 35.88 kB / 371.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.3726, allocations: 51.83 kB / 371.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3728, allocations: 71.84 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3729, allocations: 8 kB / 371.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.373, allocations: 39.83 kB / 371.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.3731, allocations: 23.92 kB / 371.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.3732, allocations: 4 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3733, allocations: 31.92 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.3734, allocations: 19.97 kB / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.3734, allocations: 45.56 kB / 371.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.3736, allocations: 76.88 kB / 371.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3736, allocations: 0 / 371.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3737, allocations: 0 / 371.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3737, allocations: 0 / 371.8 MB, free: 8.176 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.0006904/0.3744, allocations: 449.3 kB / 372.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3744, allocations: 12.03 kB / 372.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.3745, allocations: 38.56 kB / 372.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.3746, allocations: 23.67 kB / 372.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.3749, allocations: 203.3 kB / 372.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.375, allocations: 0 / 372.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.375, allocations: 8 kB / 372.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.3753, allocations: 53.61 kB / 372.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3753, allocations: 0 / 372.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3753, allocations: 7.953 kB / 372.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3753, allocations: 4 kB / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.3755, allocations: 15.98 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.3762, allocations: 304.8 kB / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.3766, allocations: 54.67 kB / 372.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3766, allocations: 4 kB / 372.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.377, allocations: 79.28 kB / 373 MB, free: 6.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.075e-06/0.377, allocations: 0 / 373 MB, free: 6.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.001048/0.378, allocations: 173.3 kB / 373.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.3781, allocations: 55.34 kB / 373.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3785, allocations: 194 kB / 373.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3785, allocations: 25.7 kB / 373.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3787, allocations: 166.5 kB / 373.6 MB, free: 6.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.3787, allocations: 23.7 kB / 373.6 MB, free: 6.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.3788, allocations: 4 kB / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3789, allocations: 314.8 kB / 373.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.379, allocations: 27.98 kB / 374 MB, free: 5.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.3792, allocations: 51.81 kB / 374 MB, free: 5.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3794, allocations: 65.69 kB / 374.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3794, allocations: 0 / 374.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003976/0.3798, allocations: 167.2 kB / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.3798, allocations: 37.69 kB / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3799, allocations: 0 / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3799, allocations: 4 kB / 374.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.38, allocations: 12 kB / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.38, allocations: 0 / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.3801, allocations: 8 kB / 374.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.3802, allocations: 7.984 kB / 374.3 MB, free: 5.379 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.0001345/0.3803, allocations: 129.7 kB / 374.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3804, allocations: 15.86 kB / 374.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.3804, allocations: 16.7 kB / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3804, allocations: 3.938 kB / 374.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3805, allocations: 0 / 374.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3805, allocations: 4 kB / 374.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.3811, allocations: 395.3 kB / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3811, allocations: 3.938 kB / 374.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.3812, allocations: 8 kB / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3812, allocations: 8.031 kB / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3812, allocations: 0 / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3813, allocations: 0 / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3813, allocations: 4 kB / 374.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.3816, allocations: 204.2 kB / 375.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.3817, allocations: 96.95 kB / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.3818, allocations: 4 kB / 375.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3819, allocations: 8.375 kB / 375.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.3819, allocations: 11.97 kB / 375.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.382, allocations: 8 kB / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.3821, allocations: 131.2 kB / 375.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3822, allocations: 0 / 375.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.3825, allocations: 31.98 kB / 375.4 MB, free: 4.211 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.001777/0.3843, allocations: 1.073 MB / 376.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.3847, allocations: 159.3 kB / 376.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3847, allocations: 0 / 376.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3849, allocations: 24.06 kB / 376.6 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3852, allocations: 31.5 kB / 376.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.3862, allocations: 499 kB / 377.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3865, allocations: 0.7043 MB / 377.8 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.3866, allocations: 35.42 kB / 377.9 MB, free: 1.672 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3866, allocations: 0 / 377.9 MB, free: 1.672 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.47/2.857, allocations: 2.35 MB / 380.2 MB, free: 15.32 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_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