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.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 234.9 MB / 250.4 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 12 kB / 314.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3376, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002459/0.3401, allocations: 1.342 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.3418, allocations: 0.7203 MB / 371.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.3419, allocations: 4 kB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.3422, allocations: 27.84 kB / 371.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.3424, allocations: 35.88 kB / 371.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.3426, allocations: 51.83 kB / 371.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3428, allocations: 71.84 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.3429, allocations: 12 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.343, allocations: 35.84 kB / 371.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.3431, allocations: 31.84 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3431, allocations: 4 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3433, allocations: 31.92 kB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.3433, allocations: 7.984 kB / 371.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.3434, allocations: 45.64 kB / 371.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3436, allocations: 80.86 kB / 371.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3436, allocations: 4 kB / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3436, allocations: 0 / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3436, allocations: 0 / 371.8 MB, free: 8.188 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.0005919/0.3442, allocations: 466.1 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3443, allocations: 12.03 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.3443, allocations: 34.56 kB / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.3444, allocations: 11.84 kB / 372.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.3447, allocations: 202.8 kB / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3447, allocations: 7.922 kB / 372.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3447, allocations: 12 kB / 372.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3449, allocations: 49.67 kB / 372.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.345, allocations: 4 kB / 372.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.345, allocations: 7.953 kB / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.345, allocations: 0 / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3451, allocations: 27.91 kB / 372.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.3456, allocations: 296.8 kB / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.3458, allocations: 54.69 kB / 372.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3459, allocations: 0 / 372.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.3461, allocations: 83.27 kB / 373 MB, free: 6.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.3461, allocations: 0 / 373 MB, free: 6.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007183/0.3469, allocations: 177.2 kB / 373.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3469, allocations: 55.41 kB / 373.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.3472, allocations: 195.3 kB / 373.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3472, allocations: 33.7 kB / 373.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.3473, allocations: 162.4 kB / 373.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.3474, allocations: 27.64 kB / 373.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.3474, allocations: 4 kB / 373.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3475, allocations: 318.8 kB / 374 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3477, allocations: 31.98 kB / 374 MB, free: 5.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3478, allocations: 55.75 kB / 374.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.348, allocations: 61.69 kB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.348, allocations: 4 kB / 374.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003725/0.3484, allocations: 159.2 kB / 374.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.3484, allocations: 33.7 kB / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3485, allocations: 0 / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3485, allocations: 0 / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3486, allocations: 16.02 kB / 374.3 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3487, allocations: 11.94 kB / 374.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/0.3487, allocations: 8 kB / 374.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.3488, allocations: 4 kB / 374.3 MB, free: 5.355 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.0001355/0.3489, allocations: 125.8 kB / 374.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.349, allocations: 19.8 kB / 374.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.349, allocations: 17.39 kB / 374.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.349, allocations: 0 / 374.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.349, allocations: 0 / 374.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3491, allocations: 8 kB / 374.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.3497, allocations: 395.4 kB / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3497, allocations: 3.938 kB / 374.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.3498, allocations: 8 kB / 374.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.3498, allocations: 0 / 374.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3498, allocations: 0 / 374.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3498, allocations: 4 kB / 374.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3498, allocations: 0 / 374.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.3502, allocations: 212.2 kB / 375.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/0.3503, allocations: 96.95 kB / 375.2 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.3503, allocations: 4 kB / 375.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.3504, allocations: 0 / 375.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.3505, allocations: 7.984 kB / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3505, allocations: 8 kB / 375.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3507, allocations: 147.9 kB / 375.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3507, allocations: 0 / 375.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.351, allocations: 28 kB / 375.4 MB, free: 4.191 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.001807/0.3529, allocations: 1.086 MB / 376.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.3532, allocations: 151.3 kB / 376.6 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3533, allocations: 0 / 376.6 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3534, allocations: 27.98 kB / 376.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3537, allocations: 20.11 kB / 376.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.3547, allocations: 0.5076 MB / 377.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.355, allocations: 0.7082 MB / 377.9 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.3551, allocations: 31.42 kB / 377.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3552, allocations: 0 / 377.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.488/2.843, allocations: 2.412 MB / 380.4 MB, free: 15.21 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_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.table[4,1],t_new.table[4,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time