Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005878/0.0005879, allocations: 12 kB / 314.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4077, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003354/0.4111, allocations: 1.318 MB / 370.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.4134, allocations: 0.6969 MB / 371.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4136, allocations: 4 kB / 371.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.414, allocations: 51.86 kB / 371.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.4144, allocations: 47.81 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.4147, allocations: 51.83 kB / 371.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.4149, allocations: 63.84 kB / 371.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.415, allocations: 7.859 kB / 371.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.4152, allocations: 35.91 kB / 371.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.4154, allocations: 39.83 kB / 371.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.4154, allocations: 4 kB / 371.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.4156, allocations: 19.98 kB / 371.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.4157, allocations: 19.92 kB / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.4158, allocations: 41.62 kB / 371.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.416, allocations: 79.88 kB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4161, allocations: 0 / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4161, allocations: 0 / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4161, allocations: 0 / 371.7 MB, free: 10.29 MB / 298.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.0008226/0.4169, allocations: 443.3 kB / 372.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.417, allocations: 11.97 kB / 372.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.879e-05/0.4171, allocations: 34.55 kB / 372.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.4172, allocations: 15.81 kB / 372.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.4176, allocations: 187 kB / 372.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.4176, allocations: 4 kB / 372.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.4177, allocations: 8 kB / 372.4 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.418, allocations: 49.61 kB / 372.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.418, allocations: 4 kB / 372.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.418, allocations: 3.953 kB / 372.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4181, allocations: 0 / 372.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.4182, allocations: 15.98 kB / 372.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.4185, allocations: 193.6 kB / 372.7 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.4188, allocations: 54.62 kB / 372.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.4189, allocations: 0 / 372.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.4192, allocations: 71.33 kB / 372.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.615e-06/0.4192, allocations: 4 kB / 372.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004397/0.4196, allocations: 93.56 kB / 372.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.4197, allocations: 59.36 kB / 373 MB, free: 8.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.42, allocations: 186.1 kB / 373.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.42, allocations: 29.7 kB / 373.2 MB, free: 8.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4201, allocations: 166.5 kB / 373.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.4202, allocations: 7.906 kB / 373.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.4202, allocations: 7.938 kB / 373.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4204, allocations: 318.8 kB / 373.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.4205, allocations: 23.98 kB / 373.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.4206, allocations: 45.64 kB / 373.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.4208, allocations: 57.69 kB / 373.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4208, allocations: 0 / 373.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000374/0.4212, allocations: 131.2 kB / 373.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.4213, allocations: 33.7 kB / 374 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4213, allocations: 4 kB / 374 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4213, allocations: 3.938 kB / 374 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4215, allocations: 11.98 kB / 374 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4215, allocations: 7.984 kB / 374 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4216, allocations: 11.94 kB / 374 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.4216, allocations: 0 / 374 MB, free: 7.773 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001872/0.4218, allocations: 137.8 kB / 374.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.4219, allocations: 11.81 kB / 374.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.4219, allocations: 8.312 kB / 374.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4219, allocations: 0 / 374.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.422, allocations: 0 / 374.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.422, allocations: 3.953 kB / 374.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.4222, allocations: 185.6 kB / 374.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4222, allocations: 3.984 kB / 374.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.4223, allocations: 4 kB / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4223, allocations: 0 / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4223, allocations: 0 / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.4223, allocations: 0 / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4223, allocations: 4.078 kB / 374.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.4226, allocations: 116.9 kB / 374.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.4227, allocations: 97 kB / 374.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.4228, allocations: 384 / 374.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.4229, allocations: 4 kB / 374.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.4229, allocations: 0 / 374.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.423, allocations: 11.98 kB / 374.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4231, allocations: 131.2 kB / 374.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4232, allocations: 3.938 kB / 374.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.4235, allocations: 24 kB / 374.7 MB, free: 6.949 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001698/0.4252, allocations: 0.9287 MB / 375.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.4256, allocations: 131.3 kB / 375.8 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4256, allocations: 3.938 kB / 375.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.4258, allocations: 19.98 kB / 375.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4261, allocations: 27.36 kB / 375.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.427, allocations: 470.3 kB / 376.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4273, allocations: 0.7083 MB / 377 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.4274, allocations: 27.42 kB / 377 MB, free: 4.621 MB / 298.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4274, allocations: 0 / 377 MB, free: 4.621 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.516/2.944, allocations: 2.081 MB / 379.1 MB, free: 2.539 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_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.nextTimeEventScaled,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_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time