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.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005993/0.0005994, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3774, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002743/0.3802, allocations: 1.296 MB / 332.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3813, allocations: 423.2 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.3814, allocations: 1.438 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.3818, allocations: 68.69 kB / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.382, allocations: 57.31 kB / 333.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3824, allocations: 59.67 kB / 333.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3826, allocations: 55.73 kB / 333.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.3827, allocations: 13.02 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.3828, allocations: 35.53 kB / 333.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3829, allocations: 42.19 kB / 333.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3829, allocations: 1.312 kB / 333.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.3831, allocations: 33.55 kB / 333.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.3832, allocations: 20.11 kB / 333.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.3832, allocations: 41.78 kB / 333.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3835, allocations: 84.22 kB / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3835, allocations: 0 / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3835, allocations: 0 / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3835, allocations: 1.094 kB / 333.5 MB, free: 5.371 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005389/0.3841, allocations: 422.5 kB / 333.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3842, allocations: 9.266 kB / 333.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.3842, allocations: 32.28 kB / 333.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3842, allocations: 7.625 kB / 333.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3845, allocations: 204.3 kB / 334.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3845, allocations: 9.281 kB / 334.2 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.3846, allocations: 3.547 kB / 334.2 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3847, allocations: 47.22 kB / 334.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3847, allocations: 0 / 334.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3848, allocations: 0 / 334.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3848, allocations: 1.406 kB / 334.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.3848, allocations: 9.891 kB / 334.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.3852, allocations: 284.9 kB / 334.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.3855, allocations: 42 kB / 334.5 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3855, allocations: 5.828 kB / 334.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.3857, allocations: 59.33 kB / 334.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.514e-06/0.3857, allocations: 1.125 kB / 334.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005025/0.3863, allocations: 115.6 kB / 334.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3863, allocations: 57.17 kB / 334.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.3866, allocations: 190.2 kB / 335 MB, free: 4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3866, allocations: 26.98 kB / 335 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.3867, allocations: 165.7 kB / 335.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3867, allocations: 15.28 kB / 335.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.3867, allocations: 1.156 kB / 335.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.3868, allocations: 321.4 kB / 335.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.3869, allocations: 15.91 kB / 335.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.3869, allocations: 23.89 kB / 335.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.3871, allocations: 54.83 kB / 335.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3871, allocations: 0 / 335.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002429/0.3873, allocations: 112.7 kB / 335.7 MB, free: 3.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.3874, allocations: 34.39 kB / 335.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3874, allocations: 0 / 335.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3874, allocations: 1.188 kB / 335.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.3875, allocations: 13.31 kB / 335.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3875, allocations: 5.25 kB / 335.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.3876, allocations: 2.234 kB / 335.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3877, allocations: 8.656 kB / 335.7 MB, free: 3.289 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 (7): * Single equations (assignments): 6 * 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.0001208/0.3878, allocations: 134.9 kB / 335.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.3878, allocations: 11.09 kB / 335.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.3879, allocations: 12.56 kB / 335.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3879, allocations: 0 / 335.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3879, allocations: 0.6875 kB / 335.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3879, allocations: 0.7031 kB / 335.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.3883, allocations: 347.6 kB / 336.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3884, allocations: 4 kB / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.3884, allocations: 5.484 kB / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3884, allocations: 1.781 kB / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3884, allocations: 1.984 kB / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3885, allocations: 0.75 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3885, allocations: 0 / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3887, allocations: 168.9 kB / 336.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.3887, allocations: 89.19 kB / 336.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3887, allocations: 6.156 kB / 336.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.3888, allocations: 1.438 kB / 336.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.3889, allocations: 5.125 kB / 336.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3889, allocations: 5.406 kB / 336.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.3891, allocations: 154.1 kB / 336.7 MB, free: 2.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3891, allocations: 0 / 336.7 MB, free: 2.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000366/0.3895, allocations: 24.33 kB / 336.7 MB, free: 2.449 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 (5): * Single equations (assignments): 4 * 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.00132/0.3908, allocations: 0.975 MB / 337.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.3911, allocations: 107.4 kB / 337.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3912, allocations: 0 / 337.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.3912, allocations: 20.19 kB / 337.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3916, allocations: 15.36 kB / 337.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.3925, allocations: 485.3 kB / 338.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.3927, allocations: 0.7064 MB / 339 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.934e-05/0.3928, allocations: 28.8 kB / 339 MB, free: 404 kB / 266.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3928, allocations: 0 / 339 MB, free: 404 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.086, allocations: 2.192 MB / 341.2 MB, free: 15.48 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_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),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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.verboseRead,t_new.y[1],time