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.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.092/2.092, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004714, allocations: 16 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3796, allocations: 48.7 MB / 331.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002278/0.3819, allocations: 1.263 MB / 332.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.3829, allocations: 392.8 kB / 332.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.383, allocations: 1.031 kB / 332.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.3833, allocations: 53.94 kB / 333 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.3835, allocations: 45.5 kB / 333 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3838, allocations: 57.72 kB / 333.1 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.3839, allocations: 47.3 kB / 333.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.384, allocations: 8.094 kB / 333.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.3841, allocations: 30.36 kB / 333.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.3842, allocations: 34.73 kB / 333.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3842, allocations: 1.594 kB / 333.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.3843, allocations: 21.75 kB / 333.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.3844, allocations: 17.09 kB / 333.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.3844, allocations: 36.11 kB / 333.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3846, allocations: 73.88 kB / 333.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3847, allocations: 0 / 333.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3847, allocations: 0 / 333.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3847, allocations: 1.281 kB / 333.4 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.000427/0.3851, allocations: 393.5 kB / 333.7 MB, free: 5.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3852, allocations: 9.625 kB / 333.7 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.3853, allocations: 35.16 kB / 333.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.3853, allocations: 8.656 kB / 333.8 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3855, allocations: 196.8 kB / 334 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3855, allocations: 1.406 kB / 334 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3856, allocations: 3.359 kB / 334 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3857, allocations: 38.19 kB / 334 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3857, allocations: 0 / 334 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3857, allocations: 2.125 kB / 334 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3857, allocations: 0 / 334 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.3858, allocations: 10.09 kB / 334 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.386, allocations: 179.5 kB / 334.2 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.3861, allocations: 30.73 kB / 334.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3861, allocations: 5.062 kB / 334.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.3863, allocations: 54.91 kB / 334.3 MB, free: 4.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3863, allocations: 0 / 334.3 MB, free: 4.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002369/0.3865, allocations: 69.11 kB / 334.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3866, allocations: 56.86 kB / 334.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.3868, allocations: 169.6 kB / 334.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3868, allocations: 27.64 kB / 334.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.3869, allocations: 161.1 kB / 334.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3869, allocations: 10.34 kB / 334.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.3869, allocations: 1.219 kB / 334.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.387, allocations: 313.4 kB / 335.1 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.3871, allocations: 16.69 kB / 335.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.3871, allocations: 12.58 kB / 335.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/0.3872, allocations: 48.36 kB / 335.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3872, allocations: 1.281 kB / 335.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000184/0.3874, allocations: 104.7 kB / 335.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.3875, allocations: 34.72 kB / 335.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3875, allocations: 0.6562 kB / 335.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3875, allocations: 0 / 335.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.3876, allocations: 5.703 kB / 335.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3876, allocations: 4.766 kB / 335.3 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.3877, allocations: 16.58 kB / 335.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3877, allocations: 1.125 kB / 335.3 MB, free: 3.516 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 9.238e-05/0.3878, allocations: 128.6 kB / 335.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.3879, allocations: 8.594 kB / 335.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.3879, allocations: 12.33 kB / 335.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3879, allocations: 1.312 kB / 335.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3879, allocations: 0 / 335.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.3879, allocations: 6.016 kB / 335.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.3881, allocations: 171.1 kB / 335.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3881, allocations: 3.953 kB / 335.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.3881, allocations: 2.188 kB / 335.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3881, allocations: 5.594 kB / 335.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3882, allocations: 0.75 kB / 335.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3882, allocations: 1.25 kB / 335.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3882, allocations: 0 / 335.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.3883, allocations: 89.55 kB / 335.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3884, allocations: 88.53 kB / 335.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3884, allocations: 2.125 kB / 335.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/0.3885, allocations: 1.703 kB / 335.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3885, allocations: 10.45 kB / 335.9 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3886, allocations: 3.984 kB / 335.9 MB, free: 2.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3887, allocations: 125.7 kB / 336 MB, free: 2.887 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3887, allocations: 1.188 kB / 336 MB, free: 2.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003/0.389, allocations: 19.25 kB / 336 MB, free: 2.883 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.001104/0.3901, allocations: 0.8604 MB / 336.9 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.3903, allocations: 91.06 kB / 336.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3904, allocations: 0 / 336.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.3904, allocations: 8.406 kB / 337 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3907, allocations: 14.31 kB / 337 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.3914, allocations: 433.3 kB / 337.4 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3916, allocations: 0.6954 MB / 338.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.3916, allocations: 27.05 kB / 338.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3916, allocations: 0 / 338.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.616/3.008, allocations: 1.853 MB / 340 MB, free: 308 kB / 266.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_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