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.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.051/2.051, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006219/0.0006222, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3859, allocations: 48.7 MB / 331.3 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002337/0.3883, allocations: 1.3 MB / 332.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3895, allocations: 413.6 kB / 333 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.3896, allocations: 1.312 kB / 333 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.3899, allocations: 24.8 kB / 333 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.3902, allocations: 33.95 kB / 333 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.3905, allocations: 56.05 kB / 333.1 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3907, allocations: 57.44 kB / 333.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3908, allocations: 13.45 kB / 333.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.3909, allocations: 27.38 kB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.391, allocations: 21.95 kB / 333.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3911, allocations: 1.562 kB / 333.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.3912, allocations: 32.81 kB / 333.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.3913, allocations: 22.22 kB / 333.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.3914, allocations: 34.06 kB / 333.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.3916, allocations: 86.48 kB / 333.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3916, allocations: 0 / 333.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3917, allocations: 1.375 kB / 333.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3917, allocations: 0 / 333.4 MB, free: 5.25 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.0005165/0.3922, allocations: 397.4 kB / 333.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3923, allocations: 9.219 kB / 333.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.3923, allocations: 40.61 kB / 333.8 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.3924, allocations: 7.719 kB / 333.8 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3926, allocations: 198.3 kB / 334 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3926, allocations: 6.719 kB / 334 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3927, allocations: 1.875 kB / 334 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3928, allocations: 47.66 kB / 334.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3929, allocations: 0 / 334.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3929, allocations: 0.5156 kB / 334.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3929, allocations: 1.406 kB / 334.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.393, allocations: 13.55 kB / 334.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.3934, allocations: 275.2 kB / 334.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3937, allocations: 49.34 kB / 334.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3937, allocations: 1.844 kB / 334.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.3939, allocations: 55.36 kB / 334.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.394, allocations: 1.125 kB / 334.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005245/0.3945, allocations: 115.1 kB / 334.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3946, allocations: 53.27 kB / 334.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.3948, allocations: 181.7 kB / 334.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3948, allocations: 27.02 kB / 334.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.3949, allocations: 161.6 kB / 335 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3949, allocations: 16.55 kB / 335 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.3949, allocations: 1.375 kB / 335 MB, free: 3.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.395, allocations: 312.1 kB / 335.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.3951, allocations: 20.69 kB / 335.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.3951, allocations: 15.2 kB / 335.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.93e-05/0.3953, allocations: 55.73 kB / 335.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3953, allocations: 0 / 335.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002432/0.3955, allocations: 116.5 kB / 335.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.3956, allocations: 33.39 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3956, allocations: 1.281 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3956, allocations: 0 / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.3957, allocations: 9.656 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3957, allocations: 0.7031 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.3958, allocations: 11.23 kB / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3959, allocations: 12.27 kB / 335.6 MB, free: 3.195 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.0001252/0.396, allocations: 127.2 kB / 335.7 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.396, allocations: 11.7 kB / 335.7 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.3961, allocations: 18.23 kB / 335.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3961, allocations: 1.5 kB / 335.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3961, allocations: 0.8906 kB / 335.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3962, allocations: 1.469 kB / 335.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.3967, allocations: 335.2 kB / 336.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3967, allocations: 0 / 336.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.3968, allocations: 14.41 kB / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.3968, allocations: 0.7031 kB / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3968, allocations: 2.469 kB / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3968, allocations: 0 / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3968, allocations: 4.609 kB / 336.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.3971, allocations: 164 kB / 336.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.3972, allocations: 89.88 kB / 336.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.3972, allocations: 1.438 kB / 336.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3973, allocations: 6.344 kB / 336.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3974, allocations: 3.578 kB / 336.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3974, allocations: 7.484 kB / 336.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3976, allocations: 126.3 kB / 336.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3976, allocations: 1.375 kB / 336.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.398, allocations: 32.23 kB / 336.5 MB, free: 2.359 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.001413/0.3994, allocations: 0.975 MB / 337.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3998, allocations: 106.7 kB / 337.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3998, allocations: 3.938 kB / 337.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.3999, allocations: 20.8 kB / 337.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.4003, allocations: 17.86 kB / 337.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000942/0.4012, allocations: 444.4 kB / 338.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.4015, allocations: 0.7065 MB / 338.8 MB, free: 352 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.4016, allocations: 24.33 kB / 338.8 MB, free: 336 kB / 266.7 MB Notification: Performance of SimCode: time 1.873e-06/0.4016, allocations: 0 / 338.8 MB, free: 336 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.568/2.97, allocations: 2.079 MB / 340.9 MB, free: 15.55 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_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.verboseRead,t_new.y[1],time