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.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004404, allocations: 15.98 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3842, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002596/0.3869, allocations: 1.349 MB / 370.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3886, allocations: 0.7202 MB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.3888, allocations: 3.938 kB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.3892, allocations: 67.83 kB / 371.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.3894, allocations: 55.86 kB / 371.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3897, allocations: 55.81 kB / 371.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3899, allocations: 79.84 kB / 371.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.39, allocations: 7.984 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3901, allocations: 47.83 kB / 371.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3903, allocations: 47.81 kB / 371.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3903, allocations: 4 kB / 371.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3904, allocations: 24 kB / 371.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.3905, allocations: 19.86 kB / 371.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.3906, allocations: 41.64 kB / 371.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3908, allocations: 88.84 kB / 371.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.3908, allocations: 0 / 371.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3908, allocations: 0 / 371.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3908, allocations: 0 / 371.9 MB, free: 8.086 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.0006453/0.3915, allocations: 462.2 kB / 372.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3915, allocations: 12.03 kB / 372.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.3916, allocations: 38.55 kB / 372.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3916, allocations: 7.906 kB / 372.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.3919, allocations: 203.6 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.392, allocations: 7.938 kB / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.392, allocations: 15.88 kB / 372.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3922, allocations: 57.66 kB / 372.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3922, allocations: 0 / 372.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3923, allocations: 11.95 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3923, allocations: 0 / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3924, allocations: 19.98 kB / 372.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.3929, allocations: 296.8 kB / 373 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.3932, allocations: 62.62 kB / 373 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3932, allocations: 0 / 373 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.3935, allocations: 75.33 kB / 373.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.3935, allocations: 0 / 373.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007878/0.3943, allocations: 177.1 kB / 373.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3944, allocations: 55.41 kB / 373.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3947, allocations: 206.3 kB / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3947, allocations: 33.7 kB / 373.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.3948, allocations: 166.3 kB / 373.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3949, allocations: 31.62 kB / 373.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.3949, allocations: 4 kB / 373.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.395, allocations: 314.8 kB / 374.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3951, allocations: 31.98 kB / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3953, allocations: 59.88 kB / 374.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3955, allocations: 61.7 kB / 374.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3955, allocations: 0 / 374.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003876/0.3959, allocations: 151.3 kB / 374.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.396, allocations: 39.56 kB / 374.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.396, allocations: 0 / 374.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.396, allocations: 0 / 374.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.3961, allocations: 20.03 kB / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3962, allocations: 0 / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/0.3963, allocations: 11.98 kB / 374.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.3963, allocations: 4 kB / 374.5 MB, free: 5.246 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.0001468/0.3965, allocations: 129.8 kB / 374.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.3965, allocations: 15.77 kB / 374.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.3966, allocations: 21.34 kB / 374.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3966, allocations: 0 / 374.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3966, allocations: 0 / 374.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3966, allocations: 4 kB / 374.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007053/0.3973, allocations: 395.3 kB / 375 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3974, allocations: 4 kB / 375 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.3974, allocations: 15.92 kB / 375 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3975, allocations: 96 / 375 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3975, allocations: 4.312 kB / 375 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.3975, allocations: 4 kB / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3975, allocations: 4 kB / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.3979, allocations: 208.2 kB / 375.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.398, allocations: 96.95 kB / 375.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.398, allocations: 4 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3981, allocations: 7.984 kB / 375.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.3982, allocations: 7.938 kB / 375.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.3982, allocations: 8 kB / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.3984, allocations: 151.2 kB / 375.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3984, allocations: 0 / 375.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003645/0.3988, allocations: 35.98 kB / 375.5 MB, free: 4.051 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.00192/0.4007, allocations: 1.081 MB / 376.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.4012, allocations: 151.3 kB / 376.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4013, allocations: 0 / 376.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.4014, allocations: 35.92 kB / 376.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4018, allocations: 19.97 kB / 376.8 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.4028, allocations: 0.524 MB / 377.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.4032, allocations: 0.7121 MB / 378.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.4033, allocations: 31.61 kB / 378.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4033, allocations: 0 / 378.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.44/2.844, allocations: 2.447 MB / 380.5 MB, free: 15.01 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_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.table[5,1],t_new.table[5,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time