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.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.243/2.243, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006023/0.0006024, allocations: 16 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.355, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002753/0.3579, allocations: 1.357 MB / 370.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3596, allocations: 0.7164 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.3597, allocations: 0 / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.3599, allocations: 19.86 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.3602, allocations: 35.88 kB / 371.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.3604, allocations: 51.83 kB / 371.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.3606, allocations: 75.84 kB / 371.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.3607, allocations: 11.98 kB / 371.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.3608, allocations: 35.84 kB / 371.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.3609, allocations: 31.84 kB / 371.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3609, allocations: 4 kB / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3611, allocations: 20 kB / 371.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.3611, allocations: 27.84 kB / 371.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.3612, allocations: 37.64 kB / 371.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.3614, allocations: 88.86 kB / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3614, allocations: 0 / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3614, allocations: 0 / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3614, allocations: 0 / 371.8 MB, free: 10.24 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.0005811/0.362, allocations: 450.3 kB / 372.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3621, allocations: 8.031 kB / 372.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.3621, allocations: 34.56 kB / 372.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.3622, allocations: 11.81 kB / 372.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.3625, allocations: 207.3 kB / 372.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.3625, allocations: 12 kB / 372.5 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3625, allocations: 7.938 kB / 372.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3628, allocations: 57.61 kB / 372.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3628, allocations: 0 / 372.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3628, allocations: 7.953 kB / 372.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3628, allocations: 0 / 372.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3629, allocations: 15.98 kB / 372.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.3634, allocations: 300.9 kB / 372.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.3637, allocations: 62.61 kB / 372.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3637, allocations: 4 kB / 372.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.3639, allocations: 63.34 kB / 373 MB, free: 8.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.3639, allocations: 0 / 373 MB, free: 8.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000741/0.3647, allocations: 185.2 kB / 373.2 MB, free: 8.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3647, allocations: 51.41 kB / 373.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.365, allocations: 190.1 kB / 373.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.365, allocations: 29.69 kB / 373.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.3651, allocations: 162.6 kB / 373.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.3652, allocations: 19.72 kB / 373.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.3652, allocations: 0 / 373.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3653, allocations: 322.8 kB / 373.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3655, allocations: 31.98 kB / 374 MB, free: 7.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3656, allocations: 48.94 kB / 374 MB, free: 7.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3658, allocations: 69.69 kB / 374.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3658, allocations: 3.938 kB / 374.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003767/0.3662, allocations: 151.2 kB / 374.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.3662, allocations: 33.7 kB / 374.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3663, allocations: 0 / 374.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3663, allocations: 4 kB / 374.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3664, allocations: 23.95 kB / 374.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3665, allocations: 0 / 374.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.3666, allocations: 8 kB / 374.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.3666, allocations: 4 kB / 374.3 MB, free: 7.453 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.0001359/0.3667, allocations: 129.8 kB / 374.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.3668, allocations: 11.86 kB / 374.4 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.3668, allocations: 16.66 kB / 374.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3669, allocations: 4.094 kB / 374.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3669, allocations: 11.92 kB / 374.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3669, allocations: 0 / 374.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.3675, allocations: 391.2 kB / 374.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3676, allocations: 4.375 kB / 374.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.3676, allocations: 11.98 kB / 374.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3676, allocations: 3.984 kB / 374.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3677, allocations: 8 kB / 374.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3677, allocations: 7.938 kB / 374.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3677, allocations: 4.031 kB / 374.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.368, allocations: 200.4 kB / 375.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.3681, allocations: 92.95 kB / 375.2 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.3682, allocations: 8 kB / 375.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3683, allocations: 3.984 kB / 375.2 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.3683, allocations: 4 kB / 375.2 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.3684, allocations: 8 kB / 375.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.3685, allocations: 135.2 kB / 375.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3686, allocations: 0 / 375.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003453/0.3689, allocations: 32 kB / 375.4 MB, free: 6.281 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.00183/0.3707, allocations: 1.086 MB / 376.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.3712, allocations: 155.2 kB / 376.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3712, allocations: 0 / 376.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3713, allocations: 31.92 kB / 376.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3716, allocations: 23.44 kB / 376.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/0.3726, allocations: 495.1 kB / 377.1 MB, free: 4.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3729, allocations: 0.7043 MB / 377.8 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.373, allocations: 35.42 kB / 377.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.373, allocations: 0 / 377.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.636/3.009, allocations: 2.358 MB / 380.2 MB, free: 1.387 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_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