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.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 234.9 MB / 250.4 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004237, allocations: 12 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3391, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002444/0.3416, allocations: 1.31 MB / 370.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3433, allocations: 0.7008 MB / 371.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.3434, allocations: 0 / 371.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.3438, allocations: 51.86 kB / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.344, allocations: 51.8 kB / 371.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.3442, allocations: 51.83 kB / 371.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3444, allocations: 67.84 kB / 371.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.3445, allocations: 11.86 kB / 371.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3446, allocations: 35.89 kB / 371.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3447, allocations: 35.84 kB / 371.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3448, allocations: 4 kB / 371.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.3449, allocations: 16 kB / 371.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.3449, allocations: 23.91 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.345, allocations: 37.64 kB / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3452, allocations: 71.83 kB / 371.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3452, allocations: 0 / 371.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3452, allocations: 8 kB / 371.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.413e-06/0.3453, allocations: 0 / 371.8 MB, free: 8.223 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.0005992/0.3459, allocations: 447.3 kB / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3459, allocations: 8.031 kB / 372.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.346, allocations: 30.56 kB / 372.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.346, allocations: 11.81 kB / 372.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.3463, allocations: 202.4 kB / 372.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3463, allocations: 4 kB / 372.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3464, allocations: 4 kB / 372.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3466, allocations: 53.61 kB / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3466, allocations: 0 / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3466, allocations: 3.953 kB / 372.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.3466, allocations: 4 kB / 372.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3467, allocations: 15.98 kB / 372.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.347, allocations: 181.6 kB / 372.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3472, allocations: 62.61 kB / 372.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3473, allocations: 0 / 372.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.3475, allocations: 71.33 kB / 372.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.3476, allocations: 0 / 372.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004054/0.348, allocations: 93.58 kB / 372.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.348, allocations: 55.36 kB / 373 MB, free: 6.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3483, allocations: 190 kB / 373.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3483, allocations: 33.7 kB / 373.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.3484, allocations: 166.5 kB / 373.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.3485, allocations: 7.844 kB / 373.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.3485, allocations: 3.938 kB / 373.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3486, allocations: 322.8 kB / 373.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3487, allocations: 23.98 kB / 373.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3489, allocations: 33.7 kB / 373.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.349, allocations: 57.7 kB / 373.8 MB, free: 5.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.349, allocations: 4 kB / 373.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000348/0.3494, allocations: 135.2 kB / 373.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.3495, allocations: 37.69 kB / 374 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3495, allocations: 0 / 374 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.3495, allocations: 4 kB / 374 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3497, allocations: 8 kB / 374 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3497, allocations: 3.953 kB / 374 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.752e-05/0.3498, allocations: 15.95 kB / 374 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.3498, allocations: 8 kB / 374 MB, free: 5.711 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.0001331/0.35, allocations: 133.8 kB / 374.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.35, allocations: 11.81 kB / 374.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.35, allocations: 16.3 kB / 374.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3501, allocations: 0 / 374.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3501, allocations: 0 / 374.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3501, allocations: 3.953 kB / 374.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3503, allocations: 177.6 kB / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3503, allocations: 0 / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.3503, allocations: 8 kB / 374.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3503, allocations: 0 / 374.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3504, allocations: 0 / 374.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3504, allocations: 3.984 kB / 374.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3504, allocations: 0 / 374.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.3507, allocations: 108.9 kB / 374.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.3508, allocations: 93.38 kB / 374.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.3508, allocations: 4 kB / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.3509, allocations: 11.98 kB / 374.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3509, allocations: 4 kB / 374.6 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.351, allocations: 3.938 kB / 374.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.3511, allocations: 139.2 kB / 374.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3511, allocations: 0 / 374.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.3515, allocations: 24 kB / 374.7 MB, free: 4.891 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.001612/0.3531, allocations: 0.94 MB / 375.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.3535, allocations: 131.3 kB / 375.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3535, allocations: 0 / 375.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.455e-05/0.3536, allocations: 19.98 kB / 375.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3539, allocations: 15.98 kB / 375.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008373/0.3548, allocations: 470.3 kB / 376.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3551, allocations: 0.7004 MB / 377 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.3552, allocations: 31.42 kB / 377 MB, free: 2.566 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3552, allocations: 0 / 377 MB, free: 2.566 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.589/2.944, allocations: 2.082 MB / 379.1 MB, free: 492 kB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_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