Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.075/2.075, allocations: 209.3 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005924/0.0005926, allocations: 15.94 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3633, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002363/0.3657, allocations: 1.256 MB / 332.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3668, allocations: 401.7 kB / 332.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.3669, allocations: 2.531 kB / 332.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.3673, allocations: 56.34 kB / 333 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3676, allocations: 40.27 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.3679, allocations: 56.17 kB / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3681, allocations: 47.78 kB / 333.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/0.3681, allocations: 12.64 kB / 333.1 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.3682, allocations: 34.22 kB / 333.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3684, allocations: 26.7 kB / 333.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3684, allocations: 1.281 kB / 333.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3685, allocations: 25.36 kB / 333.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.3686, allocations: 12.98 kB / 333.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.3686, allocations: 33.84 kB / 333.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.3689, allocations: 69.39 kB / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3689, allocations: 0 / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3689, allocations: 4 kB / 333.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3689, allocations: 0 / 333.3 MB, free: 5.441 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004966/0.3694, allocations: 398.9 kB / 333.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3695, allocations: 8.875 kB / 333.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.3695, allocations: 36.81 kB / 333.8 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.3696, allocations: 7.406 kB / 333.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3698, allocations: 197.3 kB / 334 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3698, allocations: 2.312 kB / 334 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3699, allocations: 2.219 kB / 334 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.37, allocations: 43.58 kB / 334 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.37, allocations: 0 / 334 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.37, allocations: 0.6562 kB / 334 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.37, allocations: 3.938 kB / 334 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/0.3701, allocations: 6.719 kB / 334 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.3703, allocations: 179.4 kB / 334.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.3704, allocations: 32.09 kB / 334.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3704, allocations: 4 kB / 334.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.3706, allocations: 58.62 kB / 334.3 MB, free: 4.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 3.426e-06/0.3707, allocations: 0 / 334.3 MB, free: 4.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002429/0.3709, allocations: 69.42 kB / 334.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.371, allocations: 52.06 kB / 334.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.3712, allocations: 171 kB / 334.6 MB, free: 4.203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3712, allocations: 27.59 kB / 334.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.3713, allocations: 163.7 kB / 334.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3713, allocations: 6.656 kB / 334.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.3713, allocations: 5.406 kB / 334.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.3714, allocations: 313.7 kB / 335.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.3715, allocations: 12.05 kB / 335.1 MB, free: 3.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.3715, allocations: 13.72 kB / 335.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/0.3716, allocations: 47.2 kB / 335.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3716, allocations: 1.969 kB / 335.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001952/0.3718, allocations: 105.6 kB / 335.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.3719, allocations: 36.33 kB / 335.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3719, allocations: 2.266 kB / 335.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3719, allocations: 0 / 335.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.372, allocations: 9.5 kB / 335.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.372, allocations: 0.6562 kB / 335.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.3721, allocations: 8.016 kB / 335.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3721, allocations: 2.188 kB / 335.3 MB, free: 3.512 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001066/0.3723, allocations: 124.4 kB / 335.4 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.3723, allocations: 7.594 kB / 335.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.3723, allocations: 14.06 kB / 335.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3724, allocations: 3.984 kB / 335.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3724, allocations: 0.5625 kB / 335.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3724, allocations: 1.312 kB / 335.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.3725, allocations: 178.8 kB / 335.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3725, allocations: 3.953 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.3726, allocations: 3.25 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3726, allocations: 0 / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.3726, allocations: 2.234 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3726, allocations: 0 / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3726, allocations: 2.141 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.3728, allocations: 92.23 kB / 335.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.3729, allocations: 88.89 kB / 335.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3729, allocations: 2.469 kB / 335.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.373, allocations: 6.266 kB / 335.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.373, allocations: 2.719 kB / 335.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.373, allocations: 1.469 kB / 335.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.3732, allocations: 126.5 kB / 336 MB, free: 2.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3732, allocations: 5.531 kB / 336 MB, free: 2.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.3735, allocations: 23.62 kB / 336 MB, free: 2.871 MB / 266.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001197/0.3747, allocations: 0.8468 MB / 336.8 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3749, allocations: 91.5 kB / 336.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.375, allocations: 4 kB / 336.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.696e-05/0.375, allocations: 11.59 kB / 337 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3753, allocations: 15.5 kB / 337 MB, free: 2.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.376, allocations: 428.9 kB / 337.4 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.3762, allocations: 0.6993 MB / 338.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.3763, allocations: 23.81 kB / 338.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3763, allocations: 0 / 338.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.7/3.076, allocations: 1.861 MB / 340 MB, free: 320 kB / 266.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_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.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,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.verboseRead,t_new.y[1],time