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.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.209/2.209, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004267, allocations: 12 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3285, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002545/0.3311, allocations: 1.353 MB / 370.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3328, allocations: 0.7202 MB / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.3329, allocations: 0 / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.3332, allocations: 27.84 kB / 371.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.3334, allocations: 35.89 kB / 371.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.3336, allocations: 55.81 kB / 371.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3338, allocations: 63.86 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.3339, allocations: 12 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3341, allocations: 39.83 kB / 371.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.3342, allocations: 23.86 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3342, allocations: 4 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3343, allocations: 35.91 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.3344, allocations: 11.98 kB / 371.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.3344, allocations: 45.58 kB / 371.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3347, allocations: 80.86 kB / 371.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.3347, allocations: 0 / 371.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3347, allocations: 4 kB / 371.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.3347, allocations: 4 kB / 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.000648/0.3354, allocations: 446.3 kB / 372.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3354, allocations: 8.031 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.3355, allocations: 34.5 kB / 372.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.3355, allocations: 19.8 kB / 372.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3358, allocations: 202.2 kB / 372.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3359, allocations: 8 kB / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3359, allocations: 4 kB / 372.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3361, allocations: 61.61 kB / 372.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3362, allocations: 0 / 372.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3362, allocations: 3.953 kB / 372.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3362, allocations: 3.984 kB / 372.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3363, allocations: 23.92 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.3368, allocations: 296.9 kB / 372.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.337, allocations: 62.67 kB / 372.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3371, allocations: 0 / 372.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.3373, allocations: 75.28 kB / 373 MB, free: 6.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.3373, allocations: 0 / 373 MB, free: 6.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.00076/0.3381, allocations: 177.2 kB / 373.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3382, allocations: 59.41 kB / 373.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.3384, allocations: 186 kB / 373.4 MB, free: 6.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.3385, allocations: 29.7 kB / 373.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3386, allocations: 158.6 kB / 373.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.3387, allocations: 19.72 kB / 373.6 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.3387, allocations: 4 kB / 373.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3388, allocations: 318.8 kB / 373.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.339, allocations: 31.98 kB / 374 MB, free: 5.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3391, allocations: 46.41 kB / 374 MB, free: 5.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3393, allocations: 69.69 kB / 374.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3393, allocations: 0 / 374.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003825/0.3397, allocations: 159.2 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.3398, allocations: 33.7 kB / 374.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3398, allocations: 3.984 kB / 374.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3398, allocations: 0 / 374.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.34, allocations: 16 kB / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.34, allocations: 12.19 kB / 374.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.3401, allocations: 7.938 kB / 374.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3401, allocations: 7.938 kB / 374.3 MB, free: 5.383 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.0001368/0.3403, allocations: 129.8 kB / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.3403, allocations: 11.86 kB / 374.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.668e-05/0.3404, allocations: 20.7 kB / 374.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3404, allocations: 3.938 kB / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3404, allocations: 0 / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3404, allocations: 0 / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.3411, allocations: 399.6 kB / 374.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3411, allocations: 0 / 374.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.3412, allocations: 16 kB / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3412, allocations: 0 / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3412, allocations: 4 kB / 374.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3412, allocations: 0 / 374.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3412, allocations: 0 / 374.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.3416, allocations: 204.3 kB / 375.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.3417, allocations: 100.9 kB / 375.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.3417, allocations: 4 kB / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3419, allocations: 0 / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3419, allocations: 11.97 kB / 375.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.3419, allocations: 8 kB / 375.2 MB, free: 4.383 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3421, allocations: 135.2 kB / 375.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3421, allocations: 0 / 375.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.3425, allocations: 31.98 kB / 375.4 MB, free: 4.219 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.001882/0.3444, allocations: 1.092 MB / 376.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.3448, allocations: 151.3 kB / 376.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3448, allocations: 0 / 376.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3449, allocations: 31.98 kB / 376.6 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3453, allocations: 15.98 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.0009709/0.3463, allocations: 495 kB / 377.1 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.3467, allocations: 0.716 MB / 377.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.3468, allocations: 31.42 kB / 377.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3468, allocations: 0 / 377.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.565/2.912, allocations: 2.34 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.Test34_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_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