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.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.245/2.245, allocations: 234.9 MB / 250.5 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004233, allocations: 16 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3305, allocations: 54.87 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002457/0.333, allocations: 1.349 MB / 370.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3347, allocations: 0.7164 MB / 371.3 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.313e-05/0.3349, allocations: 3.938 kB / 371.4 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3352, allocations: 23.86 kB / 371.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.3354, allocations: 35.94 kB / 371.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.3356, allocations: 55.81 kB / 371.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3358, allocations: 67.86 kB / 371.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.3359, allocations: 8 kB / 371.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.336, allocations: 39.84 kB / 371.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.3361, allocations: 31.84 kB / 371.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3362, allocations: 0 / 371.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3363, allocations: 35.91 kB / 371.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.3364, allocations: 15.92 kB / 371.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.3364, allocations: 41.64 kB / 371.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3366, allocations: 76.88 kB / 371.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3367, allocations: 0 / 371.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3367, allocations: 4 kB / 371.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3367, allocations: 0 / 371.8 MB, free: 8.207 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006635/0.3374, allocations: 470.1 kB / 372.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.3374, allocations: 12.02 kB / 372.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.3375, allocations: 34.56 kB / 372.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.3375, allocations: 15.84 kB / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.3378, allocations: 194.8 kB / 372.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3379, allocations: 7.938 kB / 372.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.3379, allocations: 15.98 kB / 372.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3381, allocations: 49.67 kB / 372.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3382, allocations: 3.984 kB / 372.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3382, allocations: 7.953 kB / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3382, allocations: 0 / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3383, allocations: 19.98 kB / 372.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.3388, allocations: 296.8 kB / 372.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.339, allocations: 58.62 kB / 372.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.3391, allocations: 4 kB / 372.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.3393, allocations: 71.33 kB / 373 MB, free: 6.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.3393, allocations: 0 / 373 MB, free: 6.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007644/0.3401, allocations: 185.1 kB / 373.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3402, allocations: 55.41 kB / 373.2 MB, free: 6.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.3405, allocations: 195.3 kB / 373.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3405, allocations: 33.69 kB / 373.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3406, allocations: 166.4 kB / 373.6 MB, free: 6.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.3407, allocations: 23.66 kB / 373.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.3407, allocations: 0 / 373.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3408, allocations: 318.8 kB / 374 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.341, allocations: 31.98 kB / 374 MB, free: 5.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3412, allocations: 54.2 kB / 374.1 MB, free: 5.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3413, allocations: 65.69 kB / 374.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3413, allocations: 3.938 kB / 374.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003873/0.3417, allocations: 155.2 kB / 374.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.3418, allocations: 33.7 kB / 374.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3418, allocations: 0 / 374.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3418, allocations: 4 kB / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.342, allocations: 16.36 kB / 374.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.342, allocations: 4.031 kB / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.3421, allocations: 8 kB / 374.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3422, allocations: 8 kB / 374.3 MB, free: 5.379 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 (11): * Single equations (assignments): 10 * 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.0001396/0.3423, allocations: 127.9 kB / 374.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.3423, allocations: 15.86 kB / 374.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.3424, allocations: 17.39 kB / 374.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3424, allocations: 7.938 kB / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3424, allocations: 0 / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3425, allocations: 0 / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.3431, allocations: 395.4 kB / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3431, allocations: 7.875 kB / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.3432, allocations: 8 kB / 374.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3432, allocations: 0 / 374.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.3432, allocations: 4 kB / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3432, allocations: 0 / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3433, allocations: 0 / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3436, allocations: 204.2 kB / 375.1 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.515e-05/0.3437, allocations: 104.9 kB / 375.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.3438, allocations: 0 / 375.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3439, allocations: 4 kB / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3439, allocations: 11.92 kB / 375.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.344, allocations: 4 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.3442, allocations: 144 kB / 375.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3442, allocations: 0 / 375.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.3445, allocations: 35.98 kB / 375.4 MB, free: 4.211 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001897/0.3464, allocations: 1.079 MB / 376.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.3469, allocations: 151.3 kB / 376.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3469, allocations: 0 / 376.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.347, allocations: 31.92 kB / 376.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3473, allocations: 31.95 kB / 376.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009663/0.3483, allocations: 0.5037 MB / 377.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3487, allocations: 0.716 MB / 377.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.3488, allocations: 27.42 kB / 377.9 MB, free: 1.633 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3488, allocations: 0 / 377.9 MB, free: 1.633 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.569/2.918, allocations: 2.397 MB / 380.3 MB, free: 15.24 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_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),der(t_new.timeScaled),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.table[4,1],t_new.table[4,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time