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.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004222, allocations: 16 kB / 314.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3314, allocations: 54.88 MB / 369.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002343/0.3338, allocations: 1.318 MB / 370.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3354, allocations: 0.6969 MB / 371.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.3355, allocations: 0 / 371.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.3358, allocations: 19.91 kB / 371.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.336, allocations: 55.8 kB / 371.4 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.3362, allocations: 47.83 kB / 371.4 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.3364, allocations: 55.88 kB / 371.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.3364, allocations: 11.84 kB / 371.5 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.906e-05/0.3366, allocations: 35.91 kB / 371.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.3367, allocations: 35.84 kB / 371.6 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3367, allocations: 0 / 371.6 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.3368, allocations: 23.98 kB / 371.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3369, allocations: 23.91 kB / 371.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.3369, allocations: 45.64 kB / 371.7 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3371, allocations: 79.83 kB / 371.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3371, allocations: 0 / 371.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3372, allocations: 3.938 kB / 371.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3372, allocations: 0 / 371.7 MB, free: 8.348 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005831/0.3378, allocations: 479 kB / 372.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3378, allocations: 11.97 kB / 372.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3379, allocations: 34.56 kB / 372.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.3379, allocations: 15.91 kB / 372.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.3382, allocations: 202.8 kB / 372.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3382, allocations: 0 / 372.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.3382, allocations: 7.984 kB / 372.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3384, allocations: 53.67 kB / 372.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3385, allocations: 0 / 372.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3385, allocations: 3.953 kB / 372.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3385, allocations: 0 / 372.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.569e-05/0.3386, allocations: 15.94 kB / 372.5 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.3389, allocations: 205.6 kB / 372.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3391, allocations: 46.62 kB / 372.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3391, allocations: 0 / 372.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.3394, allocations: 67.39 kB / 372.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.724e-06/0.3394, allocations: 0 / 372.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003927/0.3398, allocations: 109.4 kB / 373 MB, free: 6.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3399, allocations: 55.36 kB / 373 MB, free: 6.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.3402, allocations: 254.5 kB / 373.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3402, allocations: 29.64 kB / 373.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.3404, allocations: 174.5 kB / 373.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.3404, allocations: 15.81 kB / 373.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.3404, allocations: 0 / 373.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3405, allocations: 318.8 kB / 373.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3407, allocations: 23.98 kB / 373.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3408, allocations: 41.7 kB / 373.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3409, allocations: 57.64 kB / 373.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3409, allocations: 0 / 373.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003246/0.3413, allocations: 131.2 kB / 374 MB, free: 5.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.3413, allocations: 41.69 kB / 374.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3414, allocations: 320 / 374.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3414, allocations: 4.031 kB / 374.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3415, allocations: 8 kB / 374.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.3415, allocations: 11.95 kB / 374.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.707e-05/0.3416, allocations: 11.84 kB / 374.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3417, allocations: 7.984 kB / 374.1 MB, free: 5.695 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 (8): * Single equations (assignments): 7 * 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.0001455/0.3418, allocations: 137.8 kB / 374.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3418, allocations: 11.81 kB / 374.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.3419, allocations: 17 kB / 374.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3419, allocations: 0 / 374.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3419, allocations: 4 kB / 374.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.342, allocations: 3.953 kB / 374.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.3422, allocations: 189.6 kB / 374.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3422, allocations: 0 / 374.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.3422, allocations: 7.938 kB / 374.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3422, allocations: 0 / 374.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3422, allocations: 4 kB / 374.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3423, allocations: 3.984 kB / 374.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3423, allocations: 0 / 374.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3425, allocations: 112.9 kB / 374.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.3426, allocations: 97 kB / 374.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.3427, allocations: 0 / 374.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.3428, allocations: 7.922 kB / 374.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.3428, allocations: 4 kB / 374.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3428, allocations: 4 kB / 374.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00023/0.3431, allocations: 184.5 kB / 374.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3431, allocations: 0 / 374.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.3434, allocations: 31.98 kB / 374.9 MB, free: 4.801 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00156/0.345, allocations: 0.9531 MB / 375.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.3453, allocations: 135.3 kB / 376 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3454, allocations: 0 / 376 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.3455, allocations: 16 kB / 376 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3458, allocations: 19.92 kB / 376 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009409/0.3467, allocations: 0.5513 MB / 376.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.347, allocations: 0.7121 MB / 377.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.3472, allocations: 39.42 kB / 377.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.3472, allocations: 0 / 377.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.518/2.865, allocations: 2.418 MB / 379.8 MB, free: 15.92 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_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.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.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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time