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.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 234.9 MB / 250.4 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 19.98 kB / 314.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3632, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002739/0.366, allocations: 1.466 MB / 370.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.3682, allocations: 0.9539 MB / 371.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3684, allocations: 3.938 kB / 371.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.3688, allocations: 135.7 kB / 371.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.3692, allocations: 111.7 kB / 372 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.3696, allocations: 103.7 kB / 372.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.37, allocations: 159.6 kB / 372.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3701, allocations: 13.55 kB / 372.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.3703, allocations: 99.64 kB / 372.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.3705, allocations: 95.7 kB / 372.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.3706, allocations: 8 kB / 372.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3708, allocations: 55.86 kB / 372.5 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.3709, allocations: 35.89 kB / 372.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.371, allocations: 61.56 kB / 372.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3713, allocations: 168.6 kB / 372.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3713, allocations: 0 / 372.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3713, allocations: 0 / 372.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3713, allocations: 0 / 372.7 MB, free: 9.297 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008429/0.3722, allocations: 0.6003 MB / 373.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.3723, allocations: 19.97 kB / 373.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.3723, allocations: 30.56 kB / 373.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.3724, allocations: 27.72 kB / 373.4 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.3728, allocations: 238.6 kB / 373.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3728, allocations: 8 kB / 373.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.3729, allocations: 8 kB / 373.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.3732, allocations: 103.3 kB / 373.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3732, allocations: 0 / 373.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.3733, allocations: 7.953 kB / 373.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3733, allocations: 0 / 373.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.3735, allocations: 43.97 kB / 373.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.3742, allocations: 456.9 kB / 374.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.3746, allocations: 117.3 kB / 374.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.3747, allocations: 7.953 kB / 374.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.375, allocations: 120.9 kB / 374.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.374e-06/0.375, allocations: 0 / 374.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001341/0.3764, allocations: 364.1 kB / 374.9 MB, free: 6.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.3765, allocations: 77.11 kB / 374.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.377, allocations: 350.6 kB / 375.3 MB, free: 6.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.3771, allocations: 29.7 kB / 375.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3772, allocations: 190.9 kB / 375.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.3773, allocations: 43.36 kB / 375.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.3773, allocations: 8 kB / 375.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3774, allocations: 322.8 kB / 375.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.3777, allocations: 56.16 kB / 375.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3779, allocations: 99.77 kB / 376 MB, free: 5.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.3782, allocations: 127.3 kB / 376.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3783, allocations: 7.953 kB / 376.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007012/0.379, allocations: 284.8 kB / 376.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.3791, allocations: 63.39 kB / 376.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3791, allocations: 0 / 376.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3791, allocations: 4.75 kB / 376.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.3794, allocations: 39.92 kB / 376.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3794, allocations: 0 / 376.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3796, allocations: 12.05 kB / 376.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.3796, allocations: 16 kB / 376.5 MB, free: 5.152 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002006/0.3798, allocations: 149.8 kB / 376.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.3799, allocations: 27.67 kB / 376.7 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.632e-05/0.38, allocations: 33.7 kB / 376.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.38, allocations: 4 kB / 376.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.38, allocations: 3.984 kB / 376.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.38, allocations: 3.984 kB / 376.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.3812, allocations: 0.6204 MB / 377.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3812, allocations: 0 / 377.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3813, allocations: 19.98 kB / 377.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/0.3813, allocations: 4 kB / 377.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3813, allocations: 0 / 377.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3814, allocations: 7.938 kB / 377.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3814, allocations: 0 / 377.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.382, allocations: 374.6 kB / 377.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3821, allocations: 112.8 kB / 377.9 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.3822, allocations: 8 kB / 377.9 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3824, allocations: 11.98 kB / 377.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.3825, allocations: 11.98 kB / 377.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.3825, allocations: 8 kB / 377.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.3829, allocations: 253.9 kB / 378.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3829, allocations: 0 / 378.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004965/0.3834, allocations: 63.98 kB / 378.2 MB, free: 3.348 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002828/0.3863, allocations: 1.494 MB / 379.7 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.387, allocations: 302.6 kB / 380 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.387, allocations: 0 / 380 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.3872, allocations: 55.92 kB / 380.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.3878, allocations: 36.86 kB / 380.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.3894, allocations: 0.7988 MB / 380.9 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.3899, allocations: 0.7556 MB / 381.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3901, allocations: 67.41 kB / 381.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3901, allocations: 0 / 381.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.616/3.006, allocations: 4.364 MB / 386.1 MB, free: 11.42 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat failed! Error: Could not read variable t_new_2.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat. Warning: Get data of variable t_new_2.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat failed! Error: Could not read variable t_new_2.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat. Warning: Get data of variable t_new_2.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,der(d_t_new.u),der(d_t_new_2.u),der(t_new.timeScaled),der(t_new_2.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.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time