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.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.024/2.024, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006254/0.0006256, allocations: 15.98 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3927, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002325/0.3951, allocations: 1.291 MB / 332.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.3961, allocations: 419.8 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.3963, allocations: 1.156 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.3967, allocations: 69.56 kB / 333.1 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.3969, allocations: 54.72 kB / 333.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.3973, allocations: 58.72 kB / 333.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3975, allocations: 63.94 kB / 333.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3976, allocations: 9.781 kB / 333.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.3977, allocations: 34.17 kB / 333.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3978, allocations: 44.94 kB / 333.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3979, allocations: 1 kB / 333.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.398, allocations: 29.39 kB / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.3981, allocations: 23.94 kB / 333.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.3981, allocations: 38.77 kB / 333.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.3984, allocations: 88.19 kB / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3984, allocations: 0 / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3984, allocations: 0 / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3984, allocations: 0 / 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.0005062/0.3989, allocations: 423.3 kB / 333.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.399, allocations: 8.719 kB / 333.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.399, allocations: 32.48 kB / 333.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.3991, allocations: 12.62 kB / 334 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3993, allocations: 199.6 kB / 334.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3993, allocations: 5.734 kB / 334.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3994, allocations: 2.719 kB / 334.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3995, allocations: 42.66 kB / 334.2 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3995, allocations: 0.5625 kB / 334.2 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3996, allocations: 5.406 kB / 334.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3996, allocations: 0 / 334.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.3997, allocations: 14.41 kB / 334.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.4, allocations: 280.6 kB / 334.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.4003, allocations: 42.78 kB / 334.5 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4003, allocations: 0.875 kB / 334.5 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.4005, allocations: 62.78 kB / 334.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.933e-06/0.4005, allocations: 1.094 kB / 334.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004815/0.401, allocations: 121 kB / 334.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.4011, allocations: 51.41 kB / 334.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4013, allocations: 191.4 kB / 335 MB, free: 4.004 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4014, allocations: 30.77 kB / 335 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.4014, allocations: 161.7 kB / 335.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4015, allocations: 19.59 kB / 335.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.4015, allocations: 1 kB / 335.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.4015, allocations: 317.3 kB / 335.5 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.4016, allocations: 24.05 kB / 335.5 MB, free: 3.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.4017, allocations: 16.05 kB / 335.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.4018, allocations: 50.91 kB / 335.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4018, allocations: 96 / 335.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002267/0.402, allocations: 117.1 kB / 335.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.4021, allocations: 33.86 kB / 335.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4021, allocations: 80 / 335.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4021, allocations: 1.5 kB / 335.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.4022, allocations: 10.33 kB / 335.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4022, allocations: 7.922 kB / 335.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.4023, allocations: 6.688 kB / 335.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4023, allocations: 11.2 kB / 335.7 MB, free: 3.285 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.0001088/0.4025, allocations: 130.6 kB / 335.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.4025, allocations: 12.78 kB / 335.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.4026, allocations: 15.17 kB / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4026, allocations: 1.062 kB / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4026, allocations: 0 / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4026, allocations: 2.047 kB / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.403, allocations: 338.2 kB / 336.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.403, allocations: 4 kB / 336.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.4031, allocations: 6.547 kB / 336.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4031, allocations: 0.5625 kB / 336.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4031, allocations: 5.891 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4031, allocations: 5.469 kB / 336.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4031, allocations: 0 / 336.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.4033, allocations: 168.7 kB / 336.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.4034, allocations: 89.53 kB / 336.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.4034, allocations: 2.031 kB / 336.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.4035, allocations: 1.906 kB / 336.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.4036, allocations: 4.391 kB / 336.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4036, allocations: 2.141 kB / 336.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.4038, allocations: 153.4 kB / 336.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4038, allocations: 0 / 336.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.4041, allocations: 29.05 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.001294/0.4054, allocations: 0.9657 MB / 337.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.4057, allocations: 102.3 kB / 337.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4057, allocations: 4 kB / 337.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.4058, allocations: 21.27 kB / 337.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.4061, allocations: 16.78 kB / 337.8 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.407, allocations: 487.4 kB / 338.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.4072, allocations: 0.7063 MB / 339 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.4073, allocations: 27.73 kB / 339 MB, free: 412 kB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4073, allocations: 0 / 339 MB, free: 412 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.698/3.106, allocations: 2.187 MB / 341.2 MB, free: 15.5 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_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