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.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 234.9 MB / 250.5 MB, free: 10.67 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004224, allocations: 16 kB / 314.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3334, allocations: 54.87 MB / 369.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00245/0.336, allocations: 1.353 MB / 370.6 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3377, allocations: 0.7202 MB / 371.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.3378, allocations: 0 / 371.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.3381, allocations: 27.84 kB / 371.4 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.3383, allocations: 31.91 kB / 371.4 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3385, allocations: 59.8 kB / 371.5 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3387, allocations: 63.92 kB / 371.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.3388, allocations: 11.94 kB / 371.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.3389, allocations: 31.91 kB / 371.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.339, allocations: 35.83 kB / 371.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.339, allocations: 0 / 371.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3392, allocations: 24 kB / 371.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.3392, allocations: 19.92 kB / 371.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.3393, allocations: 41.58 kB / 371.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3395, allocations: 92.84 kB / 371.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3395, allocations: 0 / 371.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3395, allocations: 0 / 371.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3395, allocations: 0 / 371.8 MB, free: 8.332 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.0005636/0.3401, allocations: 446.3 kB / 372.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3402, allocations: 11.97 kB / 372.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.3402, allocations: 34.56 kB / 372.3 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.3403, allocations: 11.81 kB / 372.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3405, allocations: 206.7 kB / 372.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3406, allocations: 8 kB / 372.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.3406, allocations: 4 kB / 372.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3408, allocations: 57.61 kB / 372.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3408, allocations: 0 / 372.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3408, allocations: 3.953 kB / 372.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3409, allocations: 0 / 372.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.341, allocations: 19.98 kB / 372.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.3415, allocations: 300.8 kB / 372.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3417, allocations: 62.67 kB / 372.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3418, allocations: 0 / 372.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.342, allocations: 79.33 kB / 373 MB, free: 6.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.342, allocations: 0 / 373 MB, free: 6.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000745/0.3428, allocations: 177.2 kB / 373.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3428, allocations: 55.41 kB / 373.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.3431, allocations: 182.1 kB / 373.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3431, allocations: 33.69 kB / 373.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.3432, allocations: 158.6 kB / 373.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.3433, allocations: 23.66 kB / 373.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.3433, allocations: 8 kB / 373.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3434, allocations: 314.8 kB / 373.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3435, allocations: 35.98 kB / 374 MB, free: 5.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3437, allocations: 46.97 kB / 374 MB, free: 5.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3439, allocations: 69.69 kB / 374.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3439, allocations: 0 / 374.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003759/0.3443, allocations: 155.2 kB / 374.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.3443, allocations: 33.7 kB / 374.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.3443, allocations: 0 / 374.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3444, allocations: 0 / 374.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.3445, allocations: 28.02 kB / 374.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3445, allocations: 0 / 374.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.3446, allocations: 4 kB / 374.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.3446, allocations: 4 kB / 374.3 MB, free: 5.551 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.0001339/0.3448, allocations: 137.7 kB / 374.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.3448, allocations: 11.86 kB / 374.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.3449, allocations: 12.72 kB / 374.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3449, allocations: 3.938 kB / 374.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3449, allocations: 8.078 kB / 374.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3449, allocations: 7.922 kB / 374.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.3456, allocations: 399.3 kB / 374.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3456, allocations: 0 / 374.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.3457, allocations: 11.98 kB / 374.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3457, allocations: 0 / 374.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3457, allocations: 4 kB / 374.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3457, allocations: 0 / 374.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3457, allocations: 32 / 374.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.3461, allocations: 208.2 kB / 375.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.3462, allocations: 101 kB / 375.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.3462, allocations: 0 / 375.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3463, allocations: 8.359 kB / 375.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.3464, allocations: 4 kB / 375.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3464, allocations: 12 kB / 375.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.3466, allocations: 135.2 kB / 375.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3466, allocations: 0 / 375.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000361/0.3469, allocations: 28 kB / 375.4 MB, free: 4.375 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.001772/0.3487, allocations: 1.087 MB / 376.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.3491, allocations: 143.4 kB / 376.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3491, allocations: 192 / 376.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.3493, allocations: 35.92 kB / 376.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3496, allocations: 23.38 kB / 376.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.3505, allocations: 499.4 kB / 377.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3508, allocations: 0.7082 MB / 377.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.3509, allocations: 31.42 kB / 377.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3509, allocations: 0 / 377.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.636/2.987, allocations: 2.343 MB / 380.2 MB, free: 15.49 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time