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.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 234.9 MB / 250.4 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 16 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3476, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002436/0.3501, allocations: 1.318 MB / 370.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3517, allocations: 0.7047 MB / 371.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.3518, allocations: 0 / 371.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.352, allocations: 23.91 kB / 371.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.3523, allocations: 47.81 kB / 371.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.3525, allocations: 51.83 kB / 371.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3526, allocations: 63.84 kB / 371.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.3527, allocations: 11.86 kB / 371.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3528, allocations: 39.83 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.011e-05/0.3529, allocations: 23.92 kB / 371.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.353, allocations: 4 kB / 371.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.3531, allocations: 16 kB / 371.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.3531, allocations: 27.91 kB / 371.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.3532, allocations: 37.64 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.3534, allocations: 95.8 kB / 371.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3534, allocations: 4 kB / 371.7 MB, free: 8.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.3534, allocations: 0 / 371.7 MB, free: 8.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3534, allocations: 3.938 kB / 371.7 MB, free: 8.223 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.0006272/0.3541, allocations: 471 kB / 372.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3541, allocations: 12.03 kB / 372.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.3542, allocations: 30.56 kB / 372.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.3542, allocations: 7.906 kB / 372.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.3545, allocations: 206.8 kB / 372.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3546, allocations: 12 kB / 372.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3546, allocations: 4 kB / 372.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3548, allocations: 49.67 kB / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3548, allocations: 0 / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3548, allocations: 3.953 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3548, allocations: 0 / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.3549, allocations: 19.92 kB / 372.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.3552, allocations: 197.6 kB / 372.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.3554, allocations: 62.61 kB / 372.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3555, allocations: 0 / 372.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.3557, allocations: 63.33 kB / 372.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.3557, allocations: 0 / 372.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003872/0.3561, allocations: 101.5 kB / 373 MB, free: 6.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3562, allocations: 63.36 kB / 373 MB, free: 6.742 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.3565, allocations: 250.5 kB / 373.3 MB, free: 6.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3566, allocations: 29.7 kB / 373.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3567, allocations: 170.6 kB / 373.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3567, allocations: 11.8 kB / 373.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.3567, allocations: 3.938 kB / 373.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3569, allocations: 318.8 kB / 373.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.357, allocations: 23.98 kB / 373.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3571, allocations: 41.7 kB / 373.8 MB, free: 5.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3573, allocations: 57.62 kB / 373.9 MB, free: 5.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3573, allocations: 4 kB / 373.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003231/0.3576, allocations: 131.2 kB / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.3577, allocations: 33.7 kB / 374.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3577, allocations: 0 / 374.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3577, allocations: 4 kB / 374.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3579, allocations: 11.98 kB / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3579, allocations: 7.984 kB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.358, allocations: 11.84 kB / 374.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.358, allocations: 8 kB / 374.1 MB, free: 5.586 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.0001544/0.3582, allocations: 139.8 kB / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.3582, allocations: 15.81 kB / 374.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.3583, allocations: 16.98 kB / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3583, allocations: 4 kB / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3583, allocations: 0 / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3583, allocations: 7.891 kB / 374.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3585, allocations: 197.6 kB / 374.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3585, allocations: 0 / 374.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.3586, allocations: 7.984 kB / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3586, allocations: 0 / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3586, allocations: 0 / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3586, allocations: 0 / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3586, allocations: 320 / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3589, allocations: 120.9 kB / 374.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.359, allocations: 93 kB / 374.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.3591, allocations: 0 / 374.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.3591, allocations: 8 kB / 374.7 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.3592, allocations: 4 kB / 374.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3592, allocations: 3.984 kB / 374.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002319/0.3594, allocations: 192.4 kB / 374.9 MB, free: 4.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.284e-06/0.3595, allocations: 0 / 374.9 MB, free: 4.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.3597, allocations: 19.94 kB / 374.9 MB, free: 4.684 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.001549/0.3613, allocations: 0.9428 MB / 375.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.3616, allocations: 135.3 kB / 376 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3617, allocations: 0 / 376 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3618, allocations: 19.98 kB / 376 MB, free: 3.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3621, allocations: 19.92 kB / 376 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009224/0.363, allocations: 0.5474 MB / 376.6 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3633, allocations: 0.7199 MB / 377.3 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.3634, allocations: 35.42 kB / 377.3 MB, free: 2.23 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3634, allocations: 0 / 377.3 MB, free: 2.23 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.486/2.849, allocations: 2.426 MB / 379.8 MB, free: 15.8 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_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